This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Csrf token? #2
Open
Description
What do you think about idea of adding tools here to manage csrf tokens?
Here are functions I think could be useful:
- Extract csrf token from session
- Generate masked csrf token (something like http://apidock.com/rails/ActionController/RequestForgeryProtection/masked_authenticity_token)
- Check if submitted masked csrf token corresponds to csrf token stored in session
- Generate new csrf token (maybe if session doesn't have one)
Would you accept pull request with package that implements some of the functions listed above?
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.