iya-sts
    Preparing search index...
    identityOf: (input: any, options: any) => any = identityOf

    Type Declaration

      • (input: any, options: any): any
      • Recognises a verified client certificate as an identity, or refuses it.

        A chain through no authority this process holds is issuedHere: false. One through a held authority is accepted only from a realm Issuing CA in IDENTITY_USE_CASES, with clientAuth, naming exactly one person or application; a person is then resolved to whoever holds their subject now. Memoised by leaf digest and held authorities. A chain through no held authority is an outside authority's: with options.stored it is resolved to the one entry storing it in userCertificate (#1061, storedIdentityOf()), in options.realm or the ambient realm; without, it is answered issuedHere: false and nothing else, as it always was.

        Parameters

        • input: any

          { leaf, chain, verified }, from revocation_status.fromSocket()

        • options: any

          { stored, realm }, both optional

        Returns any

        { issuedHere, accepted }, with realm, kind, username, serialHex and authority when accepted, or error and why when not