def METHOD_NAME():
    """Try to revoke/save/get refresh tokens"""
    DToken = dict(
        access_token=jwt.encode({"alg": "HS256"}, payload, "secret").decode("utf-8"),
        refresh_token=jwt.encode({"alg": "HS256"}, payload, "secret").decode("utf-8"),
        expires_at=int(time.time()) + 3600,
    )
    New_DToken = dict(
        access_token=jwt.encode({"alg": "HS256"}, payload, "secret").decode("utf-8"),
        refresh_token=jwt.encode({"alg": "HS256"}, payload, "secret").decode("utf-8"),
        expires_in=int(time.time()) + 3600,
    )
    preset_jti = "123"
    # Remove refresh token
    result = db.revokeRefreshToken(preset_jti)
    assert result["OK"], result["Message"]
    # Store tokens
    result = db.storeRefreshToken(DToken.copy(), preset_jti)
    assert result["OK"], result["Message"]
    assert result["Value"]["jti"] == preset_jti
    assert result["Value"]["iat"] <= int(time.time())
    result = db.storeRefreshToken(New_DToken.copy())
    assert result["OK"], result["Message"]
    assert result["Value"]["jti"]
    assert result["Value"]["iat"] <= int(time.time())
    token_id = result["Value"]["jti"]
    issued_at = result["Value"]["iat"]
    # Check token
    result = db.getCredentialByRefreshToken(preset_jti)
    assert result["OK"], result["Message"]
    assert result["Value"]["jti"] == preset_jti
    assert result["Value"]["access_token"] == DToken["access_token"]
    assert result["Value"]["refresh_token"] == DToken["refresh_token"]
    result = db.getCredentialByRefreshToken(token_id)
    assert result["OK"], result["Message"]
    assert result["Value"]["jti"] == token_id
    assert int(result["Value"]["issued_at"]) == issued_at
    assert result["Value"]["access_token"] == New_DToken["access_token"]
    assert result["Value"]["refresh_token"] == New_DToken["refresh_token"]
    # Check token after request
    for jti in [token_id, preset_jti]:
        result = db.getCredentialByRefreshToken(jti)
        assert result["OK"], result["Message"]
        assert not result["Value"]
    # Renew tokens
    result = db.storeRefreshToken(New_DToken.copy(), token_id)
    assert result["OK"], result["Message"]
    # Revoke token
    result = db.revokeRefreshToken(token_id)
    assert result["OK"], result["Message"]
    # Check token
    result = db.getCredentialByRefreshToken(token_id)
    assert result["OK"], result["Message"]
    assert not result["Value"]