Class AccessTokenSnapshot
An immutable snapshot of a cached access token and its expiration.
Inherited Members
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public sealed class AccessTokenSnapshot
Remarks
The token is sensitive and may be expired or revoked. A snapshot does not validate the token and does not change when the client refreshes its cached credentials.
Properties
View SourceAccessToken
Gets the sensitive access token. Do not log or disclose this value.
Declaration
public string AccessToken { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExpiresAt
Gets the absolute expiration in UTC, or null if unknown. Unknown expiration does not imply an unlimited lifetime.
Declaration
public DateTimeOffset? ExpiresAt { get; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |