OpenmaizeJWT v0.10.3 OpenmaizeJWT

JSON Web Token library for use with the Openmaize authentication library.

JSON Web Tokens

JSON Web Tokens (JWTs) are an alternative to using cookies to identify, and provide information about, users after they have logged in.

One main advantage of using JWTs is that there is no need to keep a session store as the token can be used to contain user information. It is important, though, not to keep sensitive information in the token as the information is not encrypted — it is just encoded.

Summary

Functions

Restart the keymanager child process

Functions

restart_keymanager(reason \\ :normal)

Restart the keymanager child process.

If the reason is :normal, which is the default, the state will be saved. If you want to remove the old keys and generate new ones, set the reason to :kill.