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 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 |
---|---|---|
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. |
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 |
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. |