func (a *Client) Revoke(params *RevokeParams) (*RevokeOK, error) {
	if params == nil {
		params = NewRevokeParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "Revoke",
		Method:             "POST",
		PathPattern:        "/auth/token/revoke",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https", "wss"},
		Params:             params,
		Reader:             &RevokeReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*RevokeOK), nil
}
/*
Revoke revokes a j w t token
package token_service
import (
	"github.com/go-openapi/runtime"
	strfmt "github.com/go-openapi/strfmt"
)
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client {
	return &Client{transport: transport, formats: formats}
}
type Client struct {
	transport runtime.ClientTransport
	formats   strfmt.Registry
}
func (a *Client) ResetPassword(params *ResetPasswordParams) (*ResetPasswordOK, error) {
	if params == nil {
		params = NewResetPasswordParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "ResetPassword",
		Method:             "POST",
		PathPattern:        "/auth/reset-password",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https", "wss"},
		Params:             params,
		Reader:             &ResetPasswordReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*ResetPasswordOK), nil
}
func (a *Client) ResetPasswordToken(params *ResetPasswordTokenParams) (*ResetPasswordTokenOK, error) {
	if params == nil {
		params = NewResetPasswordTokenParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "ResetPasswordToken",
		Method:             "PUT",
		PathPattern:        "/auth/reset-password-token/{UserLogin}",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http", "https", "wss"},
		Params:             params,
		Reader:             &ResetPasswordTokenReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*ResetPasswordTokenOK), nil
}