sanic_jwt/authentication.py
async def generate_refresh_token(self, request, user):
        """
        Generate a refresh token for a given user.
        """
        refresh_token = await utils.call(self.config.generate_refresh_token())
        user_id = await self._get_user_id(user)
        await utils.call(
            self.store_refresh_token,
            user_id=user_id,
            refresh_token=refresh_token,
            request=request,
        )
        return refresh_token

        Generate a refresh token for a given user.
        
Generate a refresh token for a given user.
Generate a refresh token for a given user .
async def generate_refresh_token(self, request, user):
        refresh_token = await utils.call(self.config.generate_refresh_token())
        user_id = await self._get_user_id(user)
        await utils.call(
            self.store_refresh_token,
            user_id=user_id,
            refresh_token=refresh_token,
            request=request,
        )
        return refresh_token
async def generate_refresh_token ( self , request , user ) : refresh_token = await utils . call ( self . config . generate_refresh_token ( ) ) user_id = await self . _get_user_id ( user ) await utils . call ( self . store_refresh_token , user_id = user_id , refresh_token = refresh_token , request = request , ) return refresh_token
Generate a refresh token for a given user.
Generate a refresh token for a given user .
"""
        Generate a refresh token for a given user.
        """
self
request
user