| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 | 
							- # ===============================================
 
- # AUTHENTICATION
 
- # ===============================================
 
- extend type Query {
 
-   authentication: AuthenticationQuery
 
- }
 
- extend type Mutation {
 
-   authentication: AuthenticationMutation
 
- }
 
- # -----------------------------------------------
 
- # QUERIES
 
- # -----------------------------------------------
 
- type AuthenticationQuery {
 
-   strategies(
 
-     filter: String
 
-     orderBy: String
 
-   ): [AuthenticationStrategy]
 
- }
 
- # -----------------------------------------------
 
- # MUTATIONS
 
- # -----------------------------------------------
 
- type AuthenticationMutation {
 
-   login(
 
-     username: String!
 
-     password: String!
 
-     strategy: String!
 
-   ): AuthenticationLoginResponse
 
-   loginTFA(
 
-     loginToken: String!
 
-     securityCode: String!
 
-   ): DefaultResponse
 
-   updateStrategies(
 
-     strategies: [AuthenticationStrategyInput]
 
-   ): DefaultResponse
 
- }
 
- # -----------------------------------------------
 
- # TYPES
 
- # -----------------------------------------------
 
- type AuthenticationStrategy {
 
-   isEnabled: Boolean!
 
-   key: String!
 
-   props: [String]
 
-   title: String!
 
-   description: String
 
-   useForm: Boolean!
 
-   logo: String
 
-   website: String
 
-   icon: String
 
-   config: [KeyValuePair]
 
-   selfRegistration: Boolean!
 
-   domainWhitelist: [String]!
 
-   autoEnrollGroups: [Int]!
 
- }
 
- type AuthenticationLoginResponse {
 
-   responseResult: ResponseStatus
 
-   tfaRequired: Boolean
 
-   tfaLoginToken: String
 
- }
 
- input AuthenticationStrategyInput {
 
-   isEnabled: Boolean!
 
-   key: String!
 
-   config: [KeyValuePairInput]
 
-   selfRegistration: Boolean!
 
-   domainWhitelist: [String]!
 
-   autoEnrollGroups: [Int]!
 
- }
 
 
  |