BBGMultiAccountManager
 All Classes Files Functions Variables Enumerator Properties Defines
Public Member Functions | Static Public Member Functions | Properties
GTMOAuth2Authentication Class Reference

#import <GTMOAuth2Authentication.h>

Inheritance diagram for GTMOAuth2Authentication:
<GTMFetcherAuthorizationProtocol>

List of all members.

Public Member Functions

(void) - reset
(void) - authorizeRequest:delegate:didFinishSelector:
(BOOL) - authorizeRequest:
(void) - waitForCompletionWithTimeout:
(BOOL) - isAuthorizingRequest:
(BOOL) - isAuthorizedRequest:
(void) - stopAuthorization
(NSString *) - userAgent
(void) - setKeysForResponseString:
(void) - setKeysForResponseDictionary:
(NSString *) - persistenceResponseString
(void) - setKeysForPersistenceResponseString:
(GTMHTTPFetcher *) - beginTokenFetchWithDelegate:didFinishSelector:
(void) - notifyFetchIsRunning:fetcher:type:
(void) - setProperty:forKey:
(id) - propertyForKey:

Static Public Member Functions

(id) + authenticationWithServiceProvider:tokenURL:redirectURI:clientID:clientSecret:
(NSString *) + encodedOAuthValueForString:
(NSString *) + encodedQueryParametersForDictionary:
(NSDictionary *) + dictionaryWithResponseString:
(NSString *) + scopeWithStrings:

Properties

NSString * clientID
NSString * clientSecret
NSString * redirectURI
NSString * scope
NSString * tokenType
NSString * assertion
NSDictionary * additionalTokenRequestParameters
NSMutableDictionary * parameters
NSString * accessToken
NSString * refreshToken
NSNumber * expiresIn
NSString * code
NSString * errorString
NSURL * tokenURL
NSDate * expirationDate
NSString * serviceProvider
NSString * userEmail
NSString * userEmailIsVerified
BOOL canAuthorize
BOOL shouldAuthorizeAllRequests
id userData
NSDictionary * properties
id< GTMHTTPFetcherServiceProtocolfetcherService
Class parserClass
GTMHTTPFetcherrefreshFetcher

Member Function Documentation

+ (id) authenticationWithServiceProvider: (NSString *)  serviceProvider
tokenURL: (NSURL *)  tokenURL
redirectURI: (NSString *)  redirectURI
clientID: (NSString *)  clientID
clientSecret: (NSString *)  clientSecret 
- (BOOL) authorizeRequest: (NSMutableURLRequest *)  request
- (void) authorizeRequest: (NSMutableURLRequest *)  request
delegate: (id)  delegate
didFinishSelector: (SEL)  sel 

Reimplemented from <GTMFetcherAuthorizationProtocol>.

- (GTMHTTPFetcher *) beginTokenFetchWithDelegate: (id)  delegate
didFinishSelector: (SEL)  finishedSel 
+ (NSDictionary *) dictionaryWithResponseString: (NSString *)  responseStr
+ (NSString *) encodedOAuthValueForString: (NSString *)  str
+ (NSString *) encodedQueryParametersForDictionary: (NSDictionary *)  dict
- (BOOL) isAuthorizedRequest: (NSURLRequest *)  request

Reimplemented from <GTMFetcherAuthorizationProtocol>.

- (BOOL) isAuthorizingRequest: (NSURLRequest *)  request

Reimplemented from <GTMFetcherAuthorizationProtocol>.

- (void) notifyFetchIsRunning: (BOOL)  isStarting
fetcher: (GTMHTTPFetcher *)  fetcher
type: (NSString *)  fetchType 
- (NSString *) persistenceResponseString
- (id) propertyForKey: (NSString *)  key
- (void) reset
+ (NSString *) scopeWithStrings: (NSString *)  firsStr
,   NS_REQUIRES_NIL_TERMINATION 
- (void) setKeysForPersistenceResponseString: (NSString *)  str
- (void) setKeysForResponseDictionary: (NSDictionary *)  dict
- (void) setKeysForResponseString: (NSString *)  str
- (void) setProperty: (id)  obj
forKey: (NSString *)  key 

Reimplemented from <GTMFetcherAuthorizationProtocol>.

- (NSString *) userAgent
- (void) waitForCompletionWithTimeout: (NSTimeInterval)  timeoutInSeconds

Property Documentation

- (NSString *) accessToken [read, write, retain]
- (NSDictionary*) additionalTokenRequestParameters [read, write, retain]
- (NSString *) assertion [read, write, retain]
- (BOOL) canAuthorize [read, assign]
- (NSString*) clientID [read, write, copy]
- (NSString*) clientSecret [read, write, copy]
- (NSString *) code [read, write, retain]
- (NSString *) errorString [read, write, retain]
- (NSDate*) expirationDate [read, write, copy]
- (NSNumber *) expiresIn [read, write, retain]
- (id<GTMHTTPFetcherServiceProtocol>) fetcherService [read, write, assign]

Reimplemented from <GTMFetcherAuthorizationProtocol>.

- (NSMutableDictionary*) parameters [read, write, retain]
- (Class) parserClass [read, write, assign]
- (NSDictionary*) properties [read, write, retain]
- (NSString*) redirectURI [read, write, copy]
- (GTMHTTPFetcher*) refreshFetcher [read, write, retain]
- (NSString *) refreshToken [read, write, retain]
- (NSString *) scope [read, write, retain]
- (NSString *) serviceProvider [read, write, copy]
- (BOOL) shouldAuthorizeAllRequests [read, write, assign]
- (NSString *) tokenType [read, write, retain]
- (NSURL*) tokenURL [read, write, copy]
- (id) userData [read, write, retain]
- (NSString *) userEmail [read, write, retain]
- (NSString *) userEmailIsVerified [read, write, retain]

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