PasskeyHandler<TUser> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |