Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationRouter ¶
type AuthenticationRouter struct {
WebServiceRouter
// contains filtered or unexported fields
}
func (*AuthenticationRouter) RegisterRoutes ¶
func (authenticationRouter *AuthenticationRouter) RegisterRoutes(router *mux.Router, baseURI string) []string
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, baseURI string) []string
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, baseURI string) []string
Registers all of the webauthn endpoints at the root of the webservice (/api/v1/webauthn)
type WebServiceRouter ¶
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, endpointList *[]string) WebServiceRouter
Creates a new web service system router
func NewWebAuthnRouter ¶
func NewWebAuthnRouter( middleware middleware.JsonWebTokenMiddleware, webAuthnRestService rest.WebAuthnRestServicer) WebServiceRouter
Creates a new webauthn router
Click to show internal directories.
Click to hide internal directories.