Module ticket

Module ticket 

Source
Expand description

SSO ticket validation and XML response parsed structs.

When a user has signed in, the CAS SSO server returns a ticket. That ticket is used as an authorization mechanism to the CAS server and if valid will return an XML response that contains the user data if successful and an error if it fails.

Structs§

Attributes
Represents a user’s attributes XML tag.
AuthenticationSuccess
A successful authentication XML tag.
ServiceResponse
A service response tag from the CAS SSO server.

Enums§

ValidateTicketError
Types of errors that could happen in ticket validation.

Functions§

validate_ticket
Validates a ticket returned from the CAS SSO server.