keycloak

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: AGPL-3.0 Imports: 16 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[S libhttp.Server] struct {
	// contains filtered or unexported fields
}

func New

func New[S libhttp.Server](ctx context.Context, hc *http.Client, oidcEndpoint, clientID string) (*Module[S], error)

func (*Module[S]) Name

func (*Module[S]) Name() string

func (*Module[S]) RequireAuth

func (m *Module[S]) RequireAuth(r *http.Request) (libhttp.Authorization, int, error)

func (*Module[S]) Route

func (m *Module[S]) Route(s S) error

Jump to

Keyboard shortcuts

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