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.OnStartAuthorization Event

In This Article

Notifies of a successful start of the authorization session.

#Declaration

Delphi
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