Aino.Session.Storage protocol (aino v0.7.0)

Encode and decode session data in a pluggable backend

Summary

Types

t()

All the types that implement this protocol.

Functions

Parse session data on the token

Set session data from the token

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

decode(config, token)

Parse session data on the token

The following keys should be added to the token [:session]

Link to this function

encode(config, token)

Set session data from the token