oauth2c
Interact with OAuth 2.0 authorization servers. More information: https://github.com/cloudentity/oauth2c#usage.
- Fetch an access token using client credentials:
oauth2c --client-id --client-secret
- Fetch a token using authorization code flow:
oauth2c --client-id --response-types code
- Fetch a token using authorization code with PKCE:
oauth2c --client-id --pkce
- Fetch a token using password credentials:
oauth2c --client-id --username --password
- Refresh an existing access token:
oauth2c --client-id --refresh-token
- Fetch a token with specific scopes:
oauth2c --client-id --scopes
- Use device authorization flow:
oauth2c --client-id --grant-type device_code
- Run in silent mode without browser:
oauth2c --client-id --no-browser
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
