123456789_123456789_123456789_123456789_123456789_

Module: ActionDispatch::RequestCookieMethods

Relationships & Source Files
Defined in: actionpack/lib/action_dispatch/middleware/cookies.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

Instance Method Details

#cookies_digest

This method is for internal use only.
[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/middleware/cookies.rb', line 78

def cookies_digest
  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 cookies_rotations
  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 cookies_same_site_protection
  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 cookies_serializer
  get_header Cookies::COOKIES_SERIALIZER
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

#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