Class TokenInfo
The access token information that can be used by clients in exchange for user credentials. The access token represents the authenticated user for a certain amount of time to access API functionality.
Implements
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class TokenInfo : IEquatable<TokenInfo>
Constructors
| Name | Description |
|---|---|
| TokenInfo(string, DateTimeOffset, bool) | Initializes a new instance of the TokenInfo class. |
Properties
| Name | Description |
|---|---|
| AccessToken | Gets the access token string. |
| ExpirationDate | Gets the token expiration date. |
| IsSslRequired | Gets a value indicating whether the token must be passed over HTTPS. |
Methods
| Name | Description |
|---|---|
| Equals(TokenInfo?) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Determines whether the specified object is equal to the current object. |
| GetHashCode() | Serves as the default hash function. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.5 - 200.8 |
| .NET | 200.5 - 300.0 |
| .NET Windows | 200.5 - 300.0 |
| .NET Android | 200.5 - 300.0 |
| .NET iOS | 200.5 - 300.0 |
| .NET Framework | 200.5 - 200.8 |
| UWP | 200.5 - 200.8 |