TdxOAuth2AuthorizationAgent.UnregisterScopeRequestor(IdxOAuth2AuthorizationAgentScopeRequestor) Method
Disconnects the specified online data provider from the authorization agent.
Declaration
procedure UnregisterScopeRequestor(const AIntf: IdxOAuth2AuthorizationAgentScopeRequestor);
Parameters
Name | Type |
---|---|
AIntf | IdxOAuth2AuthorizationAgentScopeRequestor |
Remarks
The RegisterScopeRequestor and UnregisterScopeRequestor procedures manage the list of associated data providers that require specific account access permissions to work with online resources on behalf of an end-user.
You can call the UnregisterScopeRequestor procedure to remove the custom OAuth 2.0 online data provider passed as the AIntf parameter from the authorization agent’s list of account access scope requestors. A data provider must implement the IdxOAuth2AuthorizationAgentScopeRequestor interface. All DevExpress online data providers call this procedure internally to disconnect themselves from their authorization agents. Refer to the corresponding data provider class descriptions for additional information.
Note
UnregisterScopeRequestor calls the RefreshScopes procedure internally to update the list of active access permissions according to the changed list of associated data providers on the next attempt to authorize the agent in an online account.