MCPcopy Index your code
hub / github.com/MasterKale/SimpleWebAuthn / LoggedInUser

Interface LoggedInUser

example/example-server.d.ts:34–38  ·  view source on GitHub ↗

* 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

Source from the content-addressed store, hash-verified

32 * generate an authentication response.
33 */
34interface LoggedInUser {
35 id: string;
36 username: string;
37 credentials: WebAuthnCredential[];
38}
39
40declare module 'express-session' {
41 interface SessionData {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected