Documentation ¶
Index ¶
Constants ¶
View Source
const RequiredAuthenticationFilterName = "RequiredAuthenticationFilter"
RequiredAuthenticationFilterName is the name of RequiredAuthenticationFilter
View Source
const RequiredAuthorizationFilterName = "RequiredAuthorizationFilter"
RequiredAuthorizationFilterName is the name of RequiredAuthorizationFilter
Variables ¶
This section is empty.
Functions ¶
func NewRequiredAuthnFilter ¶
NewRequiredAuthnFilter returns web.Filter
func NewRequiredAuthzFilter ¶
func NewRequiredAuthzFilter(matchers []web.FilterMatcher) web.Filter
NewRequiredAuthzFilter returns web.Filter which requires at least one authorization flows to be successful
Types ¶
type AuthenticationFilter ¶ added in v0.3.3
type AuthenticationFilter struct { *middlewares.Authentication // contains filtered or unexported fields }
func NewAuthenticationFilter ¶ added in v0.3.3
func NewAuthenticationFilter(authenticator http.Authenticator, name string, matchers []web.FilterMatcher) *AuthenticationFilter
func (*AuthenticationFilter) FilterMatchers ¶ added in v0.3.3
func (af *AuthenticationFilter) FilterMatchers() []web.FilterMatcher
func (*AuthenticationFilter) Name ¶ added in v0.3.3
func (af *AuthenticationFilter) Name() string
Click to show internal directories.
Click to hide internal directories.