Skip To Content ArcGIS for Developers Sign In Dashboard

OAuthClientInfo QML Type

The client authentication information obtained from registering an application with a Portal or ArcGIS Online. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Signals

Detailed Description

Applications can generate tokens that can access ArcGIS Online content and services using OAuth client information configured for OAuthMode::App.

This information can also allow ArcGIS Online users to authorize your application to access ArcGIS Online content and services on their behalf by configuring with OAuthMode::User. Usage will be billed to that user and you can access that user's private content.

Your Client Secret should never be accessible to users or other developers. Treat it like a password.

See also JsonSerializable.

Property Documentation

clientId : string

The client ID associated with the application.


clientSecret : string

The client secret associated with the application.


json : jsobject

Client authentication information obtained from registering an application with a Portal or ArcGIS Online.


oAuthMode : Enums.OAuthMode

The Enums.OAuthMode used for obtaining an OAuth access token.

See also Enums.OAuthMode.


redirectUri : string

The URI where the access token or authorization code will be delivered upon successful authorization.


refreshTokenExpirationInterval : int

The requested expiration interval (in minutes) for the refresh token generated by the OAuth request.

Note: For a permanent refresh token (if the portal supports it), use -1.

This QML property was introduced in Esri.ArcGISRuntime 100.6.


unknownJson : jsobject

Returns the unknown JSON from the source JSON.

See also JsonSerializable.


unsupportedJson : jsobject

Returns the unsupported data from the source JSON.

See also JsonSerializable.


Signal Documentation

clientIdChanged()

Emitted when the clientId property changes.


clientSecretChanged()

Emitted when the clientSecret property changes.


oAuthModeChanged()

Emitted when the oAuthMode property changes.


redirectUriChanged()

Emitted when the redirectUri property changes.


refreshTokenExpirationIntervalChanged()

Emitted when the refreshTokenExpirationInterval property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.6.



Feedback on this topic?