Sha256: c08e721d85d1e874d9fc111257d7419a303ebe2e2a980e5fcbaac2afcc564a9f

Contents?: true

Size: 305 Bytes

Versions: 4

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

module RailsBase::Mfa::Strategy
  class EveryRequest < Base
    def self.description
      "MFA is always requried"
    end

    def require_mfa?(...)
      log(level: :info, msg: "#{user_prepend} : Strategy dictates user must re-auth via MFA")
      true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_base-0.82.0 app/services/rails_base/mfa/strategy/every_request.rb
rails_base-0.81.1 app/services/rails_base/mfa/strategy/every_request.rb
rails_base-0.81.0 app/services/rails_base/mfa/strategy/every_request.rb
rails_base-0.80.0 app/services/rails_base/mfa/strategy/every_request.rb