httphandler

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 25 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthDoc []byte
View Source
var ManagerDoc []byte

Functions

func AuthorizationHandler

func AuthorizationHandler(manager *manager.Manager, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

func ChangesHandler

func ChangesHandler(mgr *managerpkg.Manager, auth bool, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

ChangesHandler returns a path and pathitem for the changes SSE endpoint.

func ConfigHandler

func ConfigHandler(manager *manager.Manager, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

func ExchangeHandler

func ExchangeHandler(manager *manager.Manager, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

func GroupHandler

func GroupHandler(manager *manager.Manager, auth bool, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

GroupHandler returns a path and pathitem for the group collection endpoint.

func GroupItemHandler

func GroupItemHandler(manager *manager.Manager, auth bool, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

GroupItemHandler returns a path and pathitem for the group resource endpoint.

func OIDCConfigHandler

func OIDCConfigHandler(manager *manager.Manager, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

func ProtectedResourceHandler

func ProtectedResourceHandler(manager *manager.Manager, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

func RegisterAuthHandlers

func RegisterAuthHandlers(manager *manager.Manager) func(*httprouter.Router) error

RegisterAuthHandlers registers auth handlers with the provided router.

func RegisterManagerHandlers

func RegisterManagerHandlers(manager *manager.Manager, auth bool) func(*httprouter.Router) error

RegisterManagerHandlers registers provider-specific handlers with the provided router.

func RegisterProviderHandlers

func RegisterProviderHandlers(manager *manager.Manager) func(*httprouter.Router) error

RegisterProviderHandlers registers provider-specific handlers with the provided router.

func RevokeHandler

func RevokeHandler(manager *manager.Manager, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

func ScopeHandler

func ScopeHandler(manager *manager.Manager, auth bool, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

ScopeHandler returns a path and pathitem for the scope endpoint.

func UserGroupHandler

func UserGroupHandler(manager *manager.Manager, auth bool, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

UserGroupHandler returns a path and pathitem for the user group membership endpoint.

func UserHandler

func UserHandler(manager *manager.Manager, auth bool, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

UserHandler returns a path and pathitem for the user collection endpoint.

func UserInfoHandler

func UserInfoHandler(manager *manager.Manager, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

func UserResourceHandler

func UserResourceHandler(manager *manager.Manager, auth bool, doc *opts.MarkdownDoc) (string, *jsonschema.Schema, httprequest.PathItem)

UserResourceHandler returns a path and pathitem for the user resource endpoint.

Types

type AuthRequest

type AuthRequest struct {
	Provider string `` /* 174-byte string literal not displayed */
	provider.AuthorizationRequest
}

func (*AuthRequest) Validate

func (req *AuthRequest) Validate() error

type AuthorizationCodeExchangeRequest

type AuthorizationCodeExchangeRequest struct {
	GrantType string `` /* 171-byte string literal not displayed */
	schema.AuthorizationCodeRequest
}

type ExchangeRequest

type ExchangeRequest struct {
	GrantType string `` /* 198-byte string literal not displayed */
	schema.AuthorizationCodeRequest
	RefreshTokenExchangeRequest
}

func (ExchangeRequest) Validate

func (req ExchangeRequest) Validate() error

type RefreshTokenExchangeRequest

type RefreshTokenExchangeRequest struct {
	Token string `` /* 185-byte string literal not displayed */
}

func (RefreshTokenExchangeRequest) Validate

func (req RefreshTokenExchangeRequest) Validate() error

type RefreshTokenGrantRequest

type RefreshTokenGrantRequest struct {
	GrantType string `` /* 150-byte string literal not displayed */
	RefreshTokenExchangeRequest
}

type RevokeRequest

type RevokeRequest struct {
	Token string `` /* 198-byte string literal not displayed */
}

func (RevokeRequest) Validate

func (req RevokeRequest) Validate() error

Jump to

Keyboard shortcuts

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