lemmy-js-client
    Preparing search index...

    Type Alias LoginToken

    Stores data related to a specific user login session.

    type LoginToken = {
        ip?: string;
        published_at: string;
        user_agent?: string;
        user_id: LocalUserId;
    }
    Index

    Properties

    ip?: string

    IP address where login was made from, allows invalidating logins by IP address. Could be stored in truncated format, or store derived information for better privacy.

    published_at: string

    Time of login

    user_agent?: string
    user_id: LocalUserId