Sha256: 93e046cd05fe1376ec8d336e8d4b19caa1341f8132ff61d25b3eafbf9aa169a8
Contents?: true
Size: 1.17 KB
Versions: 6
Compression:
Stored size: 1.17 KB
Contents
# Omniauth::Multipassword **omniauth-multipassword** is a [OmniAuth](https://github.com/intridea/omniauth) strategy that allows to authenticate agains different password strategies at once. ## Installation Add this line to your application's Gemfile: gem 'omniauth-multipassword' Add multipassword compatible omniauth strategies you want to use: gem 'omniauth-internal' gem 'omniauth-kerberos' And then execute: $ bundle Or install it yourself as: $ gem install omniauth-multipassword ## Usage ```ruby Rails.application.config.middleware.use OmniAuth::Strategies::MultiPassword, fields: [ :auth_key ] do |mp| mp.authenticator :internal mp.authenticator :kerberos end ``` ## Options ** title ** The title text shown on default login form. (default: `"Restricted Access"`) ** fields ** The request parameter names to fetch username and password. (default: `[ "username", "password" ]`) ### Compatible Strategies * [omniauth-internal](https://github.com/jgraichen/omniauth-internal) * [omniauth-kerberos](https://github.com/jgraichen/omniauth-kerberos) ## License [MIT License](http://www.opensource.org/licenses/mit-license.php) Copyright (c) 2012, Jan Graichen
Version data entries
6 entries across 6 versions & 1 rubygems