Crypto Server
    Preparing search index...

    Interface JwtPolicy

    The claims checks applied to every JWT, from the environment.

    interface JwtPolicy {
        maxAgeSeconds: number;
        issuer: string | undefined;
        audience: string | undefined;
    }
    Index
    maxAgeSeconds: number

    Maximum token lifetime in seconds (JWT_MAX_AGE): a token must be younger than this (by iat) and must not declare a longer lifetime (exp - iat).

    issuer: string | undefined

    Required iss claim (JWT_ISSUER), or undefined to skip the check.

    audience: string | undefined

    Required aud value (JWT_AUDIENCE), or undefined to skip the check.