Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func AuthMiddleware(secret string) endpoint.Middleware
AuthMiddleware returns a pluggable endpoint.Middleware which transparently inspects Dory specific Authentication information and rejects the request if: * signature or userID are missing * the signature does not match
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.