Back to Devexpress

TdxCustomAuthorizationAgent.OnFinishAuthorization Event

vcl-dxauthorizationagents-dot-tdxcustomauthorizationagent-6db39817.md

latest1.4 KB
Original Source

TdxCustomAuthorizationAgent.OnFinishAuthorization Event

Notifies of a successful termination of the current authorization session.

Declaration

delphi
property OnFinishAuthorization: TNotifyEvent read; write;

Remarks

This event fires every time a FinishAuthorization or RestartAuthorization procedure call successfully disconnects the authorization agent and all associated data providers from an online account. The Sender parameter provides access to the authorization agent component that raised the OnFinishAuthorization event. To access the component’s type-specific members within an event handler, cast Sender to the corresponding class (for instance, TdxGoogleAPIOAuth2AuthorizationAgent).

See Also

TdxCustomAuthorizationAgent.IsAuthorized

TdxCustomAuthorizationAgent.OnStartAuthorization

TdxCustomAuthorizationAgent Class

TdxCustomAuthorizationAgent Members

dxAuthorizationAgents Unit