wellknown

package
v0.0.0-...-e647751 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

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

Module contains a well-known module for the web server. Implements web.Module.

func New

func New(_ context.Context, oauthServer *oauth.Server) (*Module, error)

New creates a new well-known module.

func (*Module) Name

func (*Module) Name() string

Name return the module name.

func (*Module) OpenidConfigurationGetHandler

func (m *Module) OpenidConfigurationGetHandler(w nethttp.ResponseWriter, r *nethttp.Request)

OpenidConfigurationGetHandler logs a user out.

func (*Module) OpenidConfigurationJWKSGetHandler

func (m *Module) OpenidConfigurationJWKSGetHandler(w nethttp.ResponseWriter, _ *nethttp.Request)

OpenidConfigurationJWKSGetHandler logs a user out.

func (*Module) Route

func (m *Module) Route(s *http.Server) error

Route attaches routes to the web server.

func (*Module) SetServer

func (m *Module) SetServer(s *http.Server)

SetServer adds a reference to the server to the module.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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