NAME

goauth - CLI tool for easily getting of Google Mojo access tokens. Supports multiple users

VERSION

version 0.05

SYNOPSIS

goauth [tokens.json]

By default if will create config.json in current directory

Structure of config will be like

{ "gapi":
  {
    "client_id": "001122334455-abcdefghijklmnopqrstuvwxyz012345.apps.googleusercontent.com",
    "client_secret": "1ayL76NlEKjj85eZOipFZkyM",
    "tokens": {
        "email_1@gmail.com": {
            "refresh_token": "1/cI5jWSVnsUyCbasCQpDmz8uhQyfnWWphxvb1ST3oTHE",
            "access_token": "ya29.Ci-KA8aJYEAyZoxkMsYbbU9H_zj2t9-7u1aKUtrOtak3pDhJvCEPIdkW-xg2lRQdrA"
        },
        "email_2@gmail.com": {
            "access_token": "ya29.Ci-KAzT9JpaPriZ-ugON4FnANBXZexTZOz-E6U4M-hjplbIcMYpTbo0AmGV__tV5FA",
            "refresh_token": "1/_37lsRFSRaUJkAAAuJIRXRUueft5eLWaIsJ0lkJmEMU"
        }
    }
  }
}

AUTHOR

Steve Dondley <s@dondley.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Steve Dondley.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.