Doc update.
This commit is contained in:
@@ -106,9 +106,9 @@ where
|
|||||||
.await
|
.await
|
||||||
.map_err(DatabaseError::from)?;
|
.map_err(DatabaseError::from)?;
|
||||||
|
|
||||||
// Nothing is written when the access token already exists, but it's new user ID and user app ID
|
// Nothing is written when the new user ID and user app ID are different on the existing row, or
|
||||||
// are different, or the secret hash has not changed: the update path is intended for secret
|
// the secret hash has not changed: the update path is intended for secret rotation, i.e.,
|
||||||
// rotation, i.e., updating the secret hash while keeping the same user ID and user app ID.
|
// updating the secret hash while keeping the same user ID and user app ID.
|
||||||
let Some(row) = row else {
|
let Some(row) = row else {
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -70,9 +70,9 @@ where
|
|||||||
.await
|
.await
|
||||||
.map_err(DatabaseError::from)?;
|
.map_err(DatabaseError::from)?;
|
||||||
|
|
||||||
// Nothing is written when the refresh token already exists, but it's new access token ID
|
// Nothing is written when the new access token ID is different on the existing row, or the
|
||||||
// is different, or the secret hash has not changed: the update path is intended for secret
|
// secret hash has not changed: the update path is intended for secret rotation, i.e., updating
|
||||||
// rotation, i.e., updating the secret hash while keeping the same access token ID.
|
// the secret hash while keeping the same access token ID.
|
||||||
let Some(row) = row else {
|
let Some(row) = row else {
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user