Module: ActionDispatch::RequestCookieMethods
Relationships & Source Files | |
Defined in: | actionpack/lib/action_dispatch/middleware/cookies.rb |
Instance Attribute Summary
- #cookie_jar rw
- #cookie_jar=(jar) rw Internal use only
- #have_cookie_jar? ⇒ Boolean readonly Internal use only
Instance Method Summary
- #authenticated_encrypted_cookie_salt Internal use only
- #cookies_digest Internal use only
- #cookies_rotations Internal use only
- #cookies_same_site_protection Internal use only
- #cookies_serializer Internal use only
- #encrypted_cookie_cipher Internal use only
- #encrypted_cookie_salt Internal use only
- #encrypted_signed_cookie_salt Internal use only
- #key_generator Internal use only
- #secret_key_base Internal use only
- #signed_cookie_digest Internal use only
- #signed_cookie_salt Internal use only
- #use_authenticated_cookie_encryption Internal use only
- #use_cookies_with_metadata Internal use only
Instance Attribute Details
#cookie_jar (rw)
[ GitHub ]#cookie_jar=(jar) (rw)
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 30
def (jar) set_header "action_dispatch.cookies", jar end
#have_cookie_jar? ⇒ Boolean
(readonly)
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 26
def has_header? "action_dispatch.cookies" end
Instance Method Details
#authenticated_encrypted_cookie_salt
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 50
def get_header Cookies::AUTHENTICATED_ENCRYPTED_COOKIE_SALT end
#cookies_digest
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 78
def get_header Cookies::COOKIES_DIGEST end
#cookies_rotations
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 82
def get_header Cookies::COOKIES_ROTATIONS end
#cookies_same_site_protection
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 74
def get_header(Cookies::COOKIES_SAME_SITE_PROTECTION)&.call(self) end
#cookies_serializer
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 70
def get_header Cookies::COOKIES_SERIALIZER end
#encrypted_cookie_cipher
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 58
def get_header Cookies::ENCRYPTED_COOKIE_CIPHER end
#encrypted_cookie_salt
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 42
def get_header Cookies::ENCRYPTED_COOKIE_SALT end
#encrypted_signed_cookie_salt
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 46
def get_header Cookies::ENCRYPTED_SIGNED_COOKIE_SALT end
#key_generator
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 34
def key_generator get_header Cookies::GENERATOR_KEY end
#secret_key_base
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 66
def secret_key_base get_header Cookies::SECRET_KEY_BASE end
#signed_cookie_digest
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 62
def get_header Cookies::SIGNED_COOKIE_DIGEST end
#signed_cookie_salt
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 38
def get_header Cookies::SIGNED_COOKIE_SALT end
#use_authenticated_cookie_encryption
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 54
def get_header Cookies::USE_AUTHENTICATED_COOKIE_ENCRYPTION end
#use_cookies_with_metadata
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 86
def get_header Cookies::USE_COOKIES_WITH_METADATA end