Dropbox .NET SDK
Show / Hide Table of Contents

Class AuthUserRoutes

The routes for the Dropbox.Api.Auth namespace

Inheritance
object
AuthUserRoutes
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Auth.Routes
Assembly: Dropbox.Api.dll
Syntax
public class AuthUserRoutes

Methods

View Source

BeginTokenRevoke(AsyncCallback, object)

Begins an asynchronous send to the token revoke route.

Declaration
public IAsyncResult BeginTokenRevoke(AsyncCallback callback, object state = null)
Parameters
Type Name Description
AsyncCallback callback

The method to be called when the asynchronous send is completed.

object state

A user provided object that distinguished this send from other send requests.

Returns
Type Description
IAsyncResult

An object that represents the asynchronous send request.

View Source

EndTokenRevoke(IAsyncResult)

Waits for the pending asynchronous send to the token revoke route to complete

Declaration
public void EndTokenRevoke(IAsyncResult asyncResult)
Parameters
Type Name Description
IAsyncResult asyncResult

The reference to the pending asynchronous send request

View Source

TokenRevokeAsync()

Disables the access token used to authenticate the call. If there is a corresponding refresh token for the access token, this disables that refresh token, as well as any other access tokens for that refresh token.

Declaration
public Task TokenRevokeAsync()
Returns
Type Description
Task

The task that represents the asynchronous send operation.

  • View Source
In this article
Back to top Dropbox .NET SDK