iya-sts
    Preparing search index...
    allows: (mechanism: string, role: Role, profile?: AuthnProfile) => boolean = ...

    Type Declaration

      • (mechanism: string, role: Role, profile?: AuthnProfile): boolean
      • Says whether the policy allows a mechanism in a role.

        Parameters

        • mechanism: string

          the mechanism id

        • role: Role

          primary or second-factor

        • Optionalprofile: AuthnProfile

          a profile already read; read afresh when omitted

        Returns boolean

        false for an unknown mechanism or a role it cannot take