Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

commercelayer-cli-plugin-token

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

commercelayer-cli-plugin-token

commercelayer-cli-plugin-token ==============================

unpublished
latest
Source
npmnpm
Version
1.0.0-beta.0
Version published
Maintainers
1
Created
Source

commercelayer-cli-plugin-token

oclif Version Downloads/week License

Usage

$ commercelayer-cli-plugin-token COMMAND

$ commercelayer-cli-plugin-token (-v | version | --version) to check the version of the CLI you have installed.

$ commercelayer-cli-plugin-token [COMMAND] (--help | -h) for detailed information about CLI commands.

Commands

commercelayer-cli-plugin-token token:create

Create a new custom access token.

USAGE
  $ commercelayer-cli-plugin-token token:create

OPTIONS
  -m, --minutes=minutes            (required) minutes to token expiration [2, 120]
  -o, --organization=organization  (required) the slug of your organization
  -s, --shared=shared              (required) organization shared secret
  --info                           show access token info

See code: src/commands/token/create.ts

commercelayer-cli-plugin-token token:decode [TOKEN]

Decode a Commerce Layer access token.

USAGE
  $ commercelayer-cli-plugin-token token:decode [TOKEN]

ARGUMENTS
  TOKEN  the access token to decode

OPTIONS
  -o, --organization=organization  (required) the slug of your organization

See code: src/commands/token/decode.ts

commercelayer-cli-plugin-token token:get

Get a new access token.

USAGE
  $ commercelayer-cli-plugin-token token:get

OPTIONS
  -S, --scope=scope                access token scope (market, stock location)
  -e, --email=email                customer email
  -i, --clientId=clientId          (required) application client_id
  -o, --organization=organization  (required) the slug of your organization
  -p, --password=password          customer secret password
  -s, --clientSecret=clientSecret  application client_secret
  --info                           show access token info

See code: src/commands/token/get.ts

commercelayer-cli-plugin-token token:revoke [TOKEN]

Revoke a Commerce Layer access token.

USAGE
  $ commercelayer-cli-plugin-token token:revoke [TOKEN]

ARGUMENTS
  TOKEN  access token to revoke

OPTIONS
  -i, --clientId=clientId          (required) application client_id
  -o, --organization=organization  (required) the slug of your organization
  -s, --clientSecret=clientSecret  (required) application client_secret

See code: src/commands/token/revoke.ts

Keywords

oclif

FAQs

Package last updated on 07 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts