authentication.graphql 510 B

1234567891011121314151617181920212223242526272829
  1. extend type Query {
  2. authentication: AuthenticationQuery
  3. }
  4. extend type Mutation {
  5. authentication: AuthenticationMutation
  6. }
  7. type AuthenticationQuery {
  8. providers: [AuthenticationProvider]
  9. }
  10. type AuthenticationMutation {
  11. updateProvider(
  12. provider: String!
  13. isEnabled: Boolean!
  14. config: [KeyValuePairInput]
  15. ): DefaultResponse
  16. }
  17. type AuthenticationProvider {
  18. isEnabled: Boolean!
  19. key: String!
  20. props: [String]
  21. title: String!
  22. useForm: Boolean!
  23. icon: String
  24. config: [KeyValuePair]
  25. }