Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Add context with a simple builder #132

Closed
wants to merge 5 commits into from

Conversation

joelvh
Copy link
Contributor

@joelvh joelvh commented Sep 28, 2015

Built off of @meanphil's PR #126. Rather than use a request param, simply build the context using a Proc or lambda. This allows us to authenticate based on the requested host, because we use subdomains to silo users.

meanphil and others added 5 commits April 7, 2015 14:12
A fresh Rails 4.2 install includes sass-rails 5.0.3, which clashes with CASino's requirement of sass-rails 4.x
Sometimes a login might require more information than just a username and password, in these cases the extra info can be pased to the authenticator via the context parameter as a Hash.
@joelvh
Copy link
Contributor Author

joelvh commented Sep 29, 2015

Closing because @meanphil merged my changes into his PR #126

@joelvh joelvh closed this Sep 29, 2015
@coveralls
Copy link

coveralls commented Jul 11, 2017

Coverage Status

Coverage increased (+0.02%) to 97.124% when pulling 8798094 on identification-io:add_context into 41d71cd on rbCAS:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants