Module: CASinoCore::Helper::ProxyGrantingTickets
- Defined in:
- lib/casino_core/helper/proxy_granting_tickets.rb
Constant Summary
Constants included from Tickets
Tickets::ALLOWED_TICKET_STRING_CHARACTERS
Instance Method Summary collapse
Methods included from Tickets
Methods included from Logger
Instance Method Details
#acquire_proxy_granting_ticket(pgt_url, service_ticket) ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/casino_core/helper/proxy_granting_tickets.rb', line 13 def acquire_proxy_granting_ticket(pgt_url, service_ticket) callback_uri = Addressable::URI.parse(pgt_url) if callback_uri.scheme != 'https' logger.warn "Proxy tickets can only be granted to callback servers using HTTPS." nil else contact_callback_server(callback_uri, service_ticket) end end |