TdxCustomAuthorizationAgent.OnStartAuthorization Event
Notifies of a successful start of the authorization session.
Declaration
property OnStartAuthorization: TNotifyEvent read; write;
Remarks
This event fires every time a StartAuthorization or RestartAuthorization procedure call successfully authenticates and authorizes the agent component in an online account. The Sender parameter provides access to the authorization agent component that has established a connection. To access the component’s type-specific members within an event handler, cast Sender to the corresponding class (TdxMicrosoftGraphAPIOAuth2AuthorizationAgent, for instance).
Note
If an error occurs during an attempt to authenticate or authorize the agent component in an online account, the OnError event is raised instead of OnStartAuthorization.
See Also