Class: FastMcpJwtAuth::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/fast_mcp_jwt_auth/railtie.rb

Overview

Rails integration for automatic FastMcpJwtAuth setup

Class Method Summary collapse

Class Method Details

.apply_jwt_patchObject



14
15
16
17
# File 'lib/fast_mcp_jwt_auth/railtie.rb', line 14

def apply_jwt_patch
  FastMcpJwtAuth.log_debug "Attempting to apply RackTransport patch"
  FastMcpJwtAuth::RackTransportPatch.apply_patch!
end

.log_disabled_statusObject



19
20
21
# File 'lib/fast_mcp_jwt_auth/railtie.rb', line 19

def log_disabled_status
  FastMcpJwtAuth.log_info "JWT authentication disabled"
end