Function isValidatedIssuerMetadata

  • Wraps validateOIDCIssuerWellKnown in a type assertion that asserts expected properties are present (Typescript assertions cannot be arrow functions)

    Parameters

    • metadata: Partial<OidcMetadata>

      issuer openid-configuration response

    Returns asserts metadata is ValidatedIssuerMetadata

    Throws

    when metadata validation fails

Generated using TypeDoc