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.
Coverage increased (+0.02%) to 97.124% when pulling 8798094a015ef58436541c5bbbbcf782ec916c3b on identification-io:add_context into 41d71cd52a423730e5bdeedd9405f35aaaf0d435 on rbCAS:master.
Built off of @meanphil's PR https://github.com/rbCAS/CASino/pull/126. Rather than use a request
param
, simply build the context using aProc
orlambda
. This allows us to authenticate based on the requested host, because we use subdomains to silo users.