Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidKey = errors.New("invalid key")
)
Functions ¶
func NewSecurityHandler ¶
func NewSecurityHandler(keys []string, opts ...StaticKeySecurityHandlerOption) texit.SecurityHandler
Types ¶
type StaticKeySecurityHandler ¶
type StaticKeySecurityHandler struct {
// contains filtered or unexported fields
}
func (*StaticKeySecurityHandler) HandleSmithyAPIHttpApiKeyAuth ¶
func (h *StaticKeySecurityHandler) HandleSmithyAPIHttpApiKeyAuth(ctx context.Context, operationName string, t texit.SmithyAPIHttpApiKeyAuth) (context.Context, error)
type StaticKeySecurityHandlerOption ¶
type StaticKeySecurityHandlerOption func(*StaticKeySecurityHandler)
func WithNoAuthOperations ¶
func WithNoAuthOperations(operations []string) StaticKeySecurityHandlerOption
Click to show internal directories.
Click to hide internal directories.