iya-sts
    Preparing search index...

    Variable validateModel

    validateModel: (model: any) => any = ...

    Type Declaration

      • (model: any): any
      • Validates a token model (RFC 9767 section 2.1) before a format mints it and after a format reconstructs it.

        The bearer flag and cnf must agree: a bound token has no bearer flag and a bearer token no cnf.

        Parameters

        • model: any

          the token model

        Returns any

        { ok: true, model } with every optional member present as null, or a refusal