2023-10-08 15:59:42 +07:00
|
|
|
package config
|
|
|
|
|
|
|
|
|
|
type Jwt struct {
|
2024-07-23 01:36:25 +07:00
|
|
|
Token Token `mapstructure:"token"`
|
|
|
|
|
TokenOrder Token `mapstructure:"token-order"`
|
|
|
|
|
TokenResetPassword Token `mapstructure:"token-reset-password"`
|
2024-07-31 23:02:15 +07:00
|
|
|
TokenWithdraw Token `mapstructure:"token-withdraw"`
|
2025-04-26 12:23:12 +07:00
|
|
|
TokenCustomer Token `mapstructure:"token-customer"`
|
2023-10-08 15:59:42 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Token struct {
|
|
|
|
|
ExpiresTTL int `mapstructure:"expires-ttl"`
|
|
|
|
|
Secret string `mapstructure:"secret"`
|
|
|
|
|
}
|