iya-sts
    Preparing search index...

    The portal's WebAuthn ceremonies. A static utility class.

    Index
    asserted: (a: any) => any = WebWebAuthn.asserted

    Type Declaration

      • (a: any): any
      • An assertion's answer, as the server reads it.

        Parameters

        • a: any

          the PublicKeyCredential

        Returns any

        the JSON form

    b64u: (b: any) => string = WebWebAuthn.b64u

    Type Declaration

      • (b: any): string
      • Base64url of bytes, no padding.

        Parameters

        • b: any

          an ArrayBuffer or a view

        Returns string

        the encoding

    bytes: (s: string) => Uint8Array = WebWebAuthn.bytes

    Type Declaration

      • (s: string): Uint8Array
      • Bytes of a base64url string.

        Parameters

        • s: string

          the encoding

        Returns Uint8Array

        the bytes

    created: (c: any) => any = WebWebAuthn.created

    Type Declaration

      • (c: any): any
      • A registration's answer, as the server reads it.

        Parameters

        • c: any

          the PublicKeyCredential

        Returns any

        the JSON form

    • The ceremony a #wa-data element describes.

      Parameters

      • d: any

        the element

      • navigator: any

        the browser's navigator

      Returns Promise<any>

      the promise of the credential's JSON form

    • The server's fallback facts (#944) a #wa-data element carries, as data-fallback; empty where it carries none.

      Parameters

      • d: any

        the element

      Returns any

      the facts

    • Reports a registration the guidance is showing, without submitting it.

      Parameters

      • doc: any

        the document

      • window: any

        the window

      • quiet: (form: any, body: any) => void

        the runtime's post, given the form and the body

      • error: string

        the allowlisted browser error

      • capabilities: any

        the platform's booleans, or null

      Returns void

      nothing

    • Sends the signals a #wa-signal element describes.

      Parameters

      • sg: any

        the element

      • window: any

        the browser's window

      Returns void

      nothing

    • Wires the page just drawn: the signal, and the ceremony button, whose answer goes in #wa-credential and whose form is handed to submit. A registration the guidance handles is reported through quiet instead, which must not draw the answer (#961).

      Parameters

      • doc: any

        the document

      • window: any

        the window

      • submit: (form: any) => void

        the runtime's submit, given the form

      • Optionalquiet: (form: any, body: any) => void

        the runtime's report of a failure the guidance shows, given the form and the body; absent, the report is a fetch of the form's action whose answer is ignored

      Returns void

      nothing