Sha256: 49e83e0c3af8c5a7ff7ac53ff31dbf2efb3326185902733631188915bb5b662c
Contents?: true
Size: 1.93 KB
Versions: 1
Compression:
Stored size: 1.93 KB
Contents
# Omniauth::Multipassword [](https://rubygems.org/gems/omniauth-multipassword) [](https://github.com/jgraichen/omniauth-multipassword/actions) [](https://app.codecov.io/gh/jgraichen/omniauth-multipassword) [](https://codeclimate.com/github/jgraichen/omniauth-multipassword) **omniauth-multipassword** is a [OmniAuth](https://github.com/intridea/omniauth) strategy that allows to authenticate again different password strategies at once. ## Installation Add this line to your application's Gemfile: ```ruby gem 'omniauth-multipassword' ``` Add multipassword compatible omniauth strategies you want to use: ```ruby gem 'omniauth-internal' gem 'omniauth-kerberos' ``` And then execute: ```console bundle ``` Or install it yourself as: ```console 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 <dl> <dt><code>title</code></dt> <dd> The title text shown on default login form. (default: `"Restricted Access"`) </dd> <dt><code>fields</code></dt> <dd> The request parameter names to fetch username and password. (default: `[ "username", "password" ]`) </dd> </dl> ### 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 © 2012, Jan Graichen
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-multipassword-2.1.0 | README.md |