Skip to main content

Crate uvb_factor_strength

Crate uvb_factor_strength 

Source
Expand description

§Factor Strength Policies

Enterprise-grade MFA factor strength enforcement to address:

  • Risk #10: Phishable factors (TOTP, SMS, email links, push approve)
  • Risk #18: Weak factor combinations
  • Risk #25: No phishing-resistant factor requirements

§Features

  • Factor Classification: Phishable vs phishing-resistant
  • Risk-Based Selection: Require stronger factors for high-risk operations
  • WebAuthn Enforcement: Mandatory for admins and sensitive operations
  • Policy Engine: Per-tenant configurable policies
  • Factor Strength Scoring: 0-100 scale
  • User Warnings: Educate users about factor security
  • Factor Promotion: Encourage WebAuthn adoption
  • Compliance Tracking: NIST AAL alignment

Structs§

EnforcementResult
Factor strength enforcement result
EnrolledFactor
Factor enrollment information
FactorRecommendation
Factor selection recommendation
FactorStrengthManager
Factor strength enforcement manager
FactorStrengthPolicy
Factor strength policy configuration
InMemoryFactorStrengthStorage
In-memory storage for testing
UserFactorReport
User factor strength report

Enums§

FactorClass
Factor classification based on phishing resistance
FactorStrengthError
Errors that can occur during factor strength enforcement
FactorType
MFA factor types with security classification
OperationRiskLevel
Operation risk level determining required factor strength
UserRole
User role determining factor requirements

Traits§

FactorStrengthStorage
Storage trait for factor strength policies