Sha256: d8a697008d2655876e190ce22225e1c50d42cc7e16b7e6210da55b0004080bac
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
require "devise" require "devise_saml_authenticatable/version" require "devise_saml_authenticatable/exception" require "devise_saml_authenticatable/logger" require "devise_saml_authenticatable/routes" require "devise_saml_authenticatable/saml_config" begin Rails::Engine rescue else module DeviseSamlAuthenticatable class Engine < Rails::Engine end end end # Get saml information from config/saml.yml now module Devise # Allow logging mattr_accessor :saml_logger @@saml_logger = true # Add valid users to database mattr_accessor :saml_create_user @@saml_create_user = false mattr_accessor :saml_config @@saml_config = "#{Rails.root}/config/saml.yml" mattr_accessor :saml_default_user_key @@saml_default_user_key end # Add saml_authenticatable strategy to defaults. # Devise.add_module(:saml_authenticatable, :route => :saml_authenticatable, :strategy => true, :controller => :saml_sessions, :model => 'devise_saml_authenticatable/model')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise_saml_authenticatable-0.0.2 | lib/devise_saml_authenticatable.rb |
devise_saml_authenticatable-0.0.1 | lib/devise_saml_authenticatable.rb |