wikijs-fork/server/graph/schemas/authentication.graphql

33 lines
554 B
GraphQL
Raw Normal View History

extend type Query {
authentication: AuthenticationQuery
}
extend type Mutation {
authentication: AuthenticationMutation
}
type AuthenticationQuery {
providers(
filter: String
orderBy: String
): [AuthenticationProvider]
}
type AuthenticationMutation {
updateProvider(
provider: String!
isEnabled: Boolean!
config: [KeyValuePairInput]
): DefaultResponse
}
type AuthenticationProvider {
isEnabled: Boolean!
key: String!
props: [String]
title: String!
useForm: Boolean!
icon: String
config: [KeyValuePair]
}