Documentation ¶
Index ¶
- Constants
- func AuthJWTConfCheck(conf AuthJWTConfFile) error
- func AuthJWTRuleCheck(conf AuthJWTRuleFile) error
- func ProductRulesCheck(conf *ProductRulesFile) error
- func RuleListCheck(conf *RuleFileList) error
- type AuthJWTConf
- type AuthJWTConfFile
- type AuthJWTRule
- type AuthJWTRuleFile
- type AuthJWTRuleTable
- type ConfModAuthJWT
- type ModuleAuthJWT
- type ModuleAuthJWTState
- type ProductRules
- type ProductRulesFile
- type RuleFileList
- type RuleList
Constants ¶
View Source
const (
ModAuthJWT = "mod_auth_jwt"
)
Variables ¶
This section is empty.
Functions ¶
func AuthJWTConfCheck ¶
func AuthJWTConfCheck(conf AuthJWTConfFile) error
func AuthJWTRuleCheck ¶
func AuthJWTRuleCheck(conf AuthJWTRuleFile) error
func ProductRulesCheck ¶
func ProductRulesCheck(conf *ProductRulesFile) error
func RuleListCheck ¶
func RuleListCheck(conf *RuleFileList) error
Types ¶
type AuthJWTConf ¶
type AuthJWTConf struct { Version string Config ProductRules }
func AuthJWTConfLoad ¶
func AuthJWTConfLoad(filename string) (AuthJWTConf, error)
type AuthJWTConfFile ¶
type AuthJWTConfFile struct { Version *string Config *ProductRulesFile }
type AuthJWTRule ¶
type AuthJWTRuleFile ¶
type AuthJWTRuleTable ¶
type AuthJWTRuleTable struct {
// contains filtered or unexported fields
}
func NewAuthJWTRuleTable ¶
func NewAuthJWTRuleTable() *AuthJWTRuleTable
func (*AuthJWTRuleTable) Search ¶
func (t *AuthJWTRuleTable) Search(product string) (*RuleList, bool)
func (*AuthJWTRuleTable) Update ¶
func (t *AuthJWTRuleTable) Update(conf AuthJWTConf)
type ConfModAuthJWT ¶
func (*ConfModAuthJWT) Check ¶
func (cfg *ConfModAuthJWT) Check(confRoot string) error
type ModuleAuthJWT ¶
type ModuleAuthJWT struct {
// contains filtered or unexported fields
}
func NewModuleAuthJWT ¶
func NewModuleAuthJWT() *ModuleAuthJWT
func (*ModuleAuthJWT) Init ¶
func (m *ModuleAuthJWT) Init(cbs *bfe_module.BfeCallbacks, whs *web_monitor.WebHandlers, cr string) error
func (*ModuleAuthJWT) Name ¶
func (m *ModuleAuthJWT) Name() string
type ModuleAuthJWTState ¶
type ProductRules ¶
type ProductRulesFile ¶
type ProductRulesFile map[string]*RuleFileList
type RuleFileList ¶
type RuleFileList []AuthJWTRuleFile
type RuleList ¶
type RuleList []AuthJWTRule
Click to show internal directories.
Click to hide internal directories.