Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebCAS ¶
type WebCAS struct { *resthandler.AuthHandler // contains filtered or unexported fields }
WebCAS represents a WebCAS handler + client for the backing CAS.
func New ¶
func New(authCfg *resthandler.Config, s spi.Store, verifier signatureVerifier, casClient casapi.Client, tm authTokenManager, ) *WebCAS
New returns a new WebCAS, which contains a REST handler that implements WebCAS as defined in https://trustbloc.github.io/did-method-orb/#webcas.
func (*WebCAS) Handler ¶
func (w *WebCAS) Handler() common.HTTPRequestHandler
Handler returns the HTTP REST handler for the WebCAS service.
Click to show internal directories.
Click to hide internal directories.