Files
simrsx-be/internal/use-case/main-use-case/authentication/tycovar.go
2025-08-19 14:26:19 +07:00

21 lines
378 B
Go

package authentication
type TokenType string
const AccessToken = "Access"
const RefreshToken = "Refresh"
type AuthInfo struct {
Uuid string
User_Id int
User_Name string
// User_Email string
// User_Ref_Id int
// User_Position_Code string
}
type AuthCfg struct {
AtSecretKey string `yaml:"atSecretKey"`
RtSecretKey string `yaml:"rtSecretKey"`
}