@vk-io/authorization
    Preparing search index...

    Class DirectAuthorization

    Index

    Constructors

    Properties

    captchaAttempts: number = 0
    captchaValidate?: ICallbackServiceValidate
    fetchCookie: FetchWrapper
    jar: CookieJar
    started: boolean
    twoFactorAttempts: number = 0
    twoFactorValidate?: ICallbackServiceValidate

    Accessors

    Methods

    • Process captcha

      Parameters

      • __namedParameters: { captcha_img: string; captcha_sid: string }

      Returns Promise<Response>

    • Process two-factor

      Parameters

      • __namedParameters: { phone_mask: string; validation_type: string }

      Returns Promise<Response>