diff options
Diffstat (limited to 'vendor/gems/omniauth-cas3/spec/fixtures')
3 files changed, 34 insertions, 0 deletions
diff --git a/vendor/gems/omniauth-cas3/spec/fixtures/cas_failure.xml b/vendor/gems/omniauth-cas3/spec/fixtures/cas_failure.xml new file mode 100644 index 00000000000..f8238a18014 --- /dev/null +++ b/vendor/gems/omniauth-cas3/spec/fixtures/cas_failure.xml @@ -0,0 +1,4 @@ +<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> + <cas:authenticationFailure> + </cas:authenticationFailure> +</cas:serviceResponse> diff --git a/vendor/gems/omniauth-cas3/spec/fixtures/cas_success.xml b/vendor/gems/omniauth-cas3/spec/fixtures/cas_success.xml new file mode 100644 index 00000000000..18904f64b35 --- /dev/null +++ b/vendor/gems/omniauth-cas3/spec/fixtures/cas_success.xml @@ -0,0 +1,14 @@ +<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> + <cas:authenticationSuccess> + <cas:user>psegel</cas:user> + <cas:employeeid>54</cas:employeeid> + <cas:first_name>P. Segel</cas:first_name> + <cas:first_name>Peter</cas:first_name> + <cas:last_name>Segel</cas:last_name> + <cas:email>psegel@intridea.com</cas:email> + <cas:location>Washington, D.C.</cas:location> + <cas:image>/images/user.jpg</cas:image> + <cas:phone>555-555-5555</cas:phone> + <cas:hire_date>2004-07-13</cas:hire_date> + </cas:authenticationSuccess> +</cas:serviceResponse> diff --git a/vendor/gems/omniauth-cas3/spec/fixtures/cas_success_jasig.xml b/vendor/gems/omniauth-cas3/spec/fixtures/cas_success_jasig.xml new file mode 100644 index 00000000000..72f58edfb46 --- /dev/null +++ b/vendor/gems/omniauth-cas3/spec/fixtures/cas_success_jasig.xml @@ -0,0 +1,16 @@ +<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> + <cas:authenticationSuccess> + <cas:user>psegel</cas:user> + <cas:attributes> + <cas:employeeid>54</cas:employeeid> + <cas:first_name>P. Segel</cas:first_name> + <cas:first_name>Peter</cas:first_name> + <cas:last_name>Segel</cas:last_name> + <cas:email>psegel@intridea.com</cas:email> + <cas:location>Washington, D.C.</cas:location> + <cas:image>/images/user.jpg</cas:image> + <cas:phone>555-555-5555</cas:phone> + <cas:hire_date>2004-07-13</cas:hire_date> + </cas:attributes> + </cas:authenticationSuccess> +</cas:serviceResponse> |