Show / Hide Table of Contents

Enum OAuthResponseType

Used by GetAuthorizeUri(OAuthResponseType, String, String, String, Boolean, Boolean, String, Boolean, TokenAccessType, String[], IncludeGrantedScopes, String) to specify which OAuth 2.0 flow to use.

Namespace: Dropbox.Api
Assembly: Dropbox.Api.dll
Syntax
public enum OAuthResponseType

Fields

Name Description
Code

This represents the OAuth 2.0 code flow. The server will return a code via the redirectUri callback which should be converted into a bearer token using the ProcessCodeFlowAsync(String, String, String, String, HttpClient, String) method. This is the recommended flow for apps that are running on a server.

Token

This represents the OAuth 2.0 token or implicit grant flow. The server will return the bearer token via the redirectUri callback, rather than requiring your app to make a second call to a server. This is useful for pure client-side apps, such as mobile apps or JavaScript-based apps.

  • Improve this Doc
  • View Source
In This Article
  • Fields
Back to top Generated by DocFX