func (j *JwtTokenizer) ReadUsername(tokenString string) (string, error) {
	var claims jwtUserClaims
	if _, err := jwt.ParseWithClaims(tokenString, &claims, j.keyFunc); err != nil {
		return "", err
	}
	return claims.Subject, nil
}
// ReadUsername extracts the username from the token string.
ReadUsername extracts the username from the token string.
// ReadUsername extracts the username from the token string .
func (j *JwtTokenizer) ReadUsername(tokenString string) (string, error) {
	var claims jwtUserClaims
	if _, err := jwt.ParseWithClaims(tokenString, &claims, j.keyFunc); err != nil {
		return "", err
	}
	return claims.Subject, nil
}
func ( j * JwtTokenizer ) ReadUsername ( tokenString string ) ( string , error ) { var claims jwtUserClaims if _ , err := jwt . ParseWithClaims ( tokenString , & claims , j . keyFunc ) ; err != nil { return " " , err } return claims . Subject , nil }
ReadUsername extracts the username from the token string.
ReadUsername extracts the username from the token string .