Class AuthUserRoutes
The routes for the Dropbox.Api.Auth namespace
Inherited Members
Namespace: Dropbox.Api.Auth.Routes
Assembly: Dropbox.Api.dll
Syntax
public class AuthUserRoutes
Methods
View SourceBeginTokenRevoke(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. |
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 |
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. |