Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
iOS app demonstrating the authentication and ticket generating services of CAS.
Objective-C
Branch: master
Failed to load latest commit information.
CAS Client.xcodeproj Moved Main_iPad.storyboard to CAS Client folder
CAS Client Moved Main_iPad.storyboard to CAS Client folder
.gitignore
LICENSE
README.md Update README.md

README.md

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

Something went wrong with that request. Please try again.