1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

GraphQL: query upstream links from users

This commit is contained in:
Quentin Gliech
2022-12-05 19:09:45 +01:00
parent 23fd833d45
commit 1655080b8f
5 changed files with 167 additions and 17 deletions

View File

@@ -84,6 +84,11 @@ impl UpstreamOAuth2Link {
self.link.created_at
}
/// Subject used for linking
pub async fn subject(&self) -> &str {
&self.link.subject
}
/// The provider for which this link is.
pub async fn provider(
&self,