0.2.4 • Published 2 years ago

unity-verify-code v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

License: MIT Release npm npm-dm

unity-verify-code

dependencies Status

An email parser to get 6 digit verification code.

This tool is design to use with unity-license-activate so you can feed verification code to get pass Unity's TFA.

💾 Prerequisite

This application uses IMAP to parse your verification email from Unity, so make sure your email's IMAP service is enabled!

P.S. All email services should have the similar steps!

📬 Supported mail services

NameDoneValue
Gmailimap.gmail.com
Hotmailimap-mail.outlook.com
Outlookimap-mail.outlook.com
Yahooimap.mail.yahoo.com
Foxmailimap.qq.com
QQimap.qq.com

🔨 How to use?

You can use these tools with any CI/CD system as long as you have the Node environment set up! Here is an example of GitHub Actions.

jobs:
  acquire_ulf:
    name: Acquire .ulf file 🔑
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [14.x]
    steps:
      - name: Set up Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}

      - name: Install node package, `unity-license-activate`
        run: npm install --global unity-license-activate

      # You would only have to install it!
      - name: Install node package, `unity-verify-code`
        run: npm install --global unity-verify-code

      - name: Activate the license
        run: unity-license-activate "${{ secrets.UNITY_EMAIL }}" "${{ secrets.UNITY_PASSWORD }}" "${{ needs.request_alf.outputs.alf }}"

See the full example here.

📇 Command Line Arguments

usage : unity-verify-code [--port] [--tls]
                          EMAIL [EMAIL ...] PASSWORD [PASSWORD ...] HOST [HOST ...]
                          SAVE_PATH [SAVE_PATH ...]

Unity License Activate : An email parser to get 6 digit verification code.

positional arguments:
  EMAIL          Username or Email you use to register for Unity account
  PASSWORD       Password to login Unity account
  SAVE_PATH      File path to save the 6 digit code.

optional arguments:
  --port         Port number of the IMAP server. Default: 143
  --tls          boolean - Perform implicit TLS connection? Default: false
0.2.4

2 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago