* You'll need a database to store a few things: * * 1. Users * * You'll need to be able to associate registration and authentications challenges, and * credentials to a specific user. See `LoggedInUser` below for an idea of the minimum amount of * info you'll need to track for a specific user
| 32 | * generate an authentication response. |
| 33 | */ |
| 34 | interface LoggedInUser { |
| 35 | id: string; |
| 36 | username: string; |
| 37 | credentials: WebAuthnCredential[]; |
| 38 | } |
| 39 | |
| 40 | declare module 'express-session' { |
| 41 | interface SessionData { |
nothing calls this directly
no outgoing calls
no test coverage detected