Versions in this module Expand all Collapse all v1 v1.0.0 Oct 2, 2023 Changes in this version + type BasicAuthProperties struct + Password string + Roles []string + Username string + type BasicSecurityProperties struct + Users []*BasicAuthProperties + type HttpSecurityProperties struct + BasicAuth *BasicSecurityProperties + Jwt *JwtSecurityProperties + ProtectedUrls []*UrlToRole + PublicUrls []string + func NewHttpSecurityProperties(loader config.Loader) (*HttpSecurityProperties, error) + func (h *HttpSecurityProperties) PostBinding() error + func (h HttpSecurityProperties) Prefix() string + type JwtSecurityProperties struct + Algorithm string + PublicKey string + Type string + func (j JwtSecurityProperties) IsAlgEs() bool + func (j JwtSecurityProperties) IsAlgRs() bool + type UrlToRole struct + Method string + Roles []string + UnauthorizedWwwAuthenticateHeaders []string + UrlPattern string + func (u UrlToRole) UrlRegexp() *regexp.Regexp