Next Planet of Monkeys

    @indiekit/endpoint-token

    1.0.0-alpha.12 • Public • Published

    @indiekit/endpoint-token

    Token endpoint for Indiekit.

    Installation

    npm i @indiekit/endpoint-token

    Usage

    Add @indiekit/endpoint-token to your list of plug-ins, specifying options as required:

    {
      "plugins": ["@indiekit/endpoint-token"],
      "@indiekit/endpoint-token": {
        "mountPath": "/jeton" // fr-FR
      }
    }

    You will also need to set a TOKEN_SECRET environment variable to sign and verify tokens created by this endpoint.

    Options

    Option Type Description
    mountPath string Path to token endpoint. Optional, defaults to /token.

    Install

    npm i @indiekit/endpoint-token

    DownloadsWeekly Downloads

    28

    Version

    1.0.0-alpha.12

    License

    MIT

    Unpacked Size

    14.5 kB

    Total Files

    16

    Last publish

    Collaborators

    • paulrobertlloyd