Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -716,7 +716,7 @@ async fn refresh_token_grant(
|
||||
return Err(RouteError::RefreshTokenInvalid(next_refresh_token.id));
|
||||
}
|
||||
|
||||
// This could be a double-refresh, see bellow
|
||||
// This could be a double-refresh, see below
|
||||
repo.oauth2_access_token()
|
||||
.revoke(clock, next_access_token)
|
||||
.await?;
|
||||
|
||||
@@ -146,8 +146,8 @@ pub trait OAuth2RefreshTokenRepository: Send + Sync {
|
||||
/// # Parameters
|
||||
///
|
||||
/// * `since`: An optional timestamp to start from
|
||||
/// * `until`: The timestamp before which to revoke tokens
|
||||
/// * `limit`: The maximum number of tokens to revoke
|
||||
/// * `until`: The timestamp before which to delete tokens
|
||||
/// * `limit`: The maximum number of tokens to delete
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user