There's no documentation for this item.
| Modules | |
|---|---|
| ClassMethods | |
| Public Methods | |
|---|---|
| included | |
| Protected Methods | |
|---|---|
| authenticity_ |
No secret was given, so assume this is a cookie session store. |
| authenticity_ |
Generates a unique digest using the session_id and the CSRF secret. |
| form_ |
Sets the token value for the current session. Pass a :secret option in #protect_from_forgery to add a custom salt to the hash. |
| protect_ |
|
| verifiable_ |
|
| verified_ |
Returns true or false if a request is verified. Checks: |
| verify_ |
The actual before_filter that is used. Modify this to change how you handle unverified requests. |
<code/>and<pre/>for code samples.