You are here

retrieveOAuthDataForAuthorizationCode

- (void)retrieveOAuthDataForAuthorizationCode:(NSString *)authorizationCode completionBlock:(AlfrescoOAuthCompletionBlock)completionBlock; - Retrieves an OAuthData object for the given authorization code.

Parameters

(NSString *)authorizationCode
OAuth authorization code.
(AlfrescoOAuthCompletionBlock)completionBlock
The completion block called on completion of the operation. The completion block has the format typedef void (^AlfrescoOAuthCompletionBlock)(AlfrescoOAuthData * oauthData, NSError *error);.

Returns

(void)

Example