api

package
v0.38.9-beta.1.pre.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 18 Imported by: 2

Documentation

Index

Constants

View Source
const (
	CredentialsPath = "/.well-known/jwks.json"
)
View Source
const (
	DecisionPath = "/decisions"
)
View Source
const (
	RulesPath = "/rules"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CredentialsHandler

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

func NewCredentialHandler

func NewCredentialHandler(c configuration.Provider, r credentialHandlerRegistry) *CredentialsHandler

func (*CredentialsHandler) SetRoutes

func (h *CredentialsHandler) SetRoutes(r *x.RouterAPI)

type DecisionHandler

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

func NewJudgeHandler

func NewJudgeHandler(r decisionHandlerRegistry) *DecisionHandler

func (*DecisionHandler) ServeHTTP

func (h *DecisionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

type RuleHandler

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

func NewRuleHandler

func NewRuleHandler(r ruleHandlerRegistry) *RuleHandler

func (*RuleHandler) SetRoutes

func (h *RuleHandler) SetRoutes(r *x.RouterAPI)

Jump to

Keyboard shortcuts

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