You are here

refreshAccessToken

- (void)refreshAccessToken:(AlfrescoOAuthData *)oauthData completionBlock:(AlfrescoOAuthCompletionBlock)completionBlock; - Refreshes the access token represented by the given OAuthData object. A new OAuthData object containing the new access token is returned. If the access token cannot be refreshed an exception is thrown.

Parameters

(AlfrescoOAuthData *)oauthData
OAuth data.
(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



        

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.