cassette v1.2.0 Cassette.Server
The GenServer that maintains the CAS cache in its state
Summary
Functions
Initializes the server with the given configuration
Generates Service Ticket based on the configuration of the server
and the given tgt
Generates a Ticket Granting Ticket based on the configuration of the server
Validates a ticket
for the given service
Functions
Specs
init({:ok, Cassette.Config.t}) :: {:ok, Cassette.Server.State.t}
Initializes the server with the given configuration
Generates Service Ticket based on the configuration of the server
and the given tgt
Specs
tgt(pid) :: {:ok, String.t} | {:error, term}
Generates a Ticket Granting Ticket based on the configuration of the server
Specs
validate(pid, String.t, String.t) ::
{:ok, Cassette.User.t} |
{:error, term}
Validates a ticket
for the given service