Click or drag to resize
TokenRevocationClientExtensionsRevokeAccessTokenAsync Method
RevokeAccessTokenAsync

Namespace:  Intuit.Ipp.OAuth2PlatformClient
Assembly:  Intuit.Ipp.OAuth2PlatformClient (in Intuit.Ipp.OAuth2PlatformClient.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
C#
public static Task<TokenRevocationResponse> RevokeAccessTokenAsync(
	this TokenRevocationClient client,
	string token,
	CancellationToken cancellationToken = null
)

Parameters

client
Type: Intuit.Ipp.OAuth2PlatformClientTokenRevocationClient
client
token
Type: SystemString
token
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
cancellationToken

Return Value

Type: TaskTokenRevocationResponse
Task of TokenRevocationResponse

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TokenRevocationClient. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also