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

TdxCustomAuthorizationAgent.RestartAuthorization Method

In This Article

Restarts the current authorization session.

#Declaration

Delphi
procedure RestartAuthorization;

#Remarks

You can call this procedure to terminate the current authorization session and attempt to authenticate and authorize the agent component in the same online account. RestartAuthorization calls the FinishAuthorization and StartAuthorization procedures internally, thus firing both the OnFinishAuthorization and OnStartAuthorization events if no error occurs.

Note

Calling the RestartAuthorization procedure has no effect if the IsAuthorized property returns False.

See Also