iya-sts
    Preparing search index...

    Draws /admin/applications and its drill-down from the answer of GET /admin-api/applications: every application in the registry, filtered and paged, the two ways to add one, and the settings.

    A static utility class; it holds no state and takes no dependencies.

    Index
    OBSERVED_SHOWN: 10
    • Draws the XACML mapping of each access type an application declares: its rows, its notForPolicy list and the forms that change them.

      Parameters

      • ctx: any

        the console context (t, write)

      • row: any

        the application's view, with its page

      • carryBack: any

        the hidden field that returns to the list's view

      Returns string

      the markup, or '' when it declares no readable type

    • Parameters

      • row: any
      • carryBack: any
      • t: any

      Returns string

    • Draws the read-only Across trusts panel of an application's Kerberos sub-tab.

      Parameters

      • ctx: any

        the render context

      • row: any

        the application's view, page.krb5Across in it

      Returns string

      the section's HTML, or '' when the answer carries none

    • Draws the Overview's activity rows (#708): authentications, sessions, people and the last person, as the sightings counted them.

      Parameters

      • row: any

        the application's view

      • t: any

        the page's translator (#539)

      Returns string

      the four table rows as HTML

    • Draws an application's directory-attribute selections for some of its claim sets, or its credential claims, with a preview for one person.

      Parameters

      • ctx: any

        the render context (kit.context())

      • row: any

        the application's view, with its page

      • carryBack: any

        the hidden back field every form carries

      • setIds: any

        the claim sets to draw, or ['credential']

      • anchor: any

        the sub-tab's fragment the forms return to

      Returns string

      the markup, or '' when there is nothing to draw

    • Draws an application's access token, ID Token and UserInfo selections as one table, a column per set, under one Save (#1144).

      Parameters

      • ctx: any

        the render context (kit.context())

      • row: any

        the application's view, with its page

      • carryBack: any

        the hidden back field every form carries

      • setIds: any

        the claim sets, one column each

      • anchor: any

        the sub-tab's fragment the forms return to

      Returns string

      the markup, or '' when there is nothing to draw

    • Draws an application's own claim sets beside the realm's, with the controls that set and remove its own rows.

      Parameters

      • ctx: any

        the render context (kit.context())

      • row: any

        the application's view

      • carryBack: any

        the hidden back field

      • setIds: any

        which claim sets to draw

      • anchor: any

        the section's id, which a form comes back to

      • title: any

        the section's heading

      Returns string

      the markup

    • Draws an application's CORS origins (appCorsOrigin), one row each with a Remove button that posts the value as stored, and a form to add one.

      Parameters

      • row: any

        the application's registry view

      • carryBack: any

        the hidden back field every form carries

      • t: any

        the page's translator (#539)

      Returns string

      the section as HTML

    • Draws an application's Credentials section: the client secret with its regenerate and rotate forms, the assertion profiles' key pairs with their issue, upload and take-off controls, and mutual TLS.

      The key-pair and mutual TLS parts are drawn only for an application declared for OAuth 2.0 or OpenID Connect.

      Parameters

      • ctx: any

        the render context (kit.context())

      • json: any

        the application's answer, with its page

      • carryBack: any

        the hidden back field every form carries

      Returns string

      the section as HTML

    • Draws an application's WS-Trust decryption key pair subsection: the certificate it holds, and the issue, upload and remove forms.

      Parameters

      • state: any

        credentials.wstrustDecryption, from WsDecryptionKey.state()

      • id: any

        the application's identifier

      • carryBack: any

        the hidden back field every form carries

      • write: any

        whether the reader holds Admin Write

      • t: any

        the page's translator (#539)

      Returns string

      the subsection as HTML, or '' for an application that is not a WS-Trust relying party and holds no key pair

    • Draws the DID block on an application's Decentralized Identifier configuration tab: its DID, its document, and the key-pair form.

      Parameters

      • ctx: any

        the render context (kit.context())

      • row: any

        the application's view

      • carryBack: any

        the hidden back field the page's forms carry

      • Optionalwhere: any

        config (the DID tab) or credentials (the Credentials tab), which the Generate form returns to

      Returns string

      the HTML

    • Draws an application's certificate enrollment: the rules in force, its certificates with a Revoke each, its EAB keys and SCEP challenges, the three generation forms and its host names.

      Parameters

      • ctx: any

        the render context (kit.context())

      • row: any

        the application's view

      • carryBack: any

        the hidden back field

      • where: any

        credentials or config, which tab it is drawn on

      Returns string

      the markup

    • Draws the remote PEPs part of the Fine-grained authorization tab.

      Parameters

      • ctx: any

        the console context (t)

      • peps: any

        page.fga.peps, or null when it could not be read

      • regrant: any

        the re-grant form, or '' where it is not offered

      Returns string

      the part's HTML

    • Draws an application's Fine-grained authorization tab.

      Parameters

      • ctx: any

        the console context (t, write)

      • row: any

        the application's view, with its page

      • carryBack: any

        the hidden field that returns to the list's view

      Returns string

      the tab's HTML

    • Parameters

      • ctx: any
      • row: any
      • carryBack: any
      • Optionalstate: any

      Returns string

    • Draws an application's recorded and declared kinds together as one cell.

      Parameters

      • row: any

        the application's registry view

      Returns any

      the cell's HTML

    • The launch URL card for one protocol, or '' when the application cannot be launched in it.

      Parameters

      • row: any

        the application, with page.launchUrls

      • protocol: any

        saml2, saml11, wsfed or oidc

      • t: any

        the translator

      Returns string

      the HTML

    • Draws the Import / export tab: export to LDIF, with or without credential material, and import from LDIF.

      Parameters

      • row: any

        the application

      • carryBack: any

        the hidden fields that return to this page

      • writable: any

        whether the reader holds Admin Write

      • t: any

        the page's translator (#539)

      Returns string

      the tab's HTML

    • Draws an application's RFC 8705 mutual TLS subsection: the certificates issued to it with a revoke form each, the issue form, and the subject parameters for a certificate from another authority.

      Parameters

      • state: any

        the mutual TLS model from applicationMtlsState()

      • id: any

        the application's identifier

      • carryBack: any

        the hidden back field every form carries

      • t: any

        the page's translator (#539)

      Returns string

      the subsection as HTML

    • Draws the return addresses a development-mode request put on the entry, each with Confirm and Discard; product mode refuses them until confirmed.

      Parameters

      • ctx: any

        the render context (kit.context())

      • json: any

        the application's answer, with its page

      • carryBack: any

        the hidden back field every form carries

      Returns string

      the section as HTML

    • Draws the OAuth sub-tab's observed lines: grant and response types, redirect URIs, scopes and authorization servers.

      Parameters

      • row: any

        the application's view, page.config.observed in it

      • t: any

        the page's translator (#539)

      Returns string

      the block as HTML, or '' where the answer carries none

    • Draws a SAML family panel's observed lines. SAML 2.0 adds the last AuthnRequest and the certificate it carried; SAML 1.1 says the two profiles share the lists.

      Parameters

      • row: any

        the application's view, page.config.observed in it

      • t: any

        the page's translator (#539)

      • family: any

        saml2 or saml11

      Returns string

      the block as HTML, or '' where the answer carries none

    • Draws the read-only Passkey policy card of an application's Every protocol sub-tab.

      Parameters

      • row: any

        the application's view, page.passkeyPolicies in it

      • t: any

        the page's translator (#539)

      Returns string

      the card as HTML, or '' where the answer carries no member

    • The routes of this realm's remote PEPs that front the application (#1760), read only.

      Parameters

      • t: any

        the translator

      • rows: any

        { pep, route, path, mechanisms }

      Returns string

      the section, or '' when none does

    • Draws an application's delegated permissions, both halves: those it holds, with Revoke, and a form to grant it another; and — for this application only — its base URI, the permissions it exposes, with Remove, and the grants of them to other applications, with Revoke and a form to grant one.

      The forms post to /admin/delegation-settings.

      Parameters

      • ctx: any

        the render context (kit.context())

      • row: any

        the application's registry view

      • carryBack: any

        the hidden back field every form carries

      Returns string

      the section as HTML

    • Draws the Protocols cell: the declared families by name with what has been seen under them, or only what was seen when nothing was declared.

      Parameters

      • row: any

        the application's registry view

      • protocols: any

        the register's protocol families (PROTOCOLS)

      • t: any

        the page's translator (#539)

      Returns string

      the cell's HTML

    • Draws the Registered cell: yes and by whom (an administrator, RFC 7591, an LDAP add or startup), or no for an identifier that merely turned up.

      Parameters

      • row: any

        the application's registry view

      • t: any

        the page's translator (#539)

      Returns string

      the cell's HTML

    • Draws the roles an application requires (appRequiredRole): one row each with what it resolves to and a Remove, and a form to add one.

      The forms post to /admin/applications.

      Parameters

      • row: any

        the application's registry view

      • state: any

        adminViews.applicationRolesState()

      • carryBack: any

        the hidden back field every form carries

      • t: any

        the page's translator (#539)

      Returns string

      the section as HTML

    • Parameters

      • row: any
      • state: any
      • carryBack: any
      • t: any

      Returns string

    • Draws the caveat the applications pages carry.

      Parameters

      • t: any

        the page's translator (#539)

      Returns string

      the caveat as HTML

    • Draws the Scope claims tab: the claims each of a resource server's permissions carries on the access tokens addressed to it.

      Parameters

      • ctx: any

        the console context (write)

      • row: any

        the application's view, with its page

      • carryBack: any

        the hidden fields that return to this page

      Returns string

      the markup

    • Draws the Shared Signals section of an application's page: its streams, Pause and Enable for each, and the settings in force for them.

      Parameters

      • json: any

        the application's answer, with its page

      • carryBack: any

        the hidden field carrying the list's place

      • writable: any

        whether the reader holds Admin Write, which is what draws the Pause and Enable buttons

      • t: any

        the page's translator (#539)

      Returns string

      the section as HTML, or '' for an application that has no Shared Signals family declared and owns no stream

    • Draws an application's message-signing subsection: the certificates issued to it with a revoke form each, and the issue form.

      Parameters

      • state: any

        the model from applicationSigningState()

      • id: any

        the application's identifier

      • carryBack: any

        the hidden back field every form carries

      • t: any

        the page's translator (#539)

      Returns string

      the subsection as HTML

    • Draws an application's RFC 7591 software statements: the issuers it vouches for, the statement this realm issued with the issue form, and how a statement let it register.

      Parameters

      • ctx: any

        the render context (kit.context())

      • json: any

        the application's answer, with its page

      • carryBack: any

        the hidden back field every form carries

      Returns string

      the section as HTML

    • Draws an application's Stored certificates subsection: what its entry stores in userCertificate, a Remove form each, and the form that stores one.

      Parameters

      • state: any

        credentials.stored, from applicationStoredCertificatesOf()

      • id: any

        the application's identifier

      • carryBack: any

        the hidden back field every form carries

      • write: any

        whether the reader holds Admin Write

      • t: any

        the page's translator (#539)

      Returns string

      the subsection as HTML

    • Draws the token lifetimes in force for an application, with the realm page's warnings.

      Parameters

      • json: any

        the application's answer, with its page

      • t: any

        the page's translator (#539)

      Returns string

      the markup

    • Draws the Authentication attempts tab from the drill-down's answer.

      Parameters

      • ctx: any

        the render context

      • json: any

        the ?application= answer

      Returns string

      the section as HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns string

      the body as HTML

    • Draws a certificate summary: subject, issuer, serial, expiry and key type, or none or unreadable.

      Parameters

      • summary: any

        the certificate summary, or nothing

      • Optionalt: any

        the page's translator (#539); none means the default, English in node

      Returns string

      the cell's HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns any

      the body as HTML

    • Draws the options of an edit form's attribute select from the registry's editable rows, leaving out family-scoped attributes the entry is not declared for.

      Parameters

      • attributes: any

        the attributes offered, from the answer's page.editable

      • selected: any

        the attribute to mark selected

      • t: any

        the page's translator (#539)

      Returns any

      the option elements as HTML

    • Returns the first value of one attribute of an application view, whether the registry holds it as an array or a string.

      Parameters

      • row: any

        the application's registry view

      • attribute: any

        the attribute name

      Returns string

      the value trimmed, or an empty string

    • Whether the application is the console, the portal or reports.

      Parameters

      • identifier: any

        the application's identifier

      Returns boolean

      whether it keeps a hosted session bound

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns any

      the body as HTML

    • Picks the fields the new-application form draws in a view.

      Parameters

      • json: any

        the form's answer, whose fields are every field, typed

      • view: any

        simple or advanced

      • omit: any

        attributes to leave out

      Returns any

      the rows

    • Draws the notes at the foot of New application.

      Parameters

      • store: any

        the persistence store's persistsDirectory and mode

      • t: any

        the page's translator (#539)

      Returns string

      the notes as HTML

    • Draws the first client secret's lifetime beside Generate Secret on the create form (#394): the add-secret form's field and words, posted as lifetimeDays beside the grid's boxes, so it applies to a generated secret and a typed one alike.

      Parameters

      • defaultDays: any

        oauth2.clientSecretLifetimeDays, 0 for never

      • value: any

        what a redraw carries back, or empty

      • t: any

        the page's translator (#539)

      Returns string

      the field as HTML

    • Draws a block of observed lines, or '' where the answer carries none.

      Parameters

      • row: any

        the application's view, page.config.observed in it

      • t: any

        the page's translator (#539)

      • id: any

        the block's id

      • tip: any

        the block's explanation, as text

      • names: any

        the lists, in order

      • Optionalextra: any

        optional; further lines, as HTML

      Returns string

      the block as HTML

    • Draws one observed list as a line: its name, then its values.

      Parameters

      • name: any

        the attribute

      • values: any

        { value, declared } each

      • t: any

        the page's translator (#539)

      Returns string

      the line as HTML

    • The note a selection section carries when its preview person is not in the realm's directory, or '' when they are.

      Parameters

      • preview: any

        the selections' preview (user, entryFound)

      • t: any

        the page's translator (#539)

      Returns string

      the note, or ''

    • Draws one protocol family as a checkbox row of the new-application form, with the kind it would be recorded as.

      Parameters

      • row: any

        the choice's row from FAMILY_CHOICES: a family, or a combined choice standing for several

      • checked: any

        true to draw the box ticked

      • t: any

        the page's translator (#539)

      Returns string

      the table row as HTML

    • Draws the protocol families an application is declared for beside the ones recorded from its kinds, listing only families that are either.

      Parameters

      • row: any

        the application's registry view

      • t: any

        the page's translator (#539)

      Returns string

      the section as HTML

    • Draws the banners above the metadata tabs: how the authorization servers compare with this realm's, section 3.3, and every reading warning.

      Parameters

      • loaded: any

        the loaded document and what it was read as

      • t: any

        the page's translator (#539)

      Returns string

      the banners as HTML

    • Draws the form that loads OAuth 2.0 Protected Resource Metadata (RFC 9728) to configure the new application from.

      Parameters

      • state: any

        the page state, for the last input and any load error

      • facts: any

        the answer's resourceMetadataImport: the well-known path and what this mode accepts and dials

      • t: any

        the page's translator (#539)

      Returns string

      the section as HTML

    • Draws the loaded metadata as three tabs (the raw JSON, its members and the editable fields), without a script.

      Parameters

      • loaded: any

        the loaded document and what it was read as

      • draft: any

        the posted form, or nothing

      • tab: any

        the tab to open; the raw JSON when empty

      • t: any

        the page's translator (#539)

      Returns string

      the pane as HTML

    • Draws one JSON value readably in a table cell.

      Parameters

      • value: any

        the value

      • t: any

        the page's translator (#539)

      Returns string

      the cell's HTML

    • Returns what the imported metadata's editable fields hold: the plan's defaults, or what was typed when a refused create is redrawn.

      Parameters

      • loaded: any

        the loaded document and its plan

      • draft: any

        the posted form, or nothing

      Returns {
          audience: any;
          baseUri: any;
          detailsTypes: any;
          identifier: any;
          members: {};
          name: any;
          permissions: any;
          url: any;
      }

      the field values, with the document's members under members

    • Draws the button that reveals one credential of an application.

      Parameters

      • application: any

        the application's identifier

      • secret: any

        a client secret's id, or registration-access-token

      • what: any

        what it is, for the button

      • carryBack: any

        the hidden back field the form carries, as HTML

      • t: any

        the page's translator (#539)

      Returns string

      the form as HTML

    • Draws the banner that shows a credential just revealed.

      Parameters

      • revealed: any

        { secret, value } from the reveal's answer, or empty

      • t: any

        the page's translator (#539)

      Returns string

      the banner as HTML, or '' when nothing was revealed

    • Draws the note under an application whose client secret is expired or about to expire.

      Parameters

      • expiry: any

        { state, at }, from secretExpiryOf()

      • t: any

        the page's translator (#539)

      Returns string

      the note as HTML, or ''

    • Draws the line of token response types an application has enabled.

      Parameters

      • row: any

        the application's view, page.config.observed in it

      • t: any

        the page's translator (#539)

      Returns string

      the line as HTML, or ''

    • Folds a primary name into the advanced view when it is the identifier.

      Parameters

      • rows: any

        the fields a sub-tab draws

      • values: any

        the entry's values by attribute

      • identifier: any

        the application's registry identifier

      Returns { folded: boolean; rows: any }

      the rows to draw, and whether any was folded