zibri
    Preparing search index...

    Type Alias JwtAccessTokenPayload<Role, T>

    The payload of a jwt access token.

    type JwtAccessTokenPayload<Role extends string, T extends BaseUser<Role>> = {
        email: T["email"];
        id: T["id"];
        roles: T["roles"];
    }

    Type Parameters

    Index

    Properties

    Properties

    email: T["email"]

    The email of the user.

    id: T["id"]

    The id of the user.

    roles: T["roles"]

    The roles of the user.