SimpleAuth v1.8.0 SimpleAuth.UserSession.Memory View Source
Real version of API storing user details in a GenServer This allows sessions to expire automatically and a expiry callback to be triggered on expiry It also causes one user logout to logout all other users.
Link to this section Summary
Functions
Callback implementation for SimpleAuth.UserSessionAPI.delete/1
Callback implementation for SimpleAuth.UserSessionAPI.get/1
Callback implementation for SimpleAuth.UserSessionAPI.put/2
Link to this section Functions
Link to this function
can_refresh?(refreshes) View Source
Link to this function
delete(user_id) View Source
Callback implementation for SimpleAuth.UserSessionAPI.delete/1.
Link to this function
get(conn) View Source
Callback implementation for SimpleAuth.UserSessionAPI.get/1.
Link to this function
info(conn) View Source
Link to this function
put(conn, user) View Source
Callback implementation for SimpleAuth.UserSessionAPI.put/2.
Link to this function
refresh(conn) View Source
Link to this function