// NewJWtMiddleware verify the user's token
NewJWtMiddleware verify the user's token
// NewJWtMiddleware verify the user ' s token
func NewJWtMiddleware(ks *jose.JSONWebKeySet, token string) (alice.Constructor, error) {
	c, _ := NewConfig()
	_, err := VerifyToken(token, c.Issuer, c.Audience, ks)
	if err != nil {
		return nil, status.Error(codes.Unauthenticated, "Unable to verify User")
	}
	return nil, nil
}
func NewJWtMiddleware ( ks * jose . JSONWebKeySet , token string ) ( alice . Constructor , error ) { c , _ := NewConfig ( ) _ , err := VerifyToken ( token , c . Issuer , c . Audience , ks ) if err != nil { return nil , status . Error ( codes . Unauthenticated , " " ) } return nil , nil }
NewJWtMiddleware verify the user's token
NewJWtMiddleware verify the user ' s token