Dropbox .NET SDK
Show / Hide Table of Contents

Class AccessTokenSnapshot

An immutable snapshot of a cached access token and its expiration.

Inheritance
object
AccessTokenSnapshot
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

AccessToken

Gets the sensitive access token. Do not log or disclose this value.

Declaration
public string AccessToken { get; }
Property Value
Type Description
string
View Source

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?
  • View Source
In this article
Back to top Dropbox .NET SDK