Module telescope::web::services::auth::rpi_cas[][src]

Expand description

CAS authentication is implemented roughly following the diagram here and work from RPI students who came before me.

Structs

Query parameters of the request sent to Telescope after the user is authenticated with RPI CAS.

Query parameters sent in request to the CAS endpoint by telescope after the user has authenticated.

Zero-Sized struct representing the RPI CAS identity provider

The RPI CAS based identity object just stores the user’s RCS id directly. We do not get any other information from the RPI CAS service and the user’s RCS id should never change.

Constants

The URL of the RPI CAS server.

Functions

After the user has authenticated with CAS it will send them back to telescope with a service ticket. This function will extract the service ticket and use it to access the user’s information via CAS. On success, this function return’s the user’s RCS ID as a string (in lowercase).

Use the CAS user id regular expression to extract the RCS ID of a user from the XML returned by the CAS service.

Make the url to redirect users to when authenticating.

Function to make CAS user regular expression.