iya-sts
    Preparing search index...

    The EAP ACR Values 1.0 classes, phr and phrh, as this service's evidence earns them (#723). Facts for step_up.ts and the issuance policy, which decide.

    Index
    CLASSES: string[] = ...

    The two values, weaker first.

    NONE: "none" = NONE

    What the XACML fact says when neither was earned.

    PHR: "phr" = PHR

    phr: phishing-resistant.

    PHRH: "phrh" = PHRH

    phrh: phishing-resistant, the key hardware-protected.

    URI_PHR: "http://schemas.openid.net/pape/policies/2007/06/phishing-resistant" = URI_PHR

    The SAML and WS-Federation URI for phr.

    URI_PHRH: "http://schemas.openid.net/acr/2016/07/phishing-resistant-hardware" = URI_PHRH

    The SAML and WS-Federation URI for phrh.

    • The class URI to put on an assertion when the request named one and the session earned it: phrh over phr. '' when nothing was asked or nothing earned was asked, so the caller keeps its own class.

      Parameters

      • session: any

        a session as authn keeps it, or null

      • uris: unknown

        the requested class URIs

      Returns string

      the URI, or ''

    • The EAP class a SAML or WS-Federation URI names, or ''.

      Parameters

      • uri: unknown

        an AuthnContextClassRef or a wauth value

      Returns string

      phr, phrh, or ''

    • Whether a session meets an EAP-only class-URI list. Any other list is not this demand — another class can answer it — and this answers true, including for an empty list. No session meets an EAP-only list.

      Parameters

      • session: any

        a session as authn keeps it, or null

      • uris: unknown

        the requested class URIs

      Returns boolean

      true when the demand is met or there is none

    • The XACML fact: the classes earned, or [none].

      Parameters

      • classes: string[]

        what ofEvent() or ofSession() answered

      Returns string[]

      a bag that always holds something

    • Why a session did not earn phrh, in a sentence, for a refusal's description; '' when it did.

      Parameters

      • session: any

        a session as authn keeps it, or null

      Returns string

      the reason, or ''

    • Tells whether a value is one of the two EAP classes.

      Parameters

      • value: unknown

        an acr value

      Returns boolean

      true for phr and phrh

    • The session's latest authenticated event, or null.

      Parameters

      • session: any

        a session as authn keeps it, or null

      Returns any

      the event, or null

    • The classes a token's own acr states: phrh states both.

      Parameters

      • acr: unknown

        the token's acr

      Returns string[]

      the classes, weaker first

    • The classes one authentication event earns: [], [phr] or [phr, phrh].

      Parameters

      • event: any

        an event as authn.authenticationEvent() builds it

      Returns string[]

      the classes, weaker first

    • The classes a session earns: its latest authenticated event's.

      Parameters

      • session: any

        a session as authn keeps it, or null

      Returns string[]

      the classes, weaker first

    • What a list of class URIs requires of the sign-in (#736). Exact comparison: any listed reference can satisfy, so a key is forced only when every reference is one of these two URIs. phishingClass is phrh only when every one of them is the hardware URI.

      Parameters

      • uris: unknown

        AuthnContextClassRef or wauth values

      Returns { eapOnly: boolean; forceKey: boolean; phishingClass: string }

      { forceKey, phishingClass, eapOnly }

    • Whether a STORED passkey's recorded evidence can earn phrh (#739). The same two facts ofEvent() reads off an assertion: the attestation statement is trusted, and backup eligibility was reported clear. A flag that was not recorded is not clear. A registration in the same act is not a stored key, and is not asked here.

      Parameters

      • key: any

        a key as credentials.keysOf() returns it

      Returns boolean

      true when that record can earn phrh

    • Class URIs from a request field: one string, a repeated parameter, or several separated by whitespace or commas. Empty pieces are dropped.

      Parameters

      • value: unknown

        what the request carried

      Returns string[]

      the URIs, in order

    • The URI for one EAP class, or '' for anything else.

      Parameters

      • cls: unknown

        phr or phrh

      Returns string

      the class URI, or ''