iya-sts
    Preparing search index...

    The closed vocabularies of an outbound SCIM client, and the rule its two addresses are held to.

    A static utility class; it holds no state and requires nothing but the logger.

    Index
    AUTH_METHODS: readonly string[] = ...

    How a request to the service provider is authenticated: HTTP Basic, an OAuth 2.0 bearer token, or only the TLS client certificate.

    DEPROVISION: readonly string[] = ...

    What a deprovisioned person becomes there.

    GROUP_MODES: readonly string[] = ...

    Which groups are pushed.

    OAUTH_CLIENT_AUTH: readonly string[] = ...

    How the client authenticates at the token endpoint (RFC 6749 section 2.3.1).

    SCOPE_MODES: readonly string[] = ...

    Who is pushed: every person, the members of chosen groups, or the people an LDAP filter matches.

    TLS_SOURCES: readonly string[] = ...

    Where the TLS client certificate comes from.

    • Builds an RFC 7644 section 3.4.2.2 equality filter, the value as a JSON string literal so a quote or a backslash in it cannot end the literal.

      Parameters

      • attribute: string

        the attribute path

      • value: unknown

        the value

      Returns string

      the filter

    • Reads a body as RFC 7644 section 3.12's Error response: status is a string in the specification's own examples and a number in some service providers' answers, so either is read; scimType is kept only when it is a short token, so a service provider cannot put a page of text (or a request's own values) into a dead letter through it. detail is NOT kept: it is free text, often quoting the value that was refused, and a dead letter is shown on a console page and written to the log.

      Parameters

      • json: unknown

        the parsed body, or null

      Returns { scimType: string; status: number }

      { status, scimType } — status 0 and scimType '' when absent

    • The attributes RFC 7643 makes REQUIRED on a resource this client writes — a User's userName (section 4.1.1) and a Group's displayName (section 4.2) — that a body lacks. RFC 7644 section 3.5.1: a PUT "MUST" carry every required attribute, and a create without one is refused by any service provider; the client says so itself rather than sending it.

      Parameters

      • type: string

        User or Group

      • body: unknown

        the resource about to be sent

      Returns string[]

      the names missing, or an empty list

    • Whether an HTTP status is worth another attempt: 429 and the transient server errors (#552's list: network failures, 429 with its Retry-After, 500, 502, 503 and 504). 501 Not Implemented is a fact about the service provider, and 4xx a fact about the request; neither changes on a second try. 408 IS NOT RETRIED (2026-10-13): it was until the audit against #552's checklist, which names the five above and no other; a service provider that times a request out answers it again the same way, and this client's own timeout is a network failure, retried as one.

      Parameters

      • status: number

        the status

      Returns boolean

      true for 429, 500, 502, 503 and 504

    • Says what is wrong with a base URI or a token endpoint, or '' when nothing is.

      Parameters

      • value: unknown

        the URL

      • what: string

        what it is, for the sentence

      • httpAllowed: boolean

        true where development admits plain http

      • base: boolean

        true for the SCIM base URI, which carries no query

      Returns string

      the sentence, or ''