Auth

type AuthConfig struct {
   *gormadapter.Adapter
   Type     string `yaml:"type" env:"AUTH_TYPE" env-default:"simple"`
   Casbin   *Casbin
   Enforcer *casbin.Enforcer
}

Last updated