Documentation ¶
Index ¶
- type APIKeyAuthMiddleware
- func (a *APIKeyAuthMiddleware) ConfigAuth(h http.Handler, authCfg config.AuthnConfig) http.Handler
- func (a *APIKeyAuthMiddleware) Handler(next http.Handler) http.Handler
- func (a *APIKeyAuthMiddleware) Stream() grpc.StreamServerInterceptor
- func (a *APIKeyAuthMiddleware) Unary() grpc.UnaryServerInterceptor
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) ConfigAuth ¶ added in v0.31.0
func (a *APIKeyAuthMiddleware) ConfigAuth(h http.Handler, authCfg config.AuthnConfig) http.Handler
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.