parameters: (self, name, value, **kwargs)
docstring: Sets a secure cookie to be saved.
  
          :param name:
              Cookie name.
          :param value:
              Cookie value. Must be a dictionary.
          :param kwargs:
              Options to save the cookie. See :meth:`get_session`.
docstring_summary: Sets a secure cookie to be saved.
docstring_tokens: Sets a secure cookie to be saved .
function: def set_secure_cookie(self, name, value, **kwargs):
          """Sets a secure cookie to be saved.
  
          :param name:
              Cookie name.
          :param value:
              Cookie value. Must be a dictionary.
          :param kwargs:
              Options to save the cookie. See :meth:`get_session`.
          """
          assert isinstance(value, dict), 'Secure cookie values must be a dict.'
          container = self._get_session_container(name,
                                                  SecureCookieSessionFactory)
          container.get_session().update(value)
          container.session_args.update(kwargs)
function_tokens: def set_secure_cookie ( self , name , value , * * kwargs ) : assert isinstance ( value , dict ) , 'Secure cookie values must be a dict.' container = self . _get_session_container ( name , SecureCookieSessionFactory ) container . get_session ( ) . update ( value ) container . session_args . update ( kwargs )