oauth2token

Crates.iooauth2token
lib.rsoauth2token
version0.1.1
sourcesrc
created_at2023-10-07 18:44:24.365309
updated_at2023-10-30 20:11:27.52176
descriptionObtains OAuth 2.0 tokens
homepagehttps://gitlab.com/romk/oauth2token
repositoryhttps://gitlab.com/romk/oauth2token
max_upload_size
id996534
size54,896
(r0mk1)

documentation

README

oauth2token

Obtains OAuth 2.0 tokens

Usage

$ oauth2token [OPTIONS] --grant-type <GRANT_TYPE> --client-id <CLIENT_ID> --client-secret <CLIENT_SECRET> <AUTH_URL>

Arguments:
  <AUTH_URL>  Authentication URL

Options:
  -g, --grant-type <GRANT_TYPE>        OAuth2 grant type [possible values: client_credentials]
  -i, --client-id <CLIENT_ID>          Client ID
  -s, --client-secret <CLIENT_SECRET>  Client Secret
  -r, --response                       Print the whole response instead of just token
  -h, --help                           Print help
  -V, --version                        Print version

License

GPLv3

Commit count: 2

cargo fmt