2010-12-13 17:07:50 +01:00
|
|
|
/* MAPIStoreAuthenticator.h - this file is part of SOGo
|
2010-10-01 20:54:30 +02:00
|
|
|
*
|
2010-10-08 20:38:12 +02:00
|
|
|
* Copyright (C) 2010 Inverse inc.
|
2010-10-01 20:54:30 +02:00
|
|
|
*
|
|
|
|
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
|
|
|
*
|
|
|
|
* This file is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
2010-10-18 14:57:31 +02:00
|
|
|
* the Free Software Foundation; either version 3, or (at your option)
|
2010-10-01 20:54:30 +02:00
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This file is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; see the file COPYING. If not, write to
|
|
|
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MAPISTOREAUTHENTICATOR_H
|
|
|
|
#define MAPISTOREAUTHENTICATOR_H
|
|
|
|
|
|
|
|
#import <Foundation/NSObject.h>
|
|
|
|
|
|
|
|
@class NSString;
|
|
|
|
|
|
|
|
@class WOContext;
|
|
|
|
|
|
|
|
@interface MAPIStoreAuthenticator : NSObject
|
|
|
|
{
|
2010-11-22 22:22:27 +01:00
|
|
|
NSString *username;
|
|
|
|
NSString *password;
|
2010-10-01 20:54:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
- (void) setUsername: (NSString *) newUsername;
|
|
|
|
- (NSString *) username;
|
|
|
|
|
|
|
|
- (void) setPassword: (NSString *) newPassword;
|
|
|
|
|
|
|
|
- (NSString *) imapPasswordInContext: (WOContext *) context
|
|
|
|
forServer: (NSString *) imapServer
|
|
|
|
forceRenew: (BOOL) renew;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* MAPISTOREAUTHENTICATOR_H */
|