Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxOAuth2AuthorizationAgent.Load(string,string,string) Method

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

#Declaration

Delphi
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