Module: Static::GetUserPoolSettings

Defined in:
lib/static.rb

Constant Summary collapse

Name =
"getUserPoolSettings"
Query =
<<-EOS
  query getUserPoolSettings($userPoolId: String!){
  getUserPoolSettings(userPoolId: $userPoolId){
      _id
      user{
          _id
          username
          email
          unionid
          openid
          emailVerified
          phone
          phoneVerified
          nickname
          company
          photo
          browser
          password
          registerInClient
          registerMethod
          oauth
          token
          tokenExpiredAt
          loginsCount
          lastLogin
          lastIP
          signedUp
          blocked
          isDeleted
          device
          name
          givenName
          familyName
          middleName
          profile
          preferredUsername
          website
          gender
          birthdate
          zoneinfo
          locale
          address
          formatted
          streetAddress
          locality
          region
          postalCode
          country
          updatedAt
          oldPassword
          metadata
      }
      clientType{
          _id
          name
          description
          image
          example
      }
      userPoolTypes{
          _id
          name
          description
          image
          example
      }
      usersCount
      logo
      emailVerifiedDefault
      sendWelcomeEmail
      registerDisabled
      showWXMPQRCode
      useMiniLogin
      useSelfWxapp
      allowedOrigins
      name
      secret
      token
      descriptions
      jwtExpired
      createdAt
      isDeleted
      frequentRegisterCheck{
          timeInterval
          limit
          enable
      }
      loginFailCheck{
          timeInterval
          limit
          enable
      }
      enableEmail
      changePhoneStrategy{
          verifyOldPhone
      }
      changeEmailStrategy{
          verifyOldEmail
      }
      qrcodeLoginStrategy{
          qrcodeExpiresAfter
          returnFullUserInfo
          allowExchangeUserInfoFromBrowser
          ticketExpiresAfter
      }
      app2WxappLoginStrategy{
          ticketExpriresAfter
          ticketExchangeUserInfoNeedSecret
      }
  }
}
EOS