Skip to main content

TdxMicrosoftGraphAPIOAuth2AuthorizationAgent Members

The component that allows you to authorize your application in a Microsoft online account.

Constructors

Name Description
Create(TComponent) Inherited from TComponent.

Properties

Name Description
AccessToken Returns the online account access token. Inherited from TdxOAuth2AuthorizationAgent.
AccessTokenExpiresIn Returns the account access token expiration time, in seconds. Inherited from TdxOAuth2AuthorizationAgent.
AccessTokenType Returns the account access token’s type name. Inherited from TdxOAuth2AuthorizationAgent.
AdditionalScopes Specifies the list of custom account access scopes. Inherited from TdxOAuth2AuthorizationAgent.
ClientID Specifies the OAuth 2.0 unique client identifier. Inherited from TdxOAuth2AuthorizationAgent.
ClientSecret Specifies the OAuth 2.0 client secret. Inherited from TdxOAuth2AuthorizationAgent.
ComObject Inherited from TComponent.
ComponentCount Inherited from TComponent.
ComponentIndex Inherited from TComponent.
Components Inherited from TComponent.
ComponentState Inherited from TComponent.
ComponentStyle Inherited from TComponent.
DesignInfo Inherited from TComponent.
IsAuthorized Identifies if the agent is successfully authorized in an online account. Inherited from TdxCustomAuthorizationAgent.
Name Inherited from TComponent.
Observers Inherited from TComponent.
Owner Inherited from TComponent.
RedirectUri Specifies the universal resource identifier to receive an OAuth 2.0 account access token. Inherited from TdxOAuth2AuthorizationAgent.
RefreshToken Returns the refresh token that the authorization agent uses. Inherited from TdxOAuth2AuthorizationAgent.
Tag Inherited from TComponent.
UserAgent Specifies the authorization agent’s user agent string. Inherited from TdxCustomAuthorizationAgent.
VCLComObject Inherited from TComponent.

Methods

Name Description
Assign(TPersistent) Inherited from TPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
BeginInvoke(TAsyncConstArrayFunctionEvent,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProc,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncConstArrayProcedureEvent,Untyped[],TObject) Inherited from TComponent.
BeginInvoke(TAsyncFunctionEvent,TObject) Inherited from TComponent.
BeginInvoke(TAsyncProcedureEvent,TObject) Inherited from TComponent.
BeginInvoke(TProc,TObject) Inherited from TComponent.
BeginInvoke<TResult>(TAsyncConstArrayFunc<TResult>,Untyped[],TObject) Inherited from TComponent.
BeginInvoke<TResult>(TFunc<TResult>,TObject) Inherited from TComponent.
DestroyComponents Inherited from TComponent.
Destroying Inherited from TComponent.
EndFunctionInvoke(IAsyncResult) Inherited from TComponent.
EndInvoke(IAsyncResult) Inherited from TComponent.
EndInvoke<TResult>(IAsyncResult) Inherited from TComponent.
Equals(TObject) Inherited from TObject.
ExecuteAction(TBasicAction) Inherited from TComponent.
FindComponent(String) Inherited from TComponent.
FinishAuthorization Performs all routines required to properly terminate the current authorization session. Inherited from TdxCustomAuthorizationAgent.
FreeNotification(TComponent) Inherited from TComponent.
FreeOnRelease Inherited from TComponent.
GetAuthorizationHeader Inherited from TdxCustomAuthorizationAgent.
GetChildren(TGetChildProc,TComponent) Inherited from TComponent.
GetHashCode Inherited from TObject.
GetNamePath Inherited from TPersistent.
GetOwner Inherited from TPersistent.
GetParentComponent Inherited from TComponent.
HasParent Inherited from TComponent.
InsertComponent(TComponent) Inherited from TComponent.
IsAccessTokenValid Identifies if the authorization agent has a valid account access token. Inherited from TdxOAuth2AuthorizationAgent.
IsImplementorOf(IInterface) Inherited from TComponent.
Load(string,string,string) Assigns the specified access and refresh tokens to the authorization agent. Inherited from TdxOAuth2AuthorizationAgent.
Loaded Inherited from TComponent.
Notification(TComponent,TOperation) Inherited from TComponent.
ReferenceInterface(IInterface,TOperation) Inherited from TComponent.
RefreshAccessToken Updates the account access token. Inherited from TdxOAuth2AuthorizationAgent.
RefreshScopes(Boolean) Updates the list of active online account access scopes. Inherited from TdxOAuth2AuthorizationAgent.
RegisterScopeRequestor(IdxOAuth2AuthorizationAgentScopeRequestor) Associates the specified online data provider with the authorization agent. Inherited from TdxOAuth2AuthorizationAgent.
RemoveComponent(TComponent) Inherited from TComponent.
RemoveFreeNotification(TComponent) Inherited from TComponent.
RestartAuthorization Restarts the current authorization session. Inherited from TdxCustomAuthorizationAgent.
RevokeAccessToken Renders the account access and refresh tokens invalid and terminates the current authorization session. Inherited from TdxOAuth2AuthorizationAgent.
SetParentComponent(TComponent) Inherited from TComponent.
SetSubComponent(Boolean) Inherited from TComponent.
StartAuthorization Performs all routines required to authorize the agent in an online account. Inherited from TdxCustomAuthorizationAgent.
ToString Inherited from TObject.
UnregisterScopeRequestor(IdxOAuth2AuthorizationAgentScopeRequestor) Disconnects the specified online data provider from the authorization agent. Inherited from TdxOAuth2AuthorizationAgent.
UpdateAction(TBasicAction) Inherited from TComponent.
ValidateAccessToken Validates the account access token. Inherited from TdxOAuth2AuthorizationAgent.
ValidateAuthorization Inherited from TdxCustomAuthorizationAgent.

Events

Name Description
OnError Notifies of an error occurring in the authorization agent. Inherited from TdxCustomAuthorizationAgent.
OnFinishAuthorization Notifies of a successful termination of the current authorization session. Inherited from TdxCustomAuthorizationAgent.
OnGetClientSecret Occurs on an attempt to authorize in an online account via the OAuth 2.0 authentication protocol. Inherited from TdxOAuth2AuthorizationAgent.
OnReceiveAccessToken Occurs on an attempt to receive an OAuth 2.0 account access token. Inherited from TdxOAuth2AuthorizationAgent.
OnReceiveAuthorizationCode protected Occurs on an attempt to receive an OAuth 2.0 authorization code. Inherited from TdxOAuth2AuthorizationAgent.
OnStartAuthorization Notifies of a successful start of the authorization session. Inherited from TdxCustomAuthorizationAgent.

Constants

Name Description
DefaultClientID Specifies the default OAuth 2.0 client identifier for a Microsoft Graph® API-compatible authorization agent component.
DefaultClientSecret Specifies the default OAuth 2.0 client secret for a Microsoft Graph® API-compatible authorization agent component.
See Also