iya-sts
    Preparing search index...

    The OAuth 2.0 and OpenID Connect model: the request validators built from it and the holding of what the endpoints answer.

    Index
    • Every error code the model declares, with the document defining it.

      Returns Json[]

      [{ code, cite }]

    • Whether a JSON value is one of the types a member may take.

      Parameters

      • value: unknown

        the value

      • types: string[]

        from the model: string, integer, number, boolean, array, object or any

      Returns boolean

      true when it is

    • Whether one member of an array is of the JSON type the model gives the array's members.

      Parameters

      • id: string

        the member set's id

      • name: string

        the array member

      • value: unknown

        one of its values

      Returns boolean

      true when it is

    • One named member of a set.

      Parameters

      • id: string

        the member set's id

      • name: string

        the member

      Returns Json

      the member, as the model states it

    • Whether a value is of a JSON type the model gives a member: what a refusal that tests a member's type asks, so the type is the model's and the refusal, with its words, stays the caller's.

      Parameters

      • id: string

        the member set's id

      • name: string

        the member

      • value: unknown

        the value sent

      Returns boolean

      true when it is

    • One member set: a discovery document, an answer or a claim set.

      Parameters

      • id: string

        the set's id in the model

      Returns Json

      { id, cite, members, list }

    • The zod type of one parameter, as the hand-written schema wrote it.

      Parameters

      • param: Json

        one parameter of oauth.json

      Returns any

      the zod type

    • One endpoint's request validator, built once.

      Parameters

      • id: string

        the endpoint's id in the model, such as token

      Returns any

      the zod object

    • A member's JSON types as words a refusal can say: a string, an array or an object.

      Parameters

      • types: string[]

        from the model

      Returns string

      the words

    • What an answer carries that its member set does not allow: a member a closed set does not name, a named member of a type the set does not allow, and a required member missing. Empty when the answer is the model's.

      Parameters

      • id: string

        the member set's id

      • value: Json

        the answer, or a claim set

      Returns string[]

      one sentence per problem

    • Whether an error code is one the model declares.

      Parameters

      • code: string

        the error value

      Returns boolean

      true when the model does not declare it