timoth-y/kicksware-api

View on GitHub
shared/api/jwt/jwtManager.go

Summary

Maintainability
A
35 mins
Test Coverage

Method TokenManager.Verify has 5 return statements (exceeds 4 allowed).
Open

func (m *TokenManager) Verify(accessToken string) (*meta.AuthClaims, error) {
    token, err := jwt.ParseWithClaims(
        accessToken,
        &meta.AuthClaims{},
        func(token *jwt.Token) (interface{}, error) {
Severity: Major
Found in shared/api/jwt/jwtManager.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status