handler

package
v0.0.0-...-40d52ab Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoStateCookie      = errors.New("Cookie missing: no state cookie in request")
	ErrInvalidStateCookie = errors.New("Invalid cookie: state cookie doesn't match the query parameter")
)

Functions

This section is empty.

Types

type Handler

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

func CreateHandlerFromConf

func CreateHandlerFromConf(conf config.SystemConfiguration, tokenManager *token.Manager) (*Handler, error)

func (*Handler) GetPublicKey

func (h *Handler) GetPublicKey(w http.ResponseWriter, r *http.Request)

func (*Handler) HandleCallback

func (h *Handler) HandleCallback(w http.ResponseWriter, r *http.Request)

func (*Handler) HandleLogin

func (h *Handler) HandleLogin(w http.ResponseWriter, r *http.Request)

func (*Handler) HandleRefresh

func (h *Handler) HandleRefresh(w http.ResponseWriter, r *http.Request)

func (*Handler) SetRoutes

func (h *Handler) SetRoutes(router *http.ServeMux)

Jump to

Keyboard shortcuts

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