efritz/chevron

View on GitHub
middleware/auth_basic.go

Summary

Maintainability
A
0 mins
Test Coverage

exported function GetBasicAuthUsername should have comment or be unexported
Open

func GetBasicAuthUsername(ctx context.Context) string {
Severity: Minor
Found in middleware/auth_basic.go by golint

exported function NewBasicUnauthorizedResponseFactory should have comment or be unexported
Open

func NewBasicUnauthorizedResponseFactory(realm string) ErrorFactory {
Severity: Minor
Found in middleware/auth_basic.go by golint

exported type BasicAuthValidator should have comment or be unexported
Open

    BasicAuthValidator func(context.Context, string, string) (bool, error)
Severity: Minor
Found in middleware/auth_basic.go by golint

exported function NewBasicAuthorizer should have comment or be unexported
Open

func NewBasicAuthorizer(validator BasicAuthValidator) Authorizer {
Severity: Minor
Found in middleware/auth_basic.go by golint

There are no issues that match your filters.

Category
Status