auth

package
v6.7.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionAuthConfig

type SessionAuthConfig struct {
	AuthFailedHandler  func(w http.ResponseWriter, r *http.Request, err error)
	AuthSuccessHandler func(w http.ResponseWriter, r *http.Request, user goth.User)
	ErrorPath          string
	ExcludedPaths      []string
	HTMLResponsePaths  []string
	SessionName        string
	Store              sessions.Store
	UnapprovedPath     string
}

Jump to

Keyboard shortcuts

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