@faable/auth-js - v3.1.0
    Preparing search index...

    Type Alias UserSession

    One active session of the signed-in user (a browser, a CLI login…).

    type UserSession = {
        createdAt: string;
        device_name?: string;
        expires_at: string;
        id: string;
        ip?: string;
        last_seen_at: string;
        status: string;
        updatedAt: string;
        user_agent?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    createdAt: string
    device_name?: string

    A name the device gave itself, e.g. the CLI's machine name.

    expires_at: string
    id: string

    The session id (session_xxx).

    ip?: string
    last_seen_at: string
    status: string
    updatedAt: string
    user_agent?: string