PregeneratedTokenCredential class final
A credential used to access token-secured ArcGIS resources using a token that is generated outside of your application.
- Inheritance
-
- Object
- ArcGISCredential
- PregeneratedTokenCredential
Constructors
- PregeneratedTokenCredential({required Uri uri, required TokenInfo tokenInfo, required String referer})
-
Creates an instance of a PregeneratedTokenCredential.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- referer → String
-
The referer used to generate a token.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverContext → Uri
-
The URL by which the root of a server is accessed.
no setterinherited
- tokenInfo → TokenInfo
-
Gets the TokenInfo used to create the credential.
no setter
- username → String
-
The user associated with the credential.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited