lib/casclient/client.rb
def request_proxy_ticket(pgt, target_service)
      uri = URI.parse(proxy_url)
      h = uri.query ? query_to_hash(uri.query) : {}
      h['pgt'] = pgt.ticket
      h['targetService'] = target_service
      uri.query = hash_to_query(h)
      
      pr = request_cas_response(uri, ProxyResponse)
      
      pt = ProxyTicket.new(pr.proxy_ticket, target_service)
      pt.response = pr
      
      return pt
    end
# Requests a proxy ticket from the CAS server for the given service
# using the given pgt (proxy granting ticket); returns a ProxyTicket 
# object.
#
# The pgt required to request a proxy ticket is obtained as part of
# a ValidationResponse.
Requests a proxy ticket from the CAS server for the given service
using the given pgt (proxy granting ticket); returns a ProxyTicket
object.

The pgt required to request a proxy ticket is obtained as part of
a ValidationResponse.
Requests a proxy ticket from the CAS server for the given service using the given pgt ( proxy granting ticket ) ; returns a ProxyTicket object . The pgt required to request a proxy ticket is obtained as part of a ValidationResponse .
def request_proxy_ticket(pgt, target_service)
      uri = URI.parse(proxy_url)
      h = uri.query ? query_to_hash(uri.query) : {}
      h['pgt'] = pgt.ticket
      h['targetService'] = target_service
      uri.query = hash_to_query(h)
      pr = request_cas_response(uri, ProxyResponse)
      pt = ProxyTicket.new(pr.proxy_ticket, target_service)
      pt.response = pr
      return pt
    end
def request_proxy_ticket ( pgt , target_service ) uri = URI . parse ( proxy_url ) h = uri . query ? query_to_hash ( uri . query ) : { } h [ 'pgt' ] = pgt . ticket h [ 'targetService' ] = target_service uri . query = hash_to_query ( h ) pr = request_cas_response ( uri , ProxyResponse ) pt = ProxyTicket . new ( pr . proxy_ticket , target_service ) pt . response = pr return pt end
Requests a proxy ticket from the CAS server for the given service
using the given pgt (proxy granting ticket); returns a ProxyTicket
object.
Requests a proxy ticket from the CAS server for the given service using the given pgt ( proxy granting ticket ) ; returns a ProxyTicket object .
pgt
target_service