You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-31 09:24:31 +03:00
storage: remove the deperecated and unused UpstreamOAuthLinkRepository::list_paginated
method
This commit is contained in:
@ -145,26 +145,6 @@ pub trait UpstreamOAuthLinkRepository: Send + Sync {
|
|||||||
user: &User,
|
user: &User,
|
||||||
) -> Result<(), Self::Error>;
|
) -> Result<(), Self::Error>;
|
||||||
|
|
||||||
/// Get a paginated list of upstream OAuth links on a user
|
|
||||||
///
|
|
||||||
/// # Parameters
|
|
||||||
///
|
|
||||||
/// * `user`: The user for which to get the upstream OAuth links
|
|
||||||
/// * `pagination`: The pagination parameters
|
|
||||||
///
|
|
||||||
/// # Errors
|
|
||||||
///
|
|
||||||
/// Returns [`Self::Error`] if the underlying repository fails
|
|
||||||
#[deprecated(note = "Use `list` instead")]
|
|
||||||
async fn list_paginated(
|
|
||||||
&mut self,
|
|
||||||
user: &User,
|
|
||||||
pagination: Pagination,
|
|
||||||
) -> Result<Page<UpstreamOAuthLink>, Self::Error> {
|
|
||||||
self.list(UpstreamOAuthLinkFilter::new().for_user(user), pagination)
|
|
||||||
.await
|
|
||||||
}
|
|
||||||
|
|
||||||
/// List [`UpstreamOAuthLink`] with the given filter and pagination
|
/// List [`UpstreamOAuthLink`] with the given filter and pagination
|
||||||
///
|
///
|
||||||
/// # Parameters
|
/// # Parameters
|
||||||
|
Reference in New Issue
Block a user