30 lines
510 B
GraphQL
30 lines
510 B
GraphQL
extend type Query {
|
|
authentication: AuthenticationQuery
|
|
}
|
|
|
|
extend type Mutation {
|
|
authentication: AuthenticationMutation
|
|
}
|
|
|
|
type AuthenticationQuery {
|
|
providers: [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]
|
|
}
|