Crates.io | oauth2token |
lib.rs | oauth2token |
version | 0.1.1 |
source | src |
created_at | 2023-10-07 18:44:24.365309 |
updated_at | 2023-10-30 20:11:27.52176 |
description | Obtains OAuth 2.0 tokens |
homepage | https://gitlab.com/romk/oauth2token |
repository | https://gitlab.com/romk/oauth2token |
max_upload_size | |
id | 996534 |
size | 54,896 |
Obtains OAuth 2.0 tokens
$ 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
GPLv3