method

signed_or_encrypted

rails 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.