Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/tanaikech/gogauth

Package main (doc.go) : This is a CLI tool to retrieve easily access token for using APIs on Google. 1. Retrieves easily access token for using APIs on Google. 2. Uses expiration time of access token. 3. Confirms condition of access token. For the access token, you can see expiration time, owner, scopes and client id. --------------------------------------------------------------- # Usage Help $ gogauth --help $ gogauth g After 1st run of `$ gogauth g`, you can see a configuration file `gogauth.cfg` on the current working directory. The access token is retrieved with `https://www.googleapis.com/auth/drive.readonly` as an initial scope. When you want to change the scope, please modify the `gogauth.cfg`. Of course, you can write several scopes. After modified it, please execute below. $ gogauth g -r By this, new access token and refresh token for the modified scopes are retrieved, and updated `gogauth.cfg`. From this version, the code for retrieving refresh token is retrieved by web server on gogauth. The port for the server is 8080 as a default port number. If you want to change the port, please run below. $ gogauth g -r -p [ port number ] Also you can see the condition of access token using this tool. $ gogauth c -a [ access token ] You can see release page https://github.com/tanaikech/gogauth/releases --------------------------------------------------------------- Package main (gettokens.go) : Get access token and refresh token from client_secret.json and scopes. Package main (gogauth.go) : This file is included all commands and options. Package main (handler.go) : Handler for gogauth

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/tanaikech/gogauth
Keywords: access-token, cli, cli-apps, cli-tool, golang, google-oauth2
License: MIT
Latest release: over 4 years ago
First release: about 7 years ago
Namespace: github.com/tanaikech
Stars: 2 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago

    Loading...
    Readme
    Loading...