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)
Click to show internal directories.
Click to hide internal directories.