rbCAS / CASino

CASino is a Ruby-based Single Sign-On solution supporting the CAS standard
MIT License
329 stars 189 forks source link

Add context with a simple `builder` #132

Closed joelvh closed 8 years ago

joelvh commented 8 years ago

Built off of @meanphil's PR https://github.com/rbCAS/CASino/pull/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.

joelvh commented 8 years ago

Closing because @meanphil merged my changes into his PR https://github.com/rbCAS/CASino/pull/126

coveralls commented 7 years ago

Coverage Status

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