Documentation ¶
Index ¶
Constants ¶
View Source
const (
EsSha256 = "es256k1-sha256"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthenticationMiddleware ¶
type AuthenticationMiddleware struct {
// contains filtered or unexported fields
}
func NewMiddleware ¶
func NewMiddleware(svc *service.Service) *AuthenticationMiddleware
func (*AuthenticationMiddleware) AddURL ¶
func (amw *AuthenticationMiddleware) AddURL(path string, methods ...string)
func (*AuthenticationMiddleware) Middleware ¶
func (amw *AuthenticationMiddleware) Middleware(next http.Handler) http.Handler
Middleware supports signature authentication and responds to the client by generating information necessary for authentication.
Click to show internal directories.
Click to hide internal directories.