router

package
v0.0.7-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACMERouter

type ACMERouter struct {
	WebServiceRouter
	// contains filtered or unexported fields
}

func (*ACMERouter) RegisterRoutes

func (AcmeRouter *ACMERouter) RegisterRoutes(router *mux.Router)

Registers all of the Acme endpoints at the root of the webservice api router (/api/v1)

type AuthenticationRouter

type AuthenticationRouter struct {
	WebServiceRouter
	// contains filtered or unexported fields
}

func (*AuthenticationRouter) RegisterRoutes

func (authenticationRouter *AuthenticationRouter) RegisterRoutes(router *mux.Router)

Registers all of the authentication endpoints at the root of the webservice (/api/v1)

type SystemRouter

type SystemRouter struct {
	WebServiceRouter
	// contains filtered or unexported fields
}

func (*SystemRouter) RegisterRoutes

func (systemRouter *SystemRouter) RegisterRoutes(router *mux.Router)

Registers all of the system endpoints at the root of the webservice (/api/v1)

type WebAuthnRouter

type WebAuthnRouter struct {
	WebServiceRouter
	// contains filtered or unexported fields
}

func (*WebAuthnRouter) RegisterRoutes

func (webAuthnRouter *WebAuthnRouter) RegisterRoutes(router *mux.Router)

Registers all of the webauthn endpoints at the root of the webservice (/api/v1/webauthn)

type WebServiceRouter

type WebServiceRouter interface {
	RegisterRoutes(router *mux.Router)
}

func NewACMERouter

func NewACMERouter(
	acmeRestService handlers.RestServicer) WebServiceRouter

Creates a new acme certificate authority router

func NewAuthenticationRouter

func NewAuthenticationRouter(
	middleware middleware.JsonWebTokenMiddleware) WebServiceRouter

Creates a new web service authentication router

func NewSystemRouter

func NewSystemRouter(
	logger *logging.Logger,
	ca ca.CertificateAuthority,
	serverKeyAttributes *keystore.KeyAttributes,
	jwtMiddleware middleware.JsonWebTokenMiddleware,
	authMiddleware middleware.AuthMiddleware,
	router *mux.Router,
	jsonWriter response.HttpWriter) WebServiceRouter

Creates a new web service system router

func NewWebAuthnRouter

func NewWebAuthnRouter(
	middleware middleware.JsonWebTokenMiddleware,
	webAuthnRestService webauthn.RestHandler) WebServiceRouter

Creates a new webauthn router

Jump to

Keyboard shortcuts

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