Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for auth API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new auth API client.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UserLogin ¶
func (a *Client) UserLogin(params *UserLoginParams) (*UserLoginOK, error)
UserLogin logs the user
User login
type UserLoginDefault ¶
UserLoginDefault handles this case with default header values.
Error
func NewUserLoginDefault ¶
func NewUserLoginDefault(code int) *UserLoginDefault
NewUserLoginDefault creates a UserLoginDefault with default headers values
func (*UserLoginDefault) Code ¶
func (o *UserLoginDefault) Code() int
Code gets the status code for the user login default response
func (*UserLoginDefault) Error ¶
func (o *UserLoginDefault) Error() string
type UserLoginForbidden ¶
UserLoginForbidden handles this case with default header values.
Forbidden
func NewUserLoginForbidden ¶
func NewUserLoginForbidden() *UserLoginForbidden
NewUserLoginForbidden creates a UserLoginForbidden with default headers values
func (*UserLoginForbidden) Error ¶
func (o *UserLoginForbidden) Error() string
type UserLoginOK ¶
type UserLoginOK struct {
Payload *models.LoginToken
}
UserLoginOK handles this case with default header values.
Login token
func NewUserLoginOK ¶
func NewUserLoginOK() *UserLoginOK
NewUserLoginOK creates a UserLoginOK with default headers values
func (*UserLoginOK) Error ¶
func (o *UserLoginOK) Error() string
type UserLoginParams ¶
type UserLoginParams struct { /*Body*/ Body *models.Login // contains filtered or unexported fields }
UserLoginParams contains all the parameters to send to the API endpoint for the user login operation typically these are written to a http.Request
func NewUserLoginParams ¶
func NewUserLoginParams() *UserLoginParams
NewUserLoginParams creates a new UserLoginParams object with the default values initialized.
func NewUserLoginParamsWithTimeout ¶
func NewUserLoginParamsWithTimeout(timeout time.Duration) *UserLoginParams
NewUserLoginParamsWithTimeout creates a new UserLoginParams object with the default values initialized, and the ability to set a timeout on a request
func (*UserLoginParams) WithBody ¶
func (o *UserLoginParams) WithBody(body *models.Login) *UserLoginParams
WithBody adds the body to the user login params
func (*UserLoginParams) WriteToRequest ¶
func (o *UserLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserLoginReader ¶
type UserLoginReader struct {
// contains filtered or unexported fields
}
UserLoginReader is a Reader for the UserLogin structure.
func (*UserLoginReader) ReadResponse ¶
func (o *UserLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type UserLoginUnauthorized ¶
type UserLoginUnauthorized struct {
}UserLoginUnauthorized handles this case with default header values.
Unauthorized
func NewUserLoginUnauthorized ¶
func NewUserLoginUnauthorized() *UserLoginUnauthorized
NewUserLoginUnauthorized creates a UserLoginUnauthorized with default headers values
func (*UserLoginUnauthorized) Error ¶
func (o *UserLoginUnauthorized) Error() string