auth

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: MIT Imports: 3 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL