Simple tool for testing token authentication during development.
Project description
token-auth-cli
Description
Simple tool for testing token authentication during development.
Installation
pip install token-auth-cli
or
git clone https://github.com/0djentd/token-auth-cli.git
cd token-auth-cli
python -m pip install .
How to use
Usage: token-auth-cli [OPTIONS] COMMAND [ARGS]...
token-auth-cli
Simple tool for testing token authentication during development.
Options:
--verbose / --no-verbose Show additional information
--debug / --no-debug Show debug information
--confirm-settings BOOLEAN Confirm settings before trying to get token.
--show-settings BOOLEAN Show settings before trying to get token.
--api TEXT API url.
--api-get-token TEXT API url to use when trying to get token.
--api-get TEXT API url to check if token valid.
--config FILE Config file.
--store BOOLEAN Store users/tokens.
--help Show this message and exit.
Commands:
init Create config file and users/tokens storage.
list List stored users/tokens.
login Get token and store it.
relogin Try to use stored token for authentication.
remove Remove stored user/token.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
token-auth-cli-0.2.1.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file token-auth-cli-0.2.1.tar.gz
.
File metadata
- Download URL: token-auth-cli-0.2.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1061418510688b3946e524a75040eb45941e6251d3464c1862daebb5142d93d7 |
|
MD5 | d903481949228c094e45aeb1606a45e5 |
|
BLAKE2b-256 | ddc2aa9a1ab7b89853872f0ff2c1099ff9a8cb4851e6c44584c51f77e3410942 |
File details
Details for the file token_auth_cli-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: token_auth_cli-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d82d8e58c568f908b6cc71f63dba4399e47045571fd6ec97b21d6b74f414fa |
|
MD5 | 20500b1398bc773551ad78e2f253b8bd |
|
BLAKE2b-256 | 7e8ecd258fab7291eeb2c49bc4f0a87202f03fd089b7d27a67964c091de3b4a8 |