Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKeyAuthMiddleware ¶
type APIKeyAuthMiddleware struct {
// contains filtered or unexported fields
}
func NewAPIKeyAuthMiddleware ¶
func NewAPIKeyAuthMiddleware( ctx context.Context, cfg *config.AuthnConfig, logger *zerolog.Logger, ) (*APIKeyAuthMiddleware, error)
func (*APIKeyAuthMiddleware) Handler ¶
func (a *APIKeyAuthMiddleware) Handler(next http.Handler) http.Handler
func (*APIKeyAuthMiddleware) Stream ¶
func (a *APIKeyAuthMiddleware) Stream() grpc.StreamServerInterceptor
func (*APIKeyAuthMiddleware) Unary ¶
func (a *APIKeyAuthMiddleware) Unary() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.