oauth2-proxy/oauth2-proxy

View on GitHub
pkg/providers/util/claim_extractor.go

Summary

Maintainability
A
35 mins
Test Coverage
A
91%

Method claimExtractor.GetClaim has 5 return statements (exceeds 4 allowed).
Open

func (c *claimExtractor) GetClaim(claim string) (interface{}, bool, error) {
    if claim == "" {
        return nil, false, nil
    }

Severity: Major
Found in pkg/providers/util/claim_extractor.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status