Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ParseWithClaims (0.16 sec)

  1. internal/jwt/parser.go

    		}
    	}
    
    	return nil, jwtgo.NewValidationError(fmt.Sprintf("signing method (%s) is unavailable.", string(alg)),
    		jwtgo.ValidationErrorUnverifiable)
    }
    
    // ParseWithClaims - parse the token string, valid methods.
    func ParseWithClaims(tokenStr string, claims *MapClaims, fn func(*MapClaims) ([]byte, error)) error {
    	// Key lookup function has to be provided.
    	if fn == nil {
    		// keyFunc was not provided, return error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
Back to top