# Path: vk_auth/vk_app.py
# class VKApp(Enum):
#     # subclass describes vk_auth app
#     class app:
#         cid = ''
#         sec = ''
# 
#         def __init__(self, cid, sec):
#             self.cid = cid
#             self.sec = sec
# 
#     APPLE_IPHONE = app("3140623", "VeWdmVclDCtn6ihuP1nt")
#     WIN = app("3697615", "AlVXZFMUqyrnABp8ncuU")
#     ANDROID = app("2274003", "hHbZxrka2uZ6jB1inYsH")


from bot_header import *
from vk_auth.vk_app import VKApp
import vk_auth.vk_2fa_type
    two_factor_phone_number = ''
    two_factor_method = None

# class describe captcha fields
class CaptchaObject:
    captcha_code = ''
    captcha_url = ''
    captcha_sid = ''

    # format id of captcha image and value from user to string
    def format(self):
        return "&captcha_sid=%s&captcha_key=%s" % (self.captcha_sid, self.captcha_code)

# class describe user auth required fields
class UserData:
    password = ''
    username = ''

# Main VKAuth class implements vk_auth authorization
class VKAuth():


    # str.split()
    ######################
    __client_id__ = ''
    __client_secret__ = ''
    __request_url__ = ''
    ######################

    # VK App e.g. Apple client or Android client or windows desktop

# Path: vk_auth/vk_app.py
# class VKApp(Enum):
#     # subclass describes vk_auth app
#     class app:
#         cid = ''
#         sec = ''
# 
#         def __init__(self, cid, sec):
#             self.cid = cid
#             self.sec = sec
# 
#     APPLE_IPHONE = app("3140623", "VeWdmVclDCtn6ihuP1nt")
#     WIN = app("3697615", "AlVXZFMUqyrnABp8ncuU")
#     ANDROID = app("2274003", "hHbZxrka2uZ6jB1inYsH")


# Path: vk_auth/auth.py
from bot_header import *
from vk_auth.vk_app import VKApp
import vk_auth.vk_2fa_type

    two_factor_phone_number = ''
    two_factor_method = None

# class describe captcha fields
class CaptchaObject:
    captcha_code = ''
    captcha_url = ''
    captcha_sid = ''

    # format id of captcha image and value from user to string
    def format(self):
        return "&captcha_sid=%s&captcha_key=%s" % (self.captcha_sid, self.captcha_code)

# class describe user auth required fields
class UserData:
    password = ''
    username = ''

# Main VKAuth class implements vk_auth authorization
class VKAuth():


    # str.split()
    ######################
    __client_id__ = ''
    __client_secret__ = ''
    __request_url__ = ''
    ######################

    # VK App e.g. Apple client or Android client or windows desktop

    auth_type = VKApp.WIN