Files
speckle-server/modules/apps/graph/schemas/auth.graphql
T
2020-07-15 10:52:07 +01:00

34 lines
476 B
GraphQL

extend type Query {
serverApp( id: String! ): ServerApp
}
type ServerApp {
id: String!
name: String!
author: String!
ownerId: String
createdAt: String!
firstparty: Boolean!
redirectUrl: String!
scopes: [Scope]
}
extend type User {
"""
Apps used by this user.
"""
apps: [ServerApp]
}
extend type ServerInfo {
authStrategies: [AuthStrategy]
}
type AuthStrategy {
id: String!,
name: String!,
icon: String!,
url: String!,
color: String
}