parameters: (
          self,
          response,
          key="session",
          expires=None,
          session_expires=None,
          max_age=None,
          path="/",
          domain=None,
          secure=None,
          httponly=False,
          force=False,
      )
docstring: Save the data securely in a cookie on response object. All
          parameters that are not described here are forwarded directly
          to :meth:`~BaseResponse.set_cookie`.
  
          :param response: A response object that has a
              :meth:`~BaseResponse.set_cookie` method.
          :param key: The name of the cookie.
          :param session_expires: The expiration date of the secure cookie
              stored information. If this is not provided the cookie
              ``expires`` date is used instead.
docstring_summary: Save the data securely in a cookie on response object. All
          parameters that are not described here are forwarded directly
          to :meth:`~BaseResponse.set_cookie`.
docstring_tokens: Save the data securely in a cookie on response object . All parameters that are not described here are forwarded directly to : meth : ~BaseResponse . set_cookie .
function: def save_cookie(
          self,
          response,
          key="session",
          expires=None,
          session_expires=None,
          max_age=None,
          path="/",
          domain=None,
          secure=None,
          httponly=False,
          force=False,
      ):
          """Save the data securely in a cookie on response object. All
          parameters that are not described here are forwarded directly
          to :meth:`~BaseResponse.set_cookie`.
  
          :param response: A response object that has a
              :meth:`~BaseResponse.set_cookie` method.
          :param key: The name of the cookie.
          :param session_expires: The expiration date of the secure cookie
              stored information. If this is not provided the cookie
              ``expires`` date is used instead.
          """
          if force or self.should_save:
              data = self.serialize(session_expires or expires)
              response.set_cookie(
                  key,
                  data,
                  expires=expires,
                  max_age=max_age,
                  path=path,
                  domain=domain,
                  secure=secure,
                  httponly=httponly,
              )
function_tokens: def save_cookie ( self , response , key = "session" , expires = None , session_expires = None , max_age = None , path = "/" , domain = None , secure = None , httponly = False , force = False , ) : if force or self . should_save : data = self . serialize ( session_expires or expires ) response . set_cookie ( key , data , expires = expires , max_age = max_age , path = path , domain = domain , secure = secure , httponly = httponly , )