Click or drag to resize
IAuthServiceRevokeAccessTokenAsync Method (AccessToken, CancellationToken)

Note: This is preliminary documentation provided only as a preview, and is subject to change. Please contact the author for pricing and licensing information.

Revokes an access token.

Namespace: ETradeNet.Auth
Assembly: ETradeNet.Auth (in ETradeNet.Auth.dll) Version: 1.0.5793.41595
Syntax
Task<AccessToken> RevokeAccessTokenAsync(
	AccessToken token,
	CancellationToken cancellationToken
)

Parameters

token
Type: ETradeNet.AuthAccessToken
Access token.
cancellationToken
Type: System.ThreadingCancellationToken
Cancellation token.

Return Value

Type: TaskAccessToken
Access token (asynchronous task).
Exceptions
ExceptionCondition
ETradeExceptionE*TRADE API exception.
HttpRequestExceptionNetwork error.
OperationCanceledExceptionAsynchronous task canceled (cancellationToken).
ObjectDisposedExceptionDisposed object accessed (cancellationToken).
See Also