Sha256: 3dc54044676a150cdf234130528b5e0566c8dbf92acd879739cd7324931542c8
Contents?: true
Size: 461 Bytes
Versions: 1
Compression:
Stored size: 461 Bytes
Contents
require "ruby-saml" class Devise::SamlSessionsController < Devise::SessionsController include DeviseSamlAuthenticatable::SamlConfig unloadable before_filter :get_saml_config def new resource = build_resource request = Onelogin::Saml::Authrequest.new action = request.create(@saml_config) redirect_to action end def metadata meta = Onelogin::Saml::Metadata.new render :xml => meta.generate(@saml_config) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_saml_authenticatable-0.0.1 | app/controllers/devise/saml_sessions_controller.rb |