iya-sts
    Preparing search index...

    Identity-provider-initiated sign-in links: which protocols an application can be launched in, the one URL per protocol, where the door sends the browser, and the launch record OpenID Connect's half needs.

    A static utility class; it holds no state.

    Index
    • Whether identity-provider-initiated sign-in is on for an application in a protocol: its entry's attribute, else the realm's setting.

      Parameters

      • identifier: string

        the application's registry identifier

      • protocol: string

        the protocol id

      Returns boolean

      true when it is on

    • The protocol endpoint an identity-provider-initiated sign-in starts at, or '' for OpenID Connect, whose start is at the client.

      Parameters

      • base: string

        this realm's base URL

      • view: any

        an applications.get() view

      • protocol: string

        the protocol id

      • target: string

        where to land afterwards, or ''

      Returns string

      the URL

    • Whether a session carries a launch of a client no older than the window.

      Parameters

      • session: any

        the sign-on session, or null

      • clientId: string

        the client

      • nowS: number

        now, in seconds since the epoch

      • windowS: number

        how old a launch may be

      Returns boolean

      true when there is one

    • The one launch URL for an application in a protocol.

      Parameters

      • base: string

        this realm's base URL (helpers.baseUrlOf())

      • identifier: string

        the application's registry identifier

      • protocol: string

        the protocol id, or '' for the door to choose

      Returns string

      the URL

    • Every protocol an application can be launched in, with its URL, whether it is on, what it is missing and the protocol's own endpoint: what the console's sub-tabs and the management API's view draw.

      Parameters

      • view: any

        an applications.get() view

      • base: string

        this realm's base URL

      Returns any

      { <protocol>: { protocol, label, url, enabled, missing, endpoint } }

    • The attributes a launch in a protocol is missing, or an empty list.

      Parameters

      • view: any

        an applications.get() view

      • protocol: string

        the protocol id

      Returns string[]

      the attribute names

    • Records on a session that a client was launched now.

      Parameters

      • session: any

        the sign-on session

      • clientId: string

        the client launched

      • nowS: number

        now, in seconds since the epoch

      Returns void

    • One protocol's row, or null.

      Parameters

      • id: string

        saml2, saml11, wsfed or oidc

      Returns any

      the row

    • The four protocols a launch can start, in drawing order.

      Returns any[]

      a copy of the table

    • The protocols an application can be launched in.

      Parameters

      • view: any

        an applications.get() view

      Returns any[]

      the protocol rows

    • The registered address a target names, or '' when it names none.

      Parameters

      • view: any

        an applications.get() view

      • target: string

        the link's target

      Returns string

      the entry's own spelling of the address, or ''

    • The https addresses a launch of this client may name as its target.

      Parameters

      • view: any

        an applications.get() view

      Returns string[]

      the registered addresses, as the entry holds them

    • Removes a client's launch from a session.

      Parameters

      • session: any

        the sign-on session

      • clientId: string

        the client

      Returns boolean

      true when there was one to remove

    • The section 4 address for a client, or ''.

      Parameters

      • initiate: string

        the client's initiate_login_uri

      • o: any

        { issuer, username, tenant, domain, target }

      Returns string

      the URL, or '' when there is no initiate_login_uri or issuer