Documentation ¶
Index ¶
- type Client
- func (a *Client) Login(params *LoginParams) (*LoginOK, error)
- func (a *Client) LoginInviteUser(params *LoginInviteUserParams, authInfo runtime.ClientAuthInfoWriter) (*LoginInviteUserOK, error)
- func (a *Client) LoginUninviteUser(params *LoginUninviteUserParams, authInfo runtime.ClientAuthInfoWriter) (*LoginUninviteUserOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type LoginForbidden
- type LoginInviteUserForbidden
- type LoginInviteUserOK
- type LoginInviteUserParams
- func NewLoginInviteUserParams() *LoginInviteUserParams
- func NewLoginInviteUserParamsWithContext(ctx context.Context) *LoginInviteUserParams
- func NewLoginInviteUserParamsWithHTTPClient(client *http.Client) *LoginInviteUserParams
- func NewLoginInviteUserParamsWithTimeout(timeout time.Duration) *LoginInviteUserParams
- func (o *LoginInviteUserParams) SetContext(ctx context.Context)
- func (o *LoginInviteUserParams) SetEmail(email string)
- func (o *LoginInviteUserParams) SetHTTPClient(client *http.Client)
- func (o *LoginInviteUserParams) SetTimeout(timeout time.Duration)
- func (o *LoginInviteUserParams) WithContext(ctx context.Context) *LoginInviteUserParams
- func (o *LoginInviteUserParams) WithEmail(email string) *LoginInviteUserParams
- func (o *LoginInviteUserParams) WithHTTPClient(client *http.Client) *LoginInviteUserParams
- func (o *LoginInviteUserParams) WithTimeout(timeout time.Duration) *LoginInviteUserParams
- func (o *LoginInviteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoginInviteUserReader
- type LoginInviteUserUnauthorized
- type LoginOK
- type LoginParams
- func (o *LoginParams) SetContext(ctx context.Context)
- func (o *LoginParams) SetHTTPClient(client *http.Client)
- func (o *LoginParams) SetIDToken(iDToken string)
- func (o *LoginParams) SetTimeout(timeout time.Duration)
- func (o *LoginParams) WithContext(ctx context.Context) *LoginParams
- func (o *LoginParams) WithHTTPClient(client *http.Client) *LoginParams
- func (o *LoginParams) WithIDToken(iDToken string) *LoginParams
- func (o *LoginParams) WithTimeout(timeout time.Duration) *LoginParams
- func (o *LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoginReader
- type LoginUnauthorized
- type LoginUninviteUserForbidden
- type LoginUninviteUserOK
- type LoginUninviteUserParams
- func NewLoginUninviteUserParams() *LoginUninviteUserParams
- func NewLoginUninviteUserParamsWithContext(ctx context.Context) *LoginUninviteUserParams
- func NewLoginUninviteUserParamsWithHTTPClient(client *http.Client) *LoginUninviteUserParams
- func NewLoginUninviteUserParamsWithTimeout(timeout time.Duration) *LoginUninviteUserParams
- func (o *LoginUninviteUserParams) SetContext(ctx context.Context)
- func (o *LoginUninviteUserParams) SetEmail(email string)
- func (o *LoginUninviteUserParams) SetHTTPClient(client *http.Client)
- func (o *LoginUninviteUserParams) SetTimeout(timeout time.Duration)
- func (o *LoginUninviteUserParams) WithContext(ctx context.Context) *LoginUninviteUserParams
- func (o *LoginUninviteUserParams) WithEmail(email string) *LoginUninviteUserParams
- func (o *LoginUninviteUserParams) WithHTTPClient(client *http.Client) *LoginUninviteUserParams
- func (o *LoginUninviteUserParams) WithTimeout(timeout time.Duration) *LoginUninviteUserParams
- func (o *LoginUninviteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoginUninviteUserReader
- type LoginUninviteUserUnauthorized
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 login API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new login API client.
func (*Client) Login ¶
func (a *Client) Login(params *LoginParams) (*LoginOK, error)
Login afters aquiring and o auth2 open Id id token from Id p like google login present it here and proceed with the required flow if this is a new user they ll have to create an org else they will just get their org details and an API key associated with their org
func (*Client) LoginInviteUser ¶
func (a *Client) LoginInviteUser(params *LoginInviteUserParams, authInfo runtime.ClientAuthInfoWriter) (*LoginInviteUserOK, error)
LoginInviteUser invites bind an existing user that is not already bound to an org to your org
func (*Client) LoginUninviteUser ¶
func (a *Client) LoginUninviteUser(params *LoginUninviteUserParams, authInfo runtime.ClientAuthInfoWriter) (*LoginUninviteUserOK, error)
LoginUninviteUser uninvites remove an existing user that is part of your org
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type LoginForbidden ¶
type LoginForbidden struct { }
LoginForbidden handles this case with default header values.
Not authorized (user not permitted to do that)
func NewLoginForbidden ¶
func NewLoginForbidden() *LoginForbidden
NewLoginForbidden creates a LoginForbidden with default headers values
func (*LoginForbidden) Error ¶
func (o *LoginForbidden) Error() string
type LoginInviteUserForbidden ¶
type LoginInviteUserForbidden struct { }
LoginInviteUserForbidden handles this case with default header values.
Not authorized (user not permitted to do that)
func NewLoginInviteUserForbidden ¶
func NewLoginInviteUserForbidden() *LoginInviteUserForbidden
NewLoginInviteUserForbidden creates a LoginInviteUserForbidden with default headers values
func (*LoginInviteUserForbidden) Error ¶
func (o *LoginInviteUserForbidden) Error() string
type LoginInviteUserOK ¶
type LoginInviteUserOK struct { }
LoginInviteUserOK handles this case with default header values.
Successful
func NewLoginInviteUserOK ¶
func NewLoginInviteUserOK() *LoginInviteUserOK
NewLoginInviteUserOK creates a LoginInviteUserOK with default headers values
func (*LoginInviteUserOK) Error ¶
func (o *LoginInviteUserOK) Error() string
type LoginInviteUserParams ¶
type LoginInviteUserParams struct { /*Email*/ Email string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LoginInviteUserParams contains all the parameters to send to the API endpoint for the login invite user operation typically these are written to a http.Request
func NewLoginInviteUserParams ¶
func NewLoginInviteUserParams() *LoginInviteUserParams
NewLoginInviteUserParams creates a new LoginInviteUserParams object with the default values initialized.
func NewLoginInviteUserParamsWithContext ¶
func NewLoginInviteUserParamsWithContext(ctx context.Context) *LoginInviteUserParams
NewLoginInviteUserParamsWithContext creates a new LoginInviteUserParams object with the default values initialized, and the ability to set a context for a request
func NewLoginInviteUserParamsWithHTTPClient ¶
func NewLoginInviteUserParamsWithHTTPClient(client *http.Client) *LoginInviteUserParams
NewLoginInviteUserParamsWithHTTPClient creates a new LoginInviteUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLoginInviteUserParamsWithTimeout ¶
func NewLoginInviteUserParamsWithTimeout(timeout time.Duration) *LoginInviteUserParams
NewLoginInviteUserParamsWithTimeout creates a new LoginInviteUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*LoginInviteUserParams) SetContext ¶
func (o *LoginInviteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the login invite user params
func (*LoginInviteUserParams) SetEmail ¶
func (o *LoginInviteUserParams) SetEmail(email string)
SetEmail adds the email to the login invite user params
func (*LoginInviteUserParams) SetHTTPClient ¶
func (o *LoginInviteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the login invite user params
func (*LoginInviteUserParams) SetTimeout ¶
func (o *LoginInviteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the login invite user params
func (*LoginInviteUserParams) WithContext ¶
func (o *LoginInviteUserParams) WithContext(ctx context.Context) *LoginInviteUserParams
WithContext adds the context to the login invite user params
func (*LoginInviteUserParams) WithEmail ¶
func (o *LoginInviteUserParams) WithEmail(email string) *LoginInviteUserParams
WithEmail adds the email to the login invite user params
func (*LoginInviteUserParams) WithHTTPClient ¶
func (o *LoginInviteUserParams) WithHTTPClient(client *http.Client) *LoginInviteUserParams
WithHTTPClient adds the HTTPClient to the login invite user params
func (*LoginInviteUserParams) WithTimeout ¶
func (o *LoginInviteUserParams) WithTimeout(timeout time.Duration) *LoginInviteUserParams
WithTimeout adds the timeout to the login invite user params
func (*LoginInviteUserParams) WriteToRequest ¶
func (o *LoginInviteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoginInviteUserReader ¶
type LoginInviteUserReader struct {
// contains filtered or unexported fields
}
LoginInviteUserReader is a Reader for the LoginInviteUser structure.
func (*LoginInviteUserReader) ReadResponse ¶
func (o *LoginInviteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoginInviteUserUnauthorized ¶
type LoginInviteUserUnauthorized struct { }
LoginInviteUserUnauthorized handles this case with default header values.
Not authenticated (user not who they say they are)
func NewLoginInviteUserUnauthorized ¶
func NewLoginInviteUserUnauthorized() *LoginInviteUserUnauthorized
NewLoginInviteUserUnauthorized creates a LoginInviteUserUnauthorized with default headers values
func (*LoginInviteUserUnauthorized) Error ¶
func (o *LoginInviteUserUnauthorized) Error() string
type LoginOK ¶
type LoginOK struct {
Payload *models.LoginResponse
}
LoginOK handles this case with default header values.
Returns a LoginResponse, which helps the calling client determine what screen to load next (create org vs current org).
func NewLoginOK ¶
func NewLoginOK() *LoginOK
NewLoginOK creates a LoginOK with default headers values
type LoginParams ¶
type LoginParams struct { /*IDToken*/ IDToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LoginParams contains all the parameters to send to the API endpoint for the login operation typically these are written to a http.Request
func NewLoginParams ¶
func NewLoginParams() *LoginParams
NewLoginParams creates a new LoginParams object with the default values initialized.
func NewLoginParamsWithContext ¶
func NewLoginParamsWithContext(ctx context.Context) *LoginParams
NewLoginParamsWithContext creates a new LoginParams object with the default values initialized, and the ability to set a context for a request
func NewLoginParamsWithHTTPClient ¶
func NewLoginParamsWithHTTPClient(client *http.Client) *LoginParams
NewLoginParamsWithHTTPClient creates a new LoginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLoginParamsWithTimeout ¶
func NewLoginParamsWithTimeout(timeout time.Duration) *LoginParams
NewLoginParamsWithTimeout creates a new LoginParams object with the default values initialized, and the ability to set a timeout on a request
func (*LoginParams) SetContext ¶
func (o *LoginParams) SetContext(ctx context.Context)
SetContext adds the context to the login params
func (*LoginParams) SetHTTPClient ¶
func (o *LoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the login params
func (*LoginParams) SetIDToken ¶
func (o *LoginParams) SetIDToken(iDToken string)
SetIDToken adds the idToken to the login params
func (*LoginParams) SetTimeout ¶
func (o *LoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the login params
func (*LoginParams) WithContext ¶
func (o *LoginParams) WithContext(ctx context.Context) *LoginParams
WithContext adds the context to the login params
func (*LoginParams) WithHTTPClient ¶
func (o *LoginParams) WithHTTPClient(client *http.Client) *LoginParams
WithHTTPClient adds the HTTPClient to the login params
func (*LoginParams) WithIDToken ¶
func (o *LoginParams) WithIDToken(iDToken string) *LoginParams
WithIDToken adds the iDToken to the login params
func (*LoginParams) WithTimeout ¶
func (o *LoginParams) WithTimeout(timeout time.Duration) *LoginParams
WithTimeout adds the timeout to the login params
func (*LoginParams) WriteToRequest ¶
func (o *LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoginReader ¶
type LoginReader struct {
// contains filtered or unexported fields
}
LoginReader is a Reader for the Login structure.
func (*LoginReader) ReadResponse ¶
func (o *LoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoginUnauthorized ¶
type LoginUnauthorized struct { }
LoginUnauthorized handles this case with default header values.
Not authenticated (user not who they say they are)
func NewLoginUnauthorized ¶
func NewLoginUnauthorized() *LoginUnauthorized
NewLoginUnauthorized creates a LoginUnauthorized with default headers values
func (*LoginUnauthorized) Error ¶
func (o *LoginUnauthorized) Error() string
type LoginUninviteUserForbidden ¶
type LoginUninviteUserForbidden struct { }
LoginUninviteUserForbidden handles this case with default header values.
Not authorized (user not permitted to do that)
func NewLoginUninviteUserForbidden ¶
func NewLoginUninviteUserForbidden() *LoginUninviteUserForbidden
NewLoginUninviteUserForbidden creates a LoginUninviteUserForbidden with default headers values
func (*LoginUninviteUserForbidden) Error ¶
func (o *LoginUninviteUserForbidden) Error() string
type LoginUninviteUserOK ¶
type LoginUninviteUserOK struct { }
LoginUninviteUserOK handles this case with default header values.
Successful
func NewLoginUninviteUserOK ¶
func NewLoginUninviteUserOK() *LoginUninviteUserOK
NewLoginUninviteUserOK creates a LoginUninviteUserOK with default headers values
func (*LoginUninviteUserOK) Error ¶
func (o *LoginUninviteUserOK) Error() string
type LoginUninviteUserParams ¶
type LoginUninviteUserParams struct { /*Email*/ Email string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LoginUninviteUserParams contains all the parameters to send to the API endpoint for the login uninvite user operation typically these are written to a http.Request
func NewLoginUninviteUserParams ¶
func NewLoginUninviteUserParams() *LoginUninviteUserParams
NewLoginUninviteUserParams creates a new LoginUninviteUserParams object with the default values initialized.
func NewLoginUninviteUserParamsWithContext ¶
func NewLoginUninviteUserParamsWithContext(ctx context.Context) *LoginUninviteUserParams
NewLoginUninviteUserParamsWithContext creates a new LoginUninviteUserParams object with the default values initialized, and the ability to set a context for a request
func NewLoginUninviteUserParamsWithHTTPClient ¶
func NewLoginUninviteUserParamsWithHTTPClient(client *http.Client) *LoginUninviteUserParams
NewLoginUninviteUserParamsWithHTTPClient creates a new LoginUninviteUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLoginUninviteUserParamsWithTimeout ¶
func NewLoginUninviteUserParamsWithTimeout(timeout time.Duration) *LoginUninviteUserParams
NewLoginUninviteUserParamsWithTimeout creates a new LoginUninviteUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*LoginUninviteUserParams) SetContext ¶
func (o *LoginUninviteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the login uninvite user params
func (*LoginUninviteUserParams) SetEmail ¶
func (o *LoginUninviteUserParams) SetEmail(email string)
SetEmail adds the email to the login uninvite user params
func (*LoginUninviteUserParams) SetHTTPClient ¶
func (o *LoginUninviteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the login uninvite user params
func (*LoginUninviteUserParams) SetTimeout ¶
func (o *LoginUninviteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the login uninvite user params
func (*LoginUninviteUserParams) WithContext ¶
func (o *LoginUninviteUserParams) WithContext(ctx context.Context) *LoginUninviteUserParams
WithContext adds the context to the login uninvite user params
func (*LoginUninviteUserParams) WithEmail ¶
func (o *LoginUninviteUserParams) WithEmail(email string) *LoginUninviteUserParams
WithEmail adds the email to the login uninvite user params
func (*LoginUninviteUserParams) WithHTTPClient ¶
func (o *LoginUninviteUserParams) WithHTTPClient(client *http.Client) *LoginUninviteUserParams
WithHTTPClient adds the HTTPClient to the login uninvite user params
func (*LoginUninviteUserParams) WithTimeout ¶
func (o *LoginUninviteUserParams) WithTimeout(timeout time.Duration) *LoginUninviteUserParams
WithTimeout adds the timeout to the login uninvite user params
func (*LoginUninviteUserParams) WriteToRequest ¶
func (o *LoginUninviteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoginUninviteUserReader ¶
type LoginUninviteUserReader struct {
// contains filtered or unexported fields
}
LoginUninviteUserReader is a Reader for the LoginUninviteUser structure.
func (*LoginUninviteUserReader) ReadResponse ¶
func (o *LoginUninviteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoginUninviteUserUnauthorized ¶
type LoginUninviteUserUnauthorized struct { }
LoginUninviteUserUnauthorized handles this case with default header values.
Not authenticated (user not who they say they are)
func NewLoginUninviteUserUnauthorized ¶
func NewLoginUninviteUserUnauthorized() *LoginUninviteUserUnauthorized
NewLoginUninviteUserUnauthorized creates a LoginUninviteUserUnauthorized with default headers values
func (*LoginUninviteUserUnauthorized) Error ¶
func (o *LoginUninviteUserUnauthorized) Error() string