Skip to main content

TdxOAuth2AuthorizationAgentUserInfo.AuthorizationAgent Property

Provides access to the parent authorization agent component.

Declaration

property AuthorizationAgent: TdxOAuth2AuthorizationAgent read;

Property Value

Type Description
TdxOAuth2AuthorizationAgent

The parent authorization agent component.

Cast the property value to the corresponding terminal TdxOAuth2AuthorizationAgent class descendant to access all public API members.

Tip

You can call the AuthorizationAgent.ClassType function to identify the actual authorization agent type.

Remarks

Call the UpdateInfo procedure to attempt to connect to an online account through the configured parent authorization component. If the attempt is successful, the provider loads user information from the connected online account.

Tip

To obtain information on possible connection errors, handle the AuthorizationAgent.OnError event.

See Also