GoogleClient RevokeToken Method Nemiro.OAuth
Sends a request to revoke the access token.

Namespace: Nemiro.OAuth.Clients
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax

public override RequestResult RevokeToken(
	AccessToken accessToken = null
)

Parameters

accessToken (Optional)
Type: Nemiro.OAuth AccessToken
May contain an access token, which should be revoked.

Return Value

Type: RequestResult
Exceptions

ExceptionCondition
NotSupportedException

Provider does not support revoking the access token, or the method is not implemented.

Use the property SupportRevokeToken, to check the possibility of calling this method.

Remarks

If accessToken parameter is not specified, it will use the current access token from the same property of the current class instance.

See Also