Method RevokeTokenAsync
RevokeTokenAsync(CancellationToken)
Sends a network request to revoke OAuth refresh and access tokens.
Declaration
public async Task RevokeTokenAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A System.Threading.Tasks.Task that has no return value. |
Remarks
This call will fail if the tokens have not been successfully revoked.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.6 - 200.8 |
| .NET | 200.6 - 200.8 |
| .NET Windows | 200.6 - 200.8 |
| .NET Android | 200.6 - 200.8 |
| .NET iOS | 200.6 - 200.8 |
| .NET Framework | 200.6 - 200.8 |
| UWP | 200.6 - 200.8 |