Class OpenIddictServerDataProtectionHandlerFilters.RequireDataProtectionDeviceCodeFormatEnabled
Represents a filter that excludes the associated handlers if OpenIddict was not configured to issue ASP.NET Core Data Protection device codes.
Inheritance
System.Object
OpenIddictServerDataProtectionHandlerFilters.RequireDataProtectionDeviceCodeFormatEnabled
Implements
IOpenIddictServerHandlerFilter<BaseContext>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenIddict.Server.DataProtection
Assembly: cs.temp.dll.dll
Syntax
public class RequireDataProtectionDeviceCodeFormatEnabled : IOpenIddictServerHandlerFilter<BaseContext>
Constructors
RequireDataProtectionDeviceCodeFormatEnabled(IOptionsMonitor<OpenIddictServerDataProtectionOptions>)
Declaration
public RequireDataProtectionDeviceCodeFormatEnabled(IOptionsMonitor<OpenIddictServerDataProtectionOptions> options)
Parameters
Type | Name | Description |
---|---|---|
IOptionsMonitor<OpenIddictServerDataProtectionOptions> | options |
Methods
IsActiveAsync(BaseContext)
Declaration
public ValueTask<bool> IsActiveAsync(BaseContext context)
Parameters
Type | Name | Description |
---|---|---|
BaseContext | context |
Returns
Type | Description |
---|---|
ValueTask<System.Boolean> |