Version: v1.7

hydra token flush

hydra token flush

Removes inactive access tokens from the database

Synopsis

Removes inactive access tokens from the database

hydra token flush [flags]

Options

--access-token string Set an access token to be used in the Authorization header, defaults to environment variable OAUTH2_ACCESS_TOKEN
--endpoint string Set the URL where ORY Hydra is hosted, defaults to environment variable HYDRA_ADMIN_URL
-h, --help help for flush
--min-age duration Skip removing tokens which do not satisfy the minimum age (1s, 1m, 1h)

Options inherited from parent commands

--config string Config file (default is $HOME/.hydra.yaml)
--fail-after duration Stop retrying after the specified duration (default 1m0s)
--fake-tls-termination fake tls termination by adding "X-Forwarded-Proto: https" to http headers
--skip-tls-verify Foolishly accept TLS certificates signed by unkown certificate authorities

SEE ALSO

Last updated on by aeneasr