tokenlifecycle

package
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MaxTokenExpire = 720 * time.Hour

Variables

This section is empty.

Functions

func ValidateTokenExpire

func ValidateTokenExpire(vp *viper.Viper) (time.Duration, error)

ValidateTokenExpire validates Viper's raw post-env-override value before octo-lib GetDuration can silently replace an invalid explicit value with its default. Only an actually absent key receives the 720h default.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址