Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
WhiteAuthList = []string{
"/oauth2",
"/userinfo",
}
)
Functions ¶
func Init ¶
func Init( t jwt.Tokenizer, tmr api.TokenManager, tenantConfig *shttp.WebMultiTenancyOption, clientName api.ClientName, services *conf2.Services, security *conf2.Security, userTenant *uapi.UserTenantContrib, tenantStore saas.TenantStore, refreshTokenProvider session.RefreshTokenProvider, as authz.Service, sr authz.SubjectResolver, logger klog.Logger, ) error
Types ¶
type KitAuthConf ¶
type KitAuthConf struct { }
type KitAuthn ¶
type KitAuthn struct {
plugin.DefaultPlugin
}
func (*KitAuthn) RequestFilter ¶
func (p *KitAuthn) RequestFilter(_ interface{}, w http.ResponseWriter, r pkgHTTP.Request)
type KitAuthz ¶
type KitAuthz struct {
plugin.DefaultPlugin
}
KitAuthz authorization plugin
func (*KitAuthz) RequestFilter ¶
func (p *KitAuthz) RequestFilter(conf interface{}, w http.ResponseWriter, r pkgHTTP.Request)
type KitAuthzConf ¶
type KitAuthzConf struct {
Requirement []Requirement `json:"requirement"`
}
type Requirement ¶
Click to show internal directories.
Click to hide internal directories.