Giter Club home page Giter Club logo

unity-verify-code's Introduction

License: MIT Release npm npm-dt 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

Name Done Value
Gmail โœ” imap.gmail.com
Hotmail โœ” imap-mail.outlook.com
Outlook โœ” imap-mail.outlook.com
Yahoo โœ” imap.mail.yahoo.com
Foxmail โœ” imap.qq.com
QQ โœ” imap.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

โšœ๏ธ Licence

This repository is MIT licensed.

This includes all contributions from the community.

unity-verify-code's People

Contributors

jcs090218 avatar shaun-fong avatar webbertakken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

unity-verify-code's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.