Created by Docfx
  • Home
  • API Documentation
  • API Documentation
Show / Hide Table of Contents

Class AuthUserRoutes

The routes for the Dropbox.Api.Auth namespace

Inheritance
System.Object
AuthUserRoutes
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.Auth.Routes
Assembly: Dropbox.Api.dll
Syntax
public class AuthUserRoutes

Methods

| Improve this Doc 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
System.AsyncCallback callback

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

System.Object state

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

Returns
Type Description
System.IAsyncResult

An object that represents the asynchronous send request.

| Improve this Doc 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
System.IAsyncResult asyncResult

The reference to the pending asynchronous send request

| Improve this Doc 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
System.Threading.Tasks.Task

The task that represents the asynchronous send operation.

  • Improve this Doc
  • View Source
In This Article
  • Methods
    • BeginTokenRevoke(AsyncCallback, Object)
    • EndTokenRevoke(IAsyncResult)
    • TokenRevokeAsync()
Back to top Generated by DocFX