authenticating

package
v1.0.65 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearSession added in v1.0.59

func ClearSession(w http.ResponseWriter, r *http.Request, session *sessions.Session) error

func UpdateRole added in v1.0.56

func UpdateRole(w http.ResponseWriter, r *http.Request)

Types

type AuthHandler added in v1.0.56

type AuthHandler struct {
	// contains filtered or unexported fields
}

func NewAuthHandler added in v1.0.56

func NewAuthHandler(auth *oidc.Auth, usernameClaim string) *AuthHandler

func (*AuthHandler) Callback added in v1.0.56

func (h *AuthHandler) Callback(w http.ResponseWriter, r *http.Request)

func (*AuthHandler) Login added in v1.0.56

func (h *AuthHandler) Login(w http.ResponseWriter, r *http.Request)

func (*AuthHandler) Logout added in v1.0.56

func (h *AuthHandler) Logout(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳