Skip to main content

TdxCustomAuthorizationAgent.RestartAuthorization Method

Restarts the current authorization session.

Declaration

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