package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev

# Functions

NewSecretHandler creates a new authentication handler which adds basic authentication credentials to a request.

# Constants

HarborSecret is the prefix of the value of Authorization header.

# Variables

ErrInvalidCredential is returned when the auth token does not authenticate correctly.
ErrNoSecret ...

# Interfaces

AuthenticationHandler is an interface for authorizing a request.