1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Run generated files updates, fix doc links & fmt

This commit is contained in:
Quentin Gliech
2023-12-08 16:18:09 +01:00
parent 7d9d97a006
commit efa6af3294
3 changed files with 13 additions and 11 deletions

View File

@ -55,7 +55,7 @@ pub trait OAuth2DeviceCodeGrantRepository: Send + Sync {
/// * `rng`: A random number generator
/// * `clock`: The clock used to generate timestamps
/// * `params`: The parameters used to create the device code grant. See the
/// fields of [`DeviceCodeGrantParams`]
/// fields of [`OAuth2DeviceCodeGrantParams`]
///
/// # Errors
///
@ -128,7 +128,7 @@ pub trait OAuth2DeviceCodeGrantRepository: Send + Sync {
/// Returns [`Self::Error`] if the underlying repository fails or if the
/// device code grant is not in the [`Pending`] state
///
/// [`Pending`]: DeviceCodeGrantState::Pending
/// [`Pending`]: mas_data_model::DeviceCodeGrantState::Pending
async fn fulfill(
&mut self,
clock: &dyn Clock,
@ -152,7 +152,7 @@ pub trait OAuth2DeviceCodeGrantRepository: Send + Sync {
/// Returns [`Self::Error`] if the underlying repository fails or if the
/// device code grant is not in the [`Pending`] state
///
/// [`Pending`]: DeviceCodeGrantState::Pending
/// [`Pending`]: mas_data_model::DeviceCodeGrantState::Pending
async fn reject(
&mut self,
clock: &dyn Clock,
@ -176,7 +176,7 @@ pub trait OAuth2DeviceCodeGrantRepository: Send + Sync {
/// Returns [`Self::Error`] if the underlying repository fails or if the
/// device code grant is not in the [`Fulfilled`] state
///
/// [`Fulfilled`]: DeviceCodeGrantState::Fulfilled
/// [`Fulfilled`]: mas_data_model::DeviceCodeGrantState::Fulfilled
async fn exchange(
&mut self,
clock: &dyn Clock,