@squidcloud/client
    Preparing search index...

    Interface AuthWithBearer

    The payload of a JWT token when Bearer authentication is used.

    interface AuthWithBearer {
        attributes: Record<string, any>;
        expiration: number;
        jwt?: string;
        type: "Bearer";
        userId: string;
    }
    Index

    Properties

    attributes: Record<string, any>

    Additional attributes associated with the token.

    expiration: number

    The expiration timestamp of the token, in seconds.

    jwt?: string

    The raw JWT token string, if available.

    type: "Bearer"

    Specifies the Bearer authentication type.

    userId: string

    The unique identifier of the authenticated user.