You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
@ -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()
|
||||
|
@ -634,6 +634,10 @@ type Oauth2Client implements Node {
|
||||
"""
|
||||
clientUri: Url
|
||||
"""
|
||||
Logo URI advertised by the client.
|
||||
"""
|
||||
logoUri: Url
|
||||
"""
|
||||
Terms of services URI advertised by the client.
|
||||
"""
|
||||
tosUri: Url
|
||||
|
@ -485,6 +485,8 @@ export type Oauth2Client = Node & {
|
||||
contacts: Array<Scalars["String"]["output"]>;
|
||||
/** ID of the object. */
|
||||
id: Scalars["ID"]["output"];
|
||||
/** Logo URI advertised by the client. */
|
||||
logoUri?: Maybe<Scalars["Url"]["output"]>;
|
||||
/** Privacy policy URI advertised by the client. */
|
||||
policyUri?: Maybe<Scalars["Url"]["output"]>;
|
||||
/** List of redirect URIs used for authorization grants by the client. */
|
||||
|
@ -1261,6 +1261,14 @@ export default {
|
||||
},
|
||||
args: [],
|
||||
},
|
||||
{
|
||||
name: "logoUri",
|
||||
type: {
|
||||
kind: "SCALAR",
|
||||
name: "Any",
|
||||
},
|
||||
args: [],
|
||||
},
|
||||
{
|
||||
name: "policyUri",
|
||||
type: {
|
||||
|
Reference in New Issue
Block a user