TdxOAuth2AuthorizationAgent.RefreshAccessToken Method
In This Article
Updates the account access token.
#Declaration
Delphi
function RefreshAccessToken: Boolean;
#Returns
Type |
---|
Boolean |
#Remarks
The authorization agent automatically updates the access token once it expires. You can call this function to attempt to receive a new access token on demand. The RefreshAccessToken function returns True if it successfully updates the access token; otherwise, False.
An attempt to update the access token results in an authorization error if the OAuth 2.0 server has revoked the refresh token.
Note
Calling the Refresh
See Also