Class OmniAuth::Strategies::CAS3
In: lib/omniauth/strategies/cas3/service_ticket_validator.rb
lib/omniauth/strategies/cas3/logout_request.rb
lib/omniauth/strategies/cas3.rb
Parent: Object

Methods

Included Modules

OmniAuth::Strategy

Classes and Modules

Class OmniAuth::Strategies::CAS3::InvalidCASTicket
Class OmniAuth::Strategies::CAS3::LogoutRequest
Class OmniAuth::Strategies::CAS3::MissingCASTicket
Class OmniAuth::Strategies::CAS3::ServiceTicketValidator

Constants

AuthHashSchemaKeys = %w{name email nickname first_name last_name location image phone}   As required by github.com/intridea/omniauth/wiki/Auth-Hash-Schema

External Aliases

raw_info -> user_info

Attributes

raw_info  [RW] 

Public Instance methods

Adds URL-escaped parameters to base.

@param [String] base the base URL @param [String] params the parameters to append to the URL

@return [String] the new joined URL.

Build a CAS host with protocol and port

Build a CAS login URL from service.

@param [String] service the service (a.k.a. return-to) URL

@return [String] a URL like `cas.mycompany.com/login?service=…`

Build a service-validation URL from service and ticket. If service has a ticket param, first remove it. URL-encode service and add it and the ticket as paraemters to the CAS serviceValidate URL.

@param [String] service the service (a.k.a. return-to) URL @param [String] ticket the ticket to validate

@return [String] a URL like `cas.mycompany.com/serviceValidate?service=...&ticket=…`

Validate the Service Ticket @return [Object] the validated Service Ticket

[Validate]