sanic_cookies/sessions/base.py
def refresh_sid(self, sess):
        """
        Important:

            - Use this whenever your app does any user-privelage escalation to avoid session fixation attacks
            - Use this method with an async ctx manager
            - You don't have to use this with Authsess.login_user. Its already being handled for you
        """
        if self._is_static_master_interface:
            sess.sid = self.master_interface.sid_factory()
        return sess

        Important:

            - Use this whenever your app does any user-privelage escalation to avoid session fixation attacks
            - Use this method with an async ctx manager
            - You don't have to use this with Authsess.login_user. Its already being handled for you
        
Use this whenever your app does any user-privelage escalation to avoid session fixation attacks
Use this method with an async ctx manager
You don't have to use this with Authsess.login_user. Its already being handled for you
Use this whenever your app does any user - privelage escalation to avoid session fixation attacks Use this method with an async ctx manager You don ' t have to use this with Authsess . login_user . Its already being handled for you
def refresh_sid(self, sess):
        if self._is_static_master_interface:
            sess.sid = self.master_interface.sid_factory()
        return sess
def refresh_sid ( self , sess ) : if self . _is_static_master_interface : sess . sid = self . master_interface . sid_factory ( ) return sess
Important:
 Use this whenever your app does any user-privelage escalation to avoid session fixation attacks
 Use this method with an async ctx manager
 You don't have to use this with Authsess.login_user.
Important : Use this whenever your app does any user - privelage escalation to avoid session fixation attacks Use this method with an async ctx manager You don ' t have to use this with Authsess . login_user .
"""
        Important:

            - Use this whenever your app does any user-privelage escalation to avoid session fixation attacks
            - Use this method with an async ctx manager
            - You don't have to use this with Authsess.login_user. Its already being handled for you
        """
self
sess