1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

graphql: expose the logo_uri in the OAuth 2.0 client

Fixes #1705
This commit is contained in:
Quentin Gliech
2023-09-06 09:18:17 +02:00
parent 571e4d2d75
commit bc3f665739
4 changed files with 19 additions and 0 deletions

View File

@ -158,6 +158,11 @@ impl OAuth2Client {
self.0.client_uri.as_ref()
}
/// Logo URI advertised by the client.
pub async fn logo_uri(&self) -> Option<&Url> {
self.0.logo_uri.as_ref()
}
/// Terms of services URI advertised by the client.
pub async fn tos_uri(&self) -> Option<&Url> {
self.0.tos_uri.as_ref()