Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
MPOAuthAPI Class Reference

#import <MPOAuthAPI.h>

Inheritance diagram for MPOAuthAPI:
<MPOAuthAPIInternalClient>

Public Member Functions

(id) - initWithCredentials:andBaseURL:
(id) - initWithCredentials:authenticationURL:andBaseURL:
(id) - initWithCredentials:authenticationURL:andBaseURL:autoStart:
(void) - authenticate
(BOOL) - isAuthenticated
(void) - performMethod:withTarget:andAction:
(void) - performMethod:atURL:withParameters:withTarget:andAction:
(void) - performPOSTMethod:atURL:withParameters:withTarget:andAction:
(void) - performURLRequest:withTarget:andAction:
(NSData *) - dataForMethod:
(NSData *) - dataForMethod:withParameters:
(NSData *) - dataForURL:andMethod:withParameters:
(id) - credentialNamed:
(void) - setCredential:withName:
(void) - removeCredentialNamed:
(void) - discardCredentials

Properties

id< MPOAuthCredentialStore,
MPOAuthParameterFactory
credentials
NSURL * baseURL
NSURL * authenticationURL
MPOAuthAuthenticationMethodauthenticationMethod
MPOAuthSignatureScheme signatureScheme
MPOAuthAuthenticationState authenticationState

Member Function Documentation

- (void) authenticate
- (id) credentialNamed: (NSString *)  inCredentialName
- (NSData *) dataForMethod: (NSString *)  inMethod
- (NSData *) dataForMethod: (NSString *)  inMethod
withParameters: (NSArray *)  inParameters 
- (NSData *) dataForURL: (NSURL *)  inURL
andMethod: (NSString *)  inMethod
withParameters: (NSArray *)  inParameters 
- (void) discardCredentials
- (id) initWithCredentials: (NSDictionary *)  inCredentials
andBaseURL: (NSURL *)  inURL 
- (id) initWithCredentials: (NSDictionary *)  inCredentials
authenticationURL: (NSURL *)  inAuthURL
andBaseURL: (NSURL *)  inBaseURL 
- (id) initWithCredentials: (NSDictionary *)  inCredentials
authenticationURL: (NSURL *)  inAuthURL
andBaseURL: (NSURL *)  inBaseURL
autoStart: (BOOL)  aFlag 
- (BOOL) isAuthenticated
- (void) performMethod: (NSString *)  inMethod
atURL: (NSURL *)  inURL
withParameters: (NSArray *)  inParameters
withTarget: (id)  inTarget
andAction: (SEL)  inAction 
- (void) performMethod: (NSString *)  inMethod
withTarget: (id)  inTarget
andAction: (SEL)  inAction 
- (void) performPOSTMethod: (NSString *)  inMethod
atURL: (NSURL *)  inURL
withParameters: (NSArray *)  inParameters
withTarget: (id)  inTarget
andAction: (SEL)  inAction 
- (void) performURLRequest: (NSURLRequest *)  inRequest
withTarget: (id)  inTarget
andAction: (SEL)  inAction 
- (void) removeCredentialNamed: (NSString *)  inName
- (void) setCredential: (id)  inCredential
withName: (NSString *)  inName 

Property Documentation

- (MPOAuthAuthenticationMethod*) authenticationMethod
readwritenonatomicretain
- (MPOAuthAuthenticationState) authenticationState
readnonatomicassign
- (NSURL*) authenticationURL
readnonatomicretain
- (NSURL*) baseURL
readnonatomicretain
- (id<MPOAuthCredentialStore, MPOAuthParameterFactory>) credentials
readnonatomicretain
- (MPOAuthSignatureScheme) signatureScheme
readwritenonatomicassign

The documentation for this class was generated from the following file: