iya-sts
    Preparing search index...
    refusalFor: (
        at: string,
        facts: Record<string, any>,
        profile?: PasskeyProfile,
    ) => { code: string; reason: string; why: string } = ...

    Type Declaration

      • (
            at: string,
            facts: Record<string, any>,
            profile?: PasskeyProfile,
        ): { code: string; reason: string; why: string }
      • Asks the issuance policy whether a passkey may be registered or may sign somebody in (#536), and words its refusal.

        Parameters

        • at: string

          registration or sign-in

        • facts: Record<string, any>

          what the door holds (see question())

        • Optionalprofile: PasskeyProfile

          a profile already read; read afresh when omitted

        Returns { code: string; reason: string; why: string }

        { code, why, reason }, or null where the policy allows it