method
signed_or_encrypted
v8.0.0 -
Show latest stable
- Class:
ActionDispatch::Cookies::ChainedCookieJars
signed_or_encrypted()public
Returns the `signed` or `encrypted` jar, preferring `encrypted` if `secret_key_base` is set. Used by ActionDispatch::Session::CookieStore to avoid the need to introduce new cookie stores.