Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiddlewareHandlerBuilder ¶
type MiddlewareHandlerBuilder struct {
// contains filtered or unexported fields
}
MiddlewareHandlerBuilder is a builder for authMiddlewareHandler, allowing easier configuration
func Builder ¶
func Builder() MiddlewareHandlerBuilder
Builder initializes the Builder with all required parameters of the builder
func (MiddlewareHandlerBuilder) Build ¶
func (b MiddlewareHandlerBuilder) Build(next http.Handler) http.Handler
Build creates a new authMiddlewareHandler containing all the values of the Builder and the next handler given by parameter
func (MiddlewareHandlerBuilder) WithPermitAppPasswordAuth ¶
func (b MiddlewareHandlerBuilder) WithPermitAppPasswordAuth(permitAppPasswordAuth bool) MiddlewareHandlerBuilder
WithPermitAppPasswordAuth returns a new authMiddlewareHandlerBuilder with the permitAppPasswordAuth value
func (MiddlewareHandlerBuilder) WithPermitSessionAuth ¶
func (b MiddlewareHandlerBuilder) WithPermitSessionAuth(permitSessionAuth bool) MiddlewareHandlerBuilder
WithPermitSessionAuth returns a new AuthMiddlewareHandlerBuilder with the new permitSessionAuth value
Click to show internal directories.
Click to hide internal directories.