Jasig CAS Client
demonstrates authentication using the Jasig CAS RESTful API within an iOS application.
Update the following variables found in the authenticate
method within CAS Client/CASViewController.m
to use valid credentials and Jasig CAS server:
username
password
casServer
casRestletPath
CAS.m
:requestTGTWithUsername
submits credentials to the Jasig CAS RESTful API expecting either aTicketGrantingTicket
or failed authentication response.CAS.m
:requestSTForService
submitsTicketGrantingTicket
to Jasig CAS RESTful API expecting either aServiceTicket
or unsuccessful response.ServiceTicket
appended on CAS protected URIs (e.g. http://localhost/protected/index.html?ticket=ST-1-FFDFHDSJKHSDFJKSDHFJKRUEYREWUIFSD2132)
See the LICENSE file