cassette v1.5.0 Cassette.Authentication
ST validation functions
Link to this section Summary
Functions
Extracts the authenticated user from validation response
Link to this section Functions
Link to this function
handle_response(body)
handle_response(String.t()) :: {:ok, Cassette.User.t()} | {:error, String.t()}
Extracts the authenticated user from validation response
Returns a tuple with:
{:ok, Cassette.User.t}
on success{:error, String.t}
on error where the string is the failure reason returned by the cas server