server_utils v0.2.4 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(), user_id: any()}

Session authentication which includes:

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