handler

package
v1.32.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package handler provides HTTP handlers for the OpenID Connect Provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register added in v1.31.1

func Register(t *testing.T, mux *http.ServeMux, provider service.Provider)

Types

type Handlers added in v1.31.1

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

Handlers provides HTTP handlers for the OpenID Connect Provider. You need to implement the Provider interface. Note that this skips some security checks and is only for testing.

func (*Handlers) AuthenticateCode added in v1.31.1

func (h *Handlers) AuthenticateCode(w http.ResponseWriter, r *http.Request)

func (*Handlers) Discovery added in v1.31.1

func (h *Handlers) Discovery(w http.ResponseWriter, r *http.Request)

func (*Handlers) Exchange added in v1.31.1

func (h *Handlers) Exchange(w http.ResponseWriter, r *http.Request)

func (*Handlers) GetCertificates added in v1.31.1

func (h *Handlers) GetCertificates(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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