Skip to main content

Simple tool for testing token authentication during development.

Project description

PyPI GitHub release (latest SemVer including pre-releases) GitHub all releases PyPI - Python Version

GitHub issues GitHub commit activity GitHub Repo stars

Python package Pylint

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


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)

Uploaded Source

Built Distribution

token_auth_cli-0.2.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for token-auth-cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1061418510688b3946e524a75040eb45941e6251d3464c1862daebb5142d93d7
MD5 d903481949228c094e45aeb1606a45e5
BLAKE2b-256 ddc2aa9a1ab7b89853872f0ff2c1099ff9a8cb4851e6c44584c51f77e3410942

See more details on using hashes here.

File details

Details for the file token_auth_cli-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for token_auth_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09d82d8e58c568f908b6cc71f63dba4399e47045571fd6ec97b21d6b74f414fa
MD5 20500b1398bc773551ad78e2f253b8bd
BLAKE2b-256 7e8ecd258fab7291eeb2c49bc4f0a87202f03fd089b7d27a67964c091de3b4a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page