Expand description
WebAuthn (Passkey) authentication handlers
Structs§
- Credential
Info - Credential info for listing (without sensitive data)
- Login
Challenge Res - Login challenge response Note: options is serialized as JSON Value to extract just the publicKey contents
- Login
Req - Login request body
- RegChallenge
Res - Registration challenge response Note: options is serialized as JSON Value to extract just the publicKey contents which is what @simplewebauthn/browser expects
- RegReq
- Registration request body
Functions§
- delete_
reg - DELETE /api/auth/wa/reg/{key_id} - Delete a credential
- get_
login_ challenge - GET /api/auth/wa/login/challenge - Get login challenge
- get_
reg_ challenge - GET /api/auth/wa/reg/challenge - Get registration challenge
- list_
reg - GET /api/auth/wa/reg - List WebAuthn credentials
- post_
login - POST /api/auth/wa/login - Authenticate with WebAuthn
- post_
reg - POST /api/auth/wa/reg - Register a new credential