Skip to main content

TdxOAuth2AuthorizationAgent.Load(string,string,string) Method

Assigns the specified access and refresh tokens to the authorization agent.

Declaration

procedure Load(AAccessToken: string; ARefreshToken: string; AAccessTokenType: string);

Parameters

Name Type
AAccessToken string
ARefreshToken string
AAccessTokenType 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