✨ add jwt / complete the rotation verification
This commit is contained in:
10
config/conf_jwt.go
Normal file
10
config/conf_jwt.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package config
|
||||
|
||||
type JWT struct {
|
||||
Secret string `yaml:"secret"`
|
||||
Expiration string `yaml:"expiration"`
|
||||
RefreshExpiration string `yaml:"refresh-expiration"`
|
||||
RefreshTokenKey string `yaml:"refresh-token-key"`
|
||||
HeaderKey string `yaml:"header-key"`
|
||||
HeaderPrefix string `yaml:"header-prefix"`
|
||||
}
|
Reference in New Issue
Block a user