Module token

Source
Expand description

§Token module.

Functions to read/write token from/to the database. A token is any string associated with a key.

Tokens are used in SecureJoin verification protocols.

Enums§

Namespace
Token namespace

Functions§

auth_foreign_key
Looks up foreign key by auth token.
delete
exists
lookup
Looks up most recently created token for a namespace / foreign key combination.
lookup_or_new
save
Saves a token to the database.