SFSDKOAuth2 Class Reference

Inherits from NSObject
Conforms to SFSDKOAuthProtocol
SFSDKOAuthSessionManaging
Declared in SFSDKOAuth2.h

Other Methods

+ requestForRevokeRefreshToken:reason:

+ (NSMutableURLRequest *)requestForRevokeRefreshToken:(SFOAuthCredentials *)credentials reason:(SFLogoutReason)reason

Extension Methods

+ parseQueryString:

+ (NSDictionary *)parseQueryString:(NSString *)query

+ parseQueryString:decodeParams:

+ (NSDictionary *)parseQueryString:(NSString *)query decodeParams:(BOOL)decodeParams

+ errorWithType:description:

+ (NSError *)errorWithType:(NSString *)type description:(NSString *)description

+ errorWithType:description:underlyingError:

+ (NSError *)errorWithType:(NSString *)type description:(NSString *)description underlyingError:(NSError *_Nullable)underlyingError

+ timestampStringToDate:

+ (NSDate *)timestampStringToDate:(NSString *)timestamp

– handleTokenEndpointResponse:request:data:urlResponse:

- (void)handleTokenEndpointResponse:(void ( ^ ) ( SFSDKOAuthTokenEndpointResponse *))completionBlock request:(SFSDKOAuthTokenEndpointRequest *)endpointReq data:(NSData *)data urlResponse:(NSURLResponse *)response