<reponame>lukaszlaszuk/insightconnect-plugins<gh_stars>10-100
# GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json


class Component:
    DESCRIPTION = "Returns an object containing all of a user's factors for MFA"


class Input:
    USER_ID = "user_id"
    

class Output:
    FACTORS = "factors"
    

class GetFactorsInput(komand.Input):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "user_id": {
      "type": "string",
      "title": "Okta User ID",
      "description": "User ID to get factors for",
      "order": 1
    }
  },
  "required": [
    "user_id"
  ]
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)


class GetFactorsOutput(komand.Output):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "factors": {
      "type": "array",
      "title": "Okta MFA Factors",
      "description": "Obbject containing all the factors of a user for MFA",
      "items": {
        "type": "object"
      },
      "order": 1
    }
  }
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)

# GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json


class Component:
    DESCRIPTION = "Returns an object containing all of a user's factors for MFA"


class Input:
    USER_ID = "user_id"
    

class Output:
    FACTORS = "factors"
    

class GetFactorsInput(komand.Input):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "user_id": {
      "type": "string",
      "title": "Okta User ID",
      "description": "User ID to get factors for",
      "order": 1
    }
  },
  "required": [
    "user_id"
  ]
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)


class GetFactorsOutput(komand.Output):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "factors": {
      "type": "array",
      "title": "Okta MFA Factors",
      "description": "Obbject containing all the factors of a user for MFA",
      "items": {
        "type": "object"
      },
      "order": 1
    }
  }
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)
# GENERATED BY KOMAND SDK - DO NOT EDIT {   "type": "object",   "title": "Variables",   "properties": {     "user_id": {       "type": "string",       "title": "Okta User ID",       "description": "User ID to get factors for",       "order": 1     }   },   "required": [     "user_id"   ] } {   "type": "object",   "title": "Variables",   "properties": {     "factors": {       "type": "array",       "title": "Okta MFA Factors",       "description": "Obbject containing all the factors of a user for MFA",       "items": {         "type": "object"       },       "order": 1     }   } }