TdxOAuth2AuthorizationAgent.Load(string,string,string) Method
In This Article
Assigns the specified access and refresh tokens to the authorization agent.
#Declaration
#Parameters
Name | Type |
---|---|
AAccess |
string |
ARefresh |
string |
AAccess |
string |
#Remarks
Call this procedure to update the AccessToken, RefreshToken, and AccessTokenType properties with the strings passed as the AAccessToken, ARefreshToken, and AAccessTokenType parameters, respectively. The Load procedure is useful if you need to assign the previously stored valid access and refresh tokens to a new TdxOAuth2AuthorizationAgent class descendant instance.
Note
Calling the Load procedure automatically terminates the current authorization session.
See Also