Versions in this module Expand all Collapse all v1 v1.0.0 Oct 2, 2023 Changes in this version + const AuthorizationBasicScheme + type AuthenticationFilter func(next AuthenticationHandler) AuthenticationHandler + func BasicAuthSecurityFilter() (AuthenticationFilter, error) + func JwtAuthSecurityFilter(props *config.JwtSecurityProperties) (AuthenticationFilter, error) + type AuthenticationHandler func(w http.ResponseWriter, r *http.Request) authen.Authentication + var UnauthorizedHandler AuthenticationHandler = func(w http.ResponseWriter, r *http.Request) authen.Authentication { ... } + func CreateAuthenticationHandler(filters []AuthenticationFilter, stoppingHandler AuthenticationHandler) AuthenticationHandler