33 lines
554 B
GraphQL
33 lines
554 B
GraphQL
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]
|
|
}
|