cassette v1.0.0 Cassette.Server.State
Struct to represent the internal state of the Cassette.Server
Summary
Functions
Updates the st cache for the given service
Updates the tgt cache
Updates the validation cache for the given {service, ticket}
pair with the returned user
Types
t :: %Cassette.Server.State{config: Cassette.Config.t, sts: %{String.t => st}, tgt: tgt, validations: %{{String.t, String.t} => validation}}
validation :: {Cassette.User.t, non_neg_integer}
Functions
Updates the st cache for the given service
Updates the tgt cache
Specs
put_validation(t, String.t, {non_neg_integer, Cassette.User.t | nil}) :: t
Updates the validation cache for the given {service, ticket}
pair with the returned user