Class OpenIdDictTokenManagerExtensions
Contains extension methods for the management and manipulation of OpenIdDict tokens in the Umbraco CMS environment.
Inheritance
object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public static class OpenIdDictTokenManagerExtensions
Methods
View SourceRevokeUmbracoUserTokens(IOpenIddictTokenManager, Guid)
Revokes all OpenID Connect tokens associated with the specified Umbraco user.
Declaration
public static Task RevokeUmbracoUserTokens(this IOpenIddictTokenManager openIddictTokenManager, Guid userKey)
Parameters
| Type | Name | Description |
|---|---|---|
| IOpenIddictTokenManager | openIddictTokenManager | The OpenID Connect token manager. |
| Guid | userKey | The unique identifier of the Umbraco user whose tokens will be revoked. |
Returns
| Type | Description |
|---|---|
| Task | A task that represents the asynchronous revoke operation. |