View Source Plausible.Auth.UserSessions (Plausible v0.0.1)

Functions for interacting with user sessions.

Summary

Functions

Link to this function

last_used_humanize(user_session, now \\ NaiveDateTime.utc_now(:second))

View Source
@spec last_used_humanize(Plausible.Auth.UserSession.t(), NaiveDateTime.t()) ::
  String.t()
Link to this function

list_for_user(user, now \\ NaiveDateTime.utc_now(:second))

View Source