Practic Passkey - v1.0.0
    Preparing search index...

    Type Alias PasskeyClientOptions

    type PasskeyClientOptions = {
        app?: string;
        endpoint?: string;
        tokenStore?: {
            get: () => string | undefined;
            set: (token: string | undefined) => void;
        };
    }
    Index
    app?: string

    App the actions are for; default unless given.

    endpoint?: string

    Where the passkey endpoint answers; /api/passkey unless given, and another origin when its CORS allows it.

    tokenStore?: {
        get: () => string | undefined;
        set: (token: string | undefined) => void;
    }

    Where to keep the session token, for a client whose requests carry no cookie: a page on another site, or a native app. Sign-ins then ask for the token and every request sends it as a bearer token; the cookie is used otherwise.