middleware/auth_basic.go
exported function GetBasicAuthUsername should have comment or be unexported Open
Open
func GetBasicAuthUsername(ctx context.Context) string {
- Exclude checks
exported function NewBasicUnauthorizedResponseFactory should have comment or be unexported Open
Open
func NewBasicUnauthorizedResponseFactory(realm string) ErrorFactory {
- Exclude checks
exported type BasicAuthValidator should have comment or be unexported Open
Open
BasicAuthValidator func(context.Context, string, string) (bool, error)
- Exclude checks
exported function NewBasicAuthorizer should have comment or be unexported Open
Open
func NewBasicAuthorizer(validator BasicAuthValidator) Authorizer {
- Exclude checks