Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + const PluginName + type Policy struct + func (policy Policy) CreateDefaultConfig(gatewayProvider string, ctx map[string]interface{}) apipolicy.PolicyDto + func (policy Policy) ParseConfig(dto apipolicy.PolicyDto, ctx map[string]interface{}, forValidate bool) (apipolicy.PolicyConfig, error) + func (policy Policy) UnmarshalConfig(config []byte, gatewayProvider string) (apipolicy.PolicyDto, error, string) + type PolicyDto struct + CookieSecure bool + ErrMsg string + ErrStatus int64 + ExcludedMethod []string + RefreshTTL int64 + Switch bool + TokenDomain string + TokenName string + UserCookie string + ValidTTL int64 + func (dto PolicyDto) IsValidDto(gatewayProvider string) (bool, string)