View Source PowPersistentSession.Plug (Pow v1.0.39)

Plug helper functions.

Summary

Functions

Create a new persistent session in the connection for user.

Deletes the persistent session in the connection.

Functions

create(conn, user)

@spec create(Plug.Conn.t(), map()) :: Plug.Conn.t()

Create a new persistent session in the connection for user.

delete(conn)

@spec delete(Plug.Conn.t()) :: Plug.Conn.t()

Deletes the persistent session in the connection.