Namespace: GameEngine.Security
Class: GameEngine/Security/ArcGISOAuthAuthenticationConfiguration
Since: 1.0.0
Inheritance: ArcGISAuthenticationConfiguration->ArcGISOAuthAuthenticationConfiguration
Summary
A class that contains authentication information for OAuth 2.
Constructors
ArcGISOAuthAuthenticationConfiguration(string, string, string, ArcGISOAuthAuthorizationCredential)
Creates an authentication information object for OAuth 2 including credentials.
Since 1.0.0
Arguments
| Name | Type | Summary |
|---|---|---|
client | string | The client identifier. |
client | string | The client secret. Mandatory for App Login. |
redirect | string | The redirect URI. Mandatory for Named User Login. |
authentication | ArcGISOAuthAuthorizationCredential | The authentication credential. |
Properties
| Property | Type | Nullable | Readonly | Summary |
|---|---|---|---|---|
AuthorizationCredential | ArcGISOAuthAuthorizationCredential | Yes | Yes | The current authorization credential. |
ClientId | string | No | Yes | The current client id. |
ClientSecret | string | No | Yes | The current client secret. |
RedirectURI | string | No | Yes | The current redirect uri. |
AuthorizationCredential
ArcGISOAuthAuthorizationCredential AuthorizationCredential
The current authorization credential.
Events
| Name | Type | Summary |
|---|---|---|
Authorization | ArcGISOAuthAuthorizationCredentialIssuedEvent | Sets the callback invoked when a new OAuth 2 authorization credential is issued. |