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

Encode and decode session data in a pluggable backend

Link to this section Summary

Functions

Parse session data on the token

Set session data from the token

Link to this section Types

@type t() :: term()

Link to this section 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