cassette v1.5.0 Cassette.Server.State
Struct to represent the internal state of the Cassette.Server
Link to this section Summary
Functions
Clears the tgt
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
Link to this section Types
Link to this type
t()
t() :: %Cassette.Server.State{config: Cassette.Config.t(), sts: %{optional(String.t()) => st()}, tgt: tgt(), validations: %{optional({String.t(), String.t()}) => validation()}}
Link to this section Functions
Clears the tgt
Updates the st cache for the given service
Link to this function
put_tgt(state, tgt, expires_at)
Updates the tgt cache
Link to this function
put_validation(state, arg1, arg2)
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