cassette v1.2.0 Cassette.Authentication
ST validation functions
Summary
Functions
Extracts the authenticated user from validation response
Functions
Specs
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