View Source CsrfPlus.Token.DefaultToken (CsrfPlus v0.2.0)

The default module implementation for the Token behaviour.

It uses the Plug.Crypto.MessageVerifier module to sign and verify tokens under the hood.

Summary

Functions

Callback implementation for CsrfPlus.Token.generate_token/0.

Callback implementation for CsrfPlus.Token.sign_token/1.

Callback implementation for CsrfPlus.Token.verify/1.

Functions

Callback implementation for CsrfPlus.Token.generate_token/0.

Callback implementation for CsrfPlus.Token.sign_token/1.

Callback implementation for CsrfPlus.Token.verify/1.