Class OAuth2Response
Contains the parameters passed in a successful authorization response.
Inheritance
Inherited Members
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public sealed class OAuth2Response
  Properties
| Improve this Doc View SourceAccessToken
Gets the access token, a token which can be used to make calls to the Dropbox API.
Declaration
public string AccessToken { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | A token which can be used to make calls to the Dropbox API.  | 
      
Remarks
Pass this as the oauth2AccessToken argument when creating an instance
of DropboxClient.
ExpiresAt
Gets the time of expiration of the access token, if the token will expire. This is only filled if offline or online access type was selected.
Declaration
public DateTime? ExpiresAt { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.DateTime> | 
RefreshToken
Gets the refresh token, if offline or online access type was selected.
Declaration
public string RefreshToken { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
ScopeList
Gets list of scopes this oauth2 request granted the user.
Declaration
public string[] ScopeList { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String[] | 
State
Gets the state content, if any, originally passed to the authorize URI.
Declaration
public string State { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The state content, if any, originally passed to the authorize URI.  | 
      
TokenType
Gets the type of the token, which will always be bearer if set.
Declaration
public string TokenType { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | This will always be   | 
      
Uid
Gets the Dropbox user ID of the authorized user.
Declaration
public string Uid { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The Dropbox user ID of the authorized user.  |