@grandlinex/kernel
    Preparing search index...

    Type Alias ValidationRequest

    Represents a request for validating a JWT token with optional constraints.

    The shape of the JWT claims, extending JwtExtend.

    This type includes:

    • token: the JWT token to validate.
    • requestType: an array of request type identifiers that the token must satisfy.
    • required (optional): indicates whether the token is mandatory for the request; if omitted, the token is considered required.
    type ValidationRequest = {
        requestType: string[];
        required?: boolean;
        token: JwtToken;
    }
    Index
    requestType: string[]
    required?: boolean
    token: JwtToken