def get_refresh_token(self, refresh_token):
    
        try:
            return self.db.tokens(self.db.tokens.refresh_token == refresh_token).select().first()  # 'code' == 'refresh_token', right? [pid that is]
        except AttributeError:
            self.create_tables()
            return None
Returns the token data, if the refresh token exists
dataset/ETHPy150Open joaoqalves/web2py-oauth2/modules/oauth/storage/__init__.py/web2pyStorage.get_refresh_token