server

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteOAuthError

func WriteOAuthError(w http.ResponseWriter, err error)

Types

type ErrorResponse

type ErrorResponse struct {
	Error            string `json:"error"`
	ErrorDescription string `json:"error_description,omitempty"`
	ErrorHint        string `json:"error_hint,omitempty"`
	ErrorDebug       string `json:"error_debug,omitempty"`
}

type OauthHandler

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

func NewServer

func NewServer(provider *core.Provider, loginManager *login.Manager, consentManager *consent.Manager, federationBroker *federation.Broker) *OauthHandler

func (*OauthHandler) SetupRoutes

func (o *OauthHandler) SetupRoutes(mux *http.ServeMux)

Directories

Path Synopsis
Package accesstokens is the public API for access-token persistence.
Package accesstokens is the public API for access-token persistence.
Package authcodes is the public API for authorization-code persistence.
Package authcodes is the public API for authorization-code persistence.
internal
Package oidc is the public API for OpenID Connect session persistence.
Package oidc is the public API for OpenID Connect session persistence.
Package pkce is the public API for PKCE-request persistence.
Package pkce is the public API for PKCE-request persistence.
Package refreshtokens is the public API for refresh-token persistence.
Package refreshtokens is the public API for refresh-token persistence.

Jump to

Keyboard shortcuts

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