SFSDKOAuthProtocol Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SFSDKOAuth2.h |
– accessTokenForApprovalCode:completion:
required method
- (void)accessTokenForApprovalCode:(SFSDKOAuthTokenEndpointRequest *)endpointReq completion:(void ( ^ ) ( SFSDKOAuthTokenEndpointResponse *))completionBlock
– accessTokenForRefresh:completion:
required method
- (void)accessTokenForRefresh:(SFSDKOAuthTokenEndpointRequest *)endpointReq completion:(void ( ^ ) ( SFSDKOAuthTokenEndpointResponse *))completionBlock
– openIDTokenForRefresh:completion:
required method
- (void)openIDTokenForRefresh:(SFSDKOAuthTokenEndpointRequest *)endpointReq completion:(void ( ^ ) ( NSString *))completionBlock
– revokeRefreshToken:reason:
- (void)revokeRefreshToken:(SFOAuthCredentials *)credentials reason:(SFLogoutReason)reason