You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-21 23:00:50 +03:00
Fully document the mas_core::filters module
This commit is contained in:
@@ -22,7 +22,7 @@ use crate::{
|
||||
config::{OAuth2ClientConfig, OAuth2Config},
|
||||
errors::WrapError,
|
||||
filters::{
|
||||
client::{with_client_auth, ClientAuthentication},
|
||||
client::{client_authentication, ClientAuthentication},
|
||||
database::connection,
|
||||
},
|
||||
storage::oauth2::{access_token::lookup_access_token, refresh_token::lookup_refresh_token},
|
||||
@@ -36,7 +36,7 @@ pub fn filter(
|
||||
warp::path!("oauth2" / "introspect")
|
||||
.and(warp::post())
|
||||
.and(connection(pool))
|
||||
.and(with_client_auth(oauth2_config))
|
||||
.and(client_authentication(oauth2_config))
|
||||
.and_then(introspect)
|
||||
.recover(recover)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user