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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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