oauth

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg config.OAuthConfig)

func New(cfg config.OAuthConfig) *OAuthRealm {

Types

type APIHandler

type APIHandler struct {
	api.Handler
	rbac.Adapter
}

func (APIHandler) AuthHandler

func (h APIHandler) AuthHandler(w http.ResponseWriter, r *http.Request, p httprouter.Params)

func (APIHandler) CallbackHandler

func (h APIHandler) CallbackHandler(w http.ResponseWriter, r *http.Request, p httprouter.Params)

type OAuthRealm

type OAuthRealm struct {
}

Jump to

Keyboard shortcuts

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