Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth: a new option for configuring TTL of jwt tokens #8302

Merged
merged 2 commits into from
Feb 28, 2018

Commits on Feb 27, 2018

  1. auth: a new option for configuring TTL of jwt tokens

    This commit adds a new option of --auth-token, ttl, for configuring
    TTL of jwt tokens. It can be specified like this:
    ```
    --auth-token jwt,pub-key=<pub key path>,priv-key=<priv key path>,sign-method=<sign method>,ttl=5m
    ```
    
    In the above case, TTL will be 5 minutes.
    mitake committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    8fd01f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a54e32 View commit details
    Browse the repository at this point in the history