func (j *JwtTokenizer) keyFunc(t *jwt.Token) (interface{}, error) {
	if t.Method != j.method {
		return nil, fmt.Errorf("incorrect authorization signing method")
	}
	return j.key, nil
}
// keyFunc ensures the key type (method) of the token is correct before returning the key.
keyFunc ensures the key type (method) of the token is correct before returning the key.
// keyFunc ensures the key type ( method ) of the token is correct before returning the key .
func (j *JwtTokenizer) keyFunc(t *jwt.Token) (interface{}, error) {
	if t.Method != j.method {
		return nil, fmt.Errorf("incorrect authorization signing method")
	}
	return j.key, nil
}
func ( j * JwtTokenizer ) keyFunc ( t * jwt . Token ) ( interface { } , error ) { if t . Method != j . method { return nil , fmt . Errorf ( " " ) } return j . key , nil }
keyFunc ensures the key type (method) of the token is correct before returning the key.
keyFunc ensures the key type ( method ) of the token is correct before returning the key .