00001 // 00002 // MoodleAuthenticator.h 00003 // WIRemoting 00004 // 00005 // Created by Felix Huang on 09-12-03. 00006 // Copyright 2009 Webinit Consulting. All rights reserved. 00007 // 00008 00009 #import <Foundation/Foundation.h> 00010 #import "WIRemoting.h" 00011 00012 @interface MoodleAuthenticator : NSObject<RMAuthenticator,RMCallProtocol> { 00013 NSString *username; 00014 NSString *password; 00015 RMResultDelegateWrapper *wrapper; 00016 NSInteger client; 00017 NSString *sessionKey; 00018 } 00019 00020 - (id)initWithUsername:(NSString*)username 00021 password:(NSString *)password; 00022 00023 - (void) clear; 00024 00025 @end