Back to Devexpress

TdxCustomAuthorizationAgent.RestartAuthorization Method

vcl-dxauthorizationagents-dot-tdxcustomauthorizationagent-2611f94e.md

latest1.3 KB
Original Source

TdxCustomAuthorizationAgent.RestartAuthorization Method

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

TdxCustomAuthorizationAgent Class

TdxCustomAuthorizationAgent Members

dxAuthorizationAgents Unit