Skip to main content

TdxCustomAuthorizationAgent.StartAuthorization Method

Performs all routines required to authorize the agent in an online account.

Declaration

procedure StartAuthorization;

Remarks

Call this procedure to attempt to authorize the agent in an online account with the current settings. Successful authorization results in connecting the associated DevExpress data provider to the account. If the authorization attempt is unsuccessful, the StartAuthorization procedure raises the OnError event.

The RestartAuthorization procedure calls StartAuthorization internally to attempt to begin a new authentication session.

Note

The StartAuthorization procedure raises the OnStartAuthorization event only if the agent is successfully authorized in an online account as a result. If the agent is already authorized in the account, calling this procedure has no effect.

See Also