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
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<OpenIddictValidationEvents.BaseContext>
Constructors
RequireDataProtectionDeviceCodeFormatEnabled(IOptionsMonitor<OpenIddictServerDataProtectionOptions>)
Declaration
public RequireDataProtectionDeviceCodeFormatEnabled(IOptionsMonitor<OpenIddictServerDataProtectionOptions> options)
Parameters
Type | Name | Description |
---|---|---|
IOptionsMonitor<OpenIddictServerDataProtectionOptions> | options |
Methods
IsActiveAsync(OpenIddictValidationEvents.BaseContext)
Declaration
public ValueTask<bool> IsActiveAsync(OpenIddictValidationEvents.BaseContext context)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictValidationEvents.BaseContext | context |
Returns
Type | Description |
---|---|
System.Threading.Tasks.ValueTask<System.Boolean> |