oidcauth

package module
v0.0.0-...-18bdc14 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OIDCAuth

type OIDCAuth struct {
	ClientID     string `json:"client_id"`
	ClientSecret string `json:"client_secret"`
	Issuer       string `json:"issuer"`
	RedirectURL  string `json:"redirect_url"`
	Audience     string `json:"audience"`
}

func (OIDCAuth) CaddyModule

func (OIDCAuth) CaddyModule() caddy.ModuleInfo

func (*OIDCAuth) Provision

func (oa *OIDCAuth) Provision(ctx caddy.Context) error

func (OIDCAuth) ServeHTTP

func (oa OIDCAuth) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error

func (*OIDCAuth) UnmarshalCaddyfile

func (oa *OIDCAuth) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

func (*OIDCAuth) Validate

func (oa *OIDCAuth) Validate() error

Jump to

Keyboard shortcuts

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