DOIP Client Library - JavaScript Version
    Preparing search index...

    Interface AuthTokenResponse

    Interface representing an authentication response that includes a token.

    interface AuthTokenResponse {
        active: boolean;
        userId?: string;
        username?: string;
        exp?: number;
        typesPermittedToCreate?: string[];
        groupIds?: string[];
        token?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    active: boolean

    Whether authentication for this user is active

    userId?: string

    ID of the authenticated user

    username?: string

    Username of the authenticated user

    exp?: number

    Expiration of the authentication in seconds since the epoch

    typesPermittedToCreate?: string[]

    Types this user can create

    groupIds?: string[]

    IDs for groups this user is a member of

    token?: string

    Authentication token