Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct {
apipolicy.BasePolicy
}
func (Policy) CreateDefaultConfig ¶
func (Policy) ParseConfig ¶
type PolicyDto ¶
type PolicyDto struct { apipolicy.BaseDto Switch bool `json:"switch"` UserCookie string `json:"userCookie"` ExcludedMethod []string `json:"excludedMethod"` TokenName string `json:"tokenName"` TokenDomain string `json:"tokenDomain"` CookieSecure bool `json:"cookieSecure"` ValidTTL int64 `json:"validTTL"` RefreshTTL int64 `json:"refreshTTL"` ErrStatus int64 `json:"errStatus"` ErrMsg string `json:"errMsg"` }
func (PolicyDto) IsValidDto ¶
Click to show internal directories.
Click to hide internal directories.