View Source API Reference CsrfPlus v0.1.0
Modules
A CSRF (Cross-Site Request Forgery) protection Plug with accesses storing support.
Defines the behaviour for an ErrorModule while also defining a default map function.
Defines the behaviour for a store.
Manager to check the configured store tokens age. If a token age is greater than the max age configured, the token is flagged as expired.
A Store to keep the CsrfPlus.UserAccess
data in memory. The CsrfPlus.UserAccess
is where the token and its expiration flag is set.
Supervisor to keep the CsrfPlus.Store.Manager
running.
Defines the Token behaviour and a DefaultToken module implementation.
The default module implementation for the Token behaviour.
Represents an user access. This struct is where you can set a token and other user access related informations.
Defines a basic user access information containing the ip and the user agent.