handler

package
v0.0.0-...-6ef29ce Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExchangeHandler

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

func NewExchangeHandler

func NewExchangeHandler(jwtSigner *auth.JWTSigner, store *store.DatastoreClient) *ExchangeHandler

func (*ExchangeHandler) Exchange

func (h *ExchangeHandler) Exchange(w http.ResponseWriter, r *http.Request)

type JWKSHandler

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

func NewJWKSHandler

func NewJWKSHandler(jwtSigner *auth.JWTSigner) *JWKSHandler

func (*JWKSHandler) ServeJWKS

func (h *JWKSHandler) ServeJWKS(w http.ResponseWriter, r *http.Request)

type TokenRequest

type TokenRequest struct {
	APIKey string `json:"api_key"`
}

type TokenResponse

type TokenResponse struct {
	Token string `json:"token"`
	Error string `json:"error,omitempty"`
}

Jump to

Keyboard shortcuts

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