#import <GTMOAuth2Authentication.h>
+ (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 | |
- (void) stopAuthorization |
Reimplemented from <GTMFetcherAuthorizationProtocol>.
- (NSString *) userAgent |
- (void) waitForCompletionWithTimeout: | (NSTimeInterval) | timeoutInSeconds |
- (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] |