View Source CsrfPlus (CsrfPlus v0.1.0)

A CSRF (Cross-Site Request Forgery) protection Plug with accesses storing support.

Summary

Functions

The default max age for a token

Digs into the connection data to make an user access information struct.

Uses the plug configuration to put a token into the session

Functions

The default max age for a token

Digs into the connection data to make an user access information struct.

Link to this function

put_session_token(conn, token)

View Source

Uses the plug configuration to put a token into the session