Setu-TS
    Preparing search index...

    Interface PendingSignIn

    A sign-in that is awaiting its second factor.

    Stored in the session under a reserved key (NOT the signed-in key), so a route guarded by requireAuth() stays closed during the pending state. The principal is held here — not in the signed-in record — so a password alone does not produce a signed-in session for a user who has enrolled.

    0.8.0

    interface PendingSignIn {
        at: number;
        methods: readonly AuthMethod[];
        principal: IPrincipal;
    }
    Index
    at: number

    When the pending record was created, from runtime.now(), in milliseconds.

    methods: readonly AuthMethod[]

    The methods that produced the principal so far.

    principal: IPrincipal

    The identity that has passed the first factor.