Share via


DefaultPasskeyHandler<TUser> Class

Definition

The default passkey handler.

public class DefaultPasskeyHandler<TUser> : Microsoft.AspNetCore.Identity.IPasskeyHandler<TUser> where TUser : class
type DefaultPasskeyHandler<'User (requires 'User : null)> = class
    interface IPasskeyHandler<'User (requires 'User : null)>
Public Class DefaultPasskeyHandler(Of TUser)
Implements IPasskeyHandler(Of TUser)

Type Parameters

TUser
Inheritance
DefaultPasskeyHandler<TUser>
Implements

Constructors

DefaultPasskeyHandler<TUser>(IOptions<IdentityOptions>)

Constructs a new DefaultPasskeyHandler<TUser> instance.

Methods

IsValidOriginAsync(PasskeyOriginInfo, HttpContext)

Determines whether the specified origin is valid for passkey operations.

PerformAssertionAsync(PasskeyAssertionContext<TUser>)

Performs passkey assertion using the provided credential JSON, original options JSON, and optional user.

PerformAssertionCoreAsync(PasskeyAssertionContext<TUser>)

Performs passkey assertion using the provided credential JSON, original options JSON, and optional user.

PerformAttestationAsync(PasskeyAttestationContext<TUser>)

Performs passkey attestation using the provided credential JSON and original options JSON.

PerformAttestationCoreAsync(PasskeyAttestationContext<TUser>)

Performs passkey attestation using the provided credential JSON and original options JSON.

VerifyAttestationStatementAsync(ReadOnlyMemory<Byte>, ReadOnlyMemory<Byte>, HttpContext)

Verifies the attestation statement of a passkey.

Applies to