Versions in this module Expand all Collapse all v1 v1.0.1 May 12, 2023 v1.0.0 May 12, 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