Show / Hide Table of Contents

Class OAuth2Response

Contains the parameters passed in a successful authorization response.

Inheritance
System.Object
OAuth2Response
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public sealed class OAuth2Response

Properties

| Improve this Doc View Source

AccessToken

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.

| Improve this Doc View Source

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>
| Improve this Doc View Source

RefreshToken

Gets the refresh token, if offline or online access type was selected.

Declaration
public string RefreshToken { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ScopeList

Gets list of scopes this oauth2 request granted the user.

Declaration
public string[] ScopeList { get; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

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.

| Improve this Doc View Source

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 bearer if set.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
In This Article
  • Properties
    • AccessToken
    • ExpiresAt
    • RefreshToken
    • ScopeList
    • State
    • TokenType
    • Uid
Back to top Generated by DocFX