Discover Packages
github.com/bjxujiang/tsf-go
pkg
auth
authenticator
package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Jul 17, 2021
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AuthConfig struct {
Rules []AuthRule `yaml:"rules"`
Type string `yaml:"type"`
}
type AuthRule struct {
ID string `yaml:"ruleId"`
Name string `yaml:"ruleName"`
Tags []Tag `yaml:"tags"`
}
type Authenticator struct {
}
type Tag struct {
ID string `yaml:"tagId"`
Type string `yaml:"tagType"`
Field string `yaml:"tagField"`
Operator string `yaml:"tagOperator"`
Value string `yaml:"tagValue"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.