asteris-llc/converge

View on GitHub
rpc/jwt.go

Summary

Maintainability
A
50 mins
Test Coverage

Method JWTAuth.Verify has 8 return statements (exceeds 4 allowed).
Open

func (j *JWTAuth) Verify(material string) error {
    token, err := jwt.ParseWithClaims(
        material,
        &jwt.StandardClaims{},
        func(token *jwt.Token) (interface{}, error) {
Severity: Major
Found in rpc/jwt.go - About 50 mins to fix

    There are no issues that match your filters.

    Category
    Status