Cotal TypeScript packages
    Preparing search index...

    Interface ValidateUserTokenOpts

    interface ValidateUserTokenOpts {
        audience: string;
        issuer: string;
        key: JWTVerifyGetKey | CryptoKey;
    }
    Index
    audience: string

    Exact expected audience — the space name.

    issuer: string

    Exact expected issuer (the IdP bridge).

    key: JWTVerifyGetKey | CryptoKey

    The pinned verification key path: a createRemoteJWKSet(new URL(<pinned origin>)) resolver or a local public key. The token itself NEVER influences where the key comes from.