lib/casclient/client.rb
# Requests a login using the given credentials for the given service; 
# returns a LoginResponse object.
Requests a login using the given credentials for the given service;
returns a LoginResponse object.
Requests a login using the given credentials for the given service ; returns a LoginResponse object .
def login_to_service(credentials, service)
      lt = request_login_ticket
      data = credentials.merge(
        :lt => lt,
        :service => service 
      )
      res = submit_data_to_cas(login_url, data)
      CASClient::LoginResponse.new(res)
    end
def login_to_service ( credentials , service ) lt = request_login_ticket data = credentials . merge ( :lt => lt , :service => service ) res = submit_data_to_cas ( login_url , data ) CASClient :: LoginResponse . new ( res ) end
Requests a login using the given credentials for the given service;
returns a LoginResponse object.
Requests a login using the given credentials for the given service ; returns a LoginResponse object .
credentials
service