Share via


PasskeyHandler<TUser> Class

Definition

The default passkey handler.

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

Type Parameters

TUser
Inheritance
PasskeyHandler<TUser>
Implements

Constructors

PasskeyHandler<TUser>(UserManager<TUser>, IOptions<IdentityPasskeyOptions>)

Constructs a new PasskeyHandler<TUser> instance.

Methods

MakeCreationOptionsAsync(PasskeyUserEntity, HttpContext)

Generates passkey creation options for the specified user entity and HTTP context.

MakeRequestOptionsAsync(TUser, HttpContext)

Generates passkey request options for the specified user and HTTP context.

PerformAssertionAsync(PasskeyAssertionContext)

Performs passkey assertion using the provided PasskeyAssertionContext.

PerformAttestationAsync(PasskeyAttestationContext)

Performs passkey attestation using the provided PasskeyAttestationContext.

Applies to