gandalf v0.2.0 Gandalf.AuthStrategy.Session
Gandalf Strategy implements behaviour Gandalf.Strategy to check ‘session’ based authencations to find resource owner.
Summary
Functions
Finds resource owner using configured ‘session’ keys. Returns nil if
either no keys are configured or key value not found in the session.
And, it returns Gandalf.Model.User
on sucess,
{:error, Map, :http_status_code}
on fails
Functions
Finds resource owner using configured ‘session’ keys. Returns nil if
either no keys are configured or key value not found in the session.
And, it returns Gandalf.Model.User
on sucess,
{:error, Map, :http_status_code}
on fails.