authentication.graphql 554 B

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