Skip to content

iOS app demonstrating the authentication and ticket generating services of CAS.

License

Notifications You must be signed in to change notification settings

acu-dev/objc-cas-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jasig CAS Client

Jasig CAS Client demonstrates authentication using the Jasig CAS RESTful API within an iOS application.

Using the packaged 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

How It Works

  1. CAS.m:requestTGTWithUsername submits credentials to the Jasig CAS RESTful API expecting either a TicketGrantingTicket or failed authentication response.
  2. CAS.m:requestSTForService submits TicketGrantingTicket to Jasig CAS RESTful API expecting either a ServiceTicket or unsuccessful response.
  3. ServiceTicket appended on CAS protected URIs (e.g. http://localhost/protected/index.html?ticket=ST-1-FFDFHDSJKHSDFJKSDHFJKRUEYREWUIFSD2132)

License

See the LICENSE file

About

iOS app demonstrating the authentication and ticket generating services of CAS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published