server_utils v0.3.2 ServerUtils.Session

Structure that represents a JWT session

Link to this section Summary

Types

t()

Session authentication which includes:

  • user_id: Unique user identifier for the current session
  • session: The JWT

Link to this section Types

Link to this type t()
t() :: %ServerUtils.Session{jwt: String.t(), payload: map()}

Session authentication which includes:

  • user_id: Unique user identifier for the current session
  • session: The JWT