feat: vue-apollo + auth providers resolver (wip)

This commit is contained in:
NGPixel
2018-03-05 20:53:24 -05:00
parent 91b575529c
commit f5fb21aaba
14 changed files with 158 additions and 558 deletions

View File

@@ -10,7 +10,13 @@ type AuthenticationQuery {
providers: [AuthenticationProvider]
}
type AuthenticationMutation
type AuthenticationMutation {
updateProvider(
provider: String!
isEnabled: Boolean!
config: [KeyValuePairInput]
): DefaultResponse
}
type AuthenticationProvider {
isEnabled: Boolean!
@@ -19,5 +25,5 @@ type AuthenticationProvider {
title: String!
useForm: Boolean!
icon: String
config: String
config: [KeyValuePair]
}