Skip to content

Add argument for token expiry date #385

Description

@gctucker

The current /token endpoint does not provide a way for clients to specify the lifetime of the token to be generated. This should be added as a way to override the internal API default expiry value.

  • expiry date / time added to the /token endpoint
  • unit tests updated accordingly
  • end-to-end tests updated accordingly
  • --expiry option added to kci user token and underlying API Python bindings in kernelci-core

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions