Documentation ¶
Index ¶
- type AddTokenBadRequest
- type AddTokenOK
- type AddTokenParams
- func (o *AddTokenParams) SetContext(ctx context.Context)
- func (o *AddTokenParams) SetDefaults()
- func (o *AddTokenParams) SetHTTPClient(client *http.Client)
- func (o *AddTokenParams) SetTimeout(timeout time.Duration)
- func (o *AddTokenParams) SetTokenOptions(tokenOptions *mono_models.TokenEditable)
- func (o *AddTokenParams) WithContext(ctx context.Context) *AddTokenParams
- func (o *AddTokenParams) WithDefaults() *AddTokenParams
- func (o *AddTokenParams) WithHTTPClient(client *http.Client) *AddTokenParams
- func (o *AddTokenParams) WithTimeout(timeout time.Duration) *AddTokenParams
- func (o *AddTokenParams) WithTokenOptions(tokenOptions *mono_models.TokenEditable) *AddTokenParams
- func (o *AddTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddTokenReader
- type ChangePasswordBadRequest
- type ChangePasswordForbidden
- type ChangePasswordInternalServerError
- type ChangePasswordNotFound
- type ChangePasswordOK
- type ChangePasswordParams
- func NewChangePasswordParams() *ChangePasswordParams
- func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
- func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams
- func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams
- func (o *ChangePasswordParams) SetChangeRequest(changeRequest *mono_models.PasswordChange)
- func (o *ChangePasswordParams) SetContext(ctx context.Context)
- func (o *ChangePasswordParams) SetDefaults()
- func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
- func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
- func (o *ChangePasswordParams) WithChangeRequest(changeRequest *mono_models.PasswordChange) *ChangePasswordParams
- func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
- func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams
- func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
- func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
- func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangePasswordReader
- type Client
- func (a *Client) AddToken(params *AddTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddTokenOK, error)
- func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ChangePasswordOK, error)
- func (a *Client) DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTokenOK, error)
- func (a *Client) DisableTOTP(params *DisableTOTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DisableTOTPOK, error)
- func (a *Client) EnableTOTP(params *EnableTOTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnableTOTPOK, error)
- func (a *Client) GetLoginJwtToken(params *GetLoginJwtTokenParams, opts ...ClientOption) error
- func (a *Client) GetLogout(params *GetLogoutParams, opts ...ClientOption) (*GetLogoutNoContent, error)
- func (a *Client) GetRenew(params *GetRenewParams, opts ...ClientOption) (*GetRenewOK, error)
- func (a *Client) GithubAuthError(params *GithubAuthErrorParams, opts ...ClientOption) error
- func (a *Client) LinkGithubAccount(params *LinkGithubAccountParams, opts ...ClientOption) error
- func (a *Client) ListTokens(params *ListTokensParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTokensOK, error)
- func (a *Client) LoginAs(params *LoginAsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LoginAsOK, error)
- func (a *Client) LoginWithGithub(params *LoginWithGithubParams, opts ...ClientOption) error
- func (a *Client) NewTOTP(params *NewTOTPParams, authInfo runtime.ClientAuthInfoWriter, ...) (*NewTOTPOK, error)
- func (a *Client) PostLogin(params *PostLoginParams, opts ...ClientOption) (*PostLoginOK, error)
- func (a *Client) RequestReset(params *RequestResetParams, opts ...ClientOption) (*RequestResetOK, error)
- func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SignupWithGithub(params *SignupWithGithubParams, opts ...ClientOption) error
- func (a *Client) UnlinkGithubAccount(params *UnlinkGithubAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UnlinkGithubAccountOK, error)
- type ClientOption
- type ClientService
- type DeleteTokenBadRequest
- type DeleteTokenForbidden
- type DeleteTokenOK
- type DeleteTokenParams
- func (o *DeleteTokenParams) SetContext(ctx context.Context)
- func (o *DeleteTokenParams) SetDefaults()
- func (o *DeleteTokenParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTokenParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTokenParams) SetTokenID(tokenID strfmt.UUID)
- func (o *DeleteTokenParams) WithContext(ctx context.Context) *DeleteTokenParams
- func (o *DeleteTokenParams) WithDefaults() *DeleteTokenParams
- func (o *DeleteTokenParams) WithHTTPClient(client *http.Client) *DeleteTokenParams
- func (o *DeleteTokenParams) WithTimeout(timeout time.Duration) *DeleteTokenParams
- func (o *DeleteTokenParams) WithTokenID(tokenID strfmt.UUID) *DeleteTokenParams
- func (o *DeleteTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTokenReader
- type DisableTOTPBadRequest
- type DisableTOTPOK
- type DisableTOTPParams
- func (o *DisableTOTPParams) SetContext(ctx context.Context)
- func (o *DisableTOTPParams) SetDefaults()
- func (o *DisableTOTPParams) SetHTTPClient(client *http.Client)
- func (o *DisableTOTPParams) SetTimeout(timeout time.Duration)
- func (o *DisableTOTPParams) WithContext(ctx context.Context) *DisableTOTPParams
- func (o *DisableTOTPParams) WithDefaults() *DisableTOTPParams
- func (o *DisableTOTPParams) WithHTTPClient(client *http.Client) *DisableTOTPParams
- func (o *DisableTOTPParams) WithTimeout(timeout time.Duration) *DisableTOTPParams
- func (o *DisableTOTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisableTOTPReader
- type EnableTOTPBadRequest
- type EnableTOTPOK
- type EnableTOTPParams
- func (o *EnableTOTPParams) SetCode(code string)
- func (o *EnableTOTPParams) SetContext(ctx context.Context)
- func (o *EnableTOTPParams) SetDefaults()
- func (o *EnableTOTPParams) SetHTTPClient(client *http.Client)
- func (o *EnableTOTPParams) SetTimeout(timeout time.Duration)
- func (o *EnableTOTPParams) WithCode(code string) *EnableTOTPParams
- func (o *EnableTOTPParams) WithContext(ctx context.Context) *EnableTOTPParams
- func (o *EnableTOTPParams) WithDefaults() *EnableTOTPParams
- func (o *EnableTOTPParams) WithHTTPClient(client *http.Client) *EnableTOTPParams
- func (o *EnableTOTPParams) WithTimeout(timeout time.Duration) *EnableTOTPParams
- func (o *EnableTOTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableTOTPReader
- type GetLoginJwtTokenBadRequest
- type GetLoginJwtTokenFound
- type GetLoginJwtTokenInternalServerError
- type GetLoginJwtTokenParams
- func NewGetLoginJwtTokenParams() *GetLoginJwtTokenParams
- func NewGetLoginJwtTokenParamsWithContext(ctx context.Context) *GetLoginJwtTokenParams
- func NewGetLoginJwtTokenParamsWithHTTPClient(client *http.Client) *GetLoginJwtTokenParams
- func NewGetLoginJwtTokenParamsWithTimeout(timeout time.Duration) *GetLoginJwtTokenParams
- func (o *GetLoginJwtTokenParams) SetContext(ctx context.Context)
- func (o *GetLoginJwtTokenParams) SetDefaults()
- func (o *GetLoginJwtTokenParams) SetHTTPClient(client *http.Client)
- func (o *GetLoginJwtTokenParams) SetRedirectURL(redirectURL strfmt.URI)
- func (o *GetLoginJwtTokenParams) SetTimeout(timeout time.Duration)
- func (o *GetLoginJwtTokenParams) SetToken(token string)
- func (o *GetLoginJwtTokenParams) WithContext(ctx context.Context) *GetLoginJwtTokenParams
- func (o *GetLoginJwtTokenParams) WithDefaults() *GetLoginJwtTokenParams
- func (o *GetLoginJwtTokenParams) WithHTTPClient(client *http.Client) *GetLoginJwtTokenParams
- func (o *GetLoginJwtTokenParams) WithRedirectURL(redirectURL strfmt.URI) *GetLoginJwtTokenParams
- func (o *GetLoginJwtTokenParams) WithTimeout(timeout time.Duration) *GetLoginJwtTokenParams
- func (o *GetLoginJwtTokenParams) WithToken(token string) *GetLoginJwtTokenParams
- func (o *GetLoginJwtTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoginJwtTokenReader
- type GetLogoutInternalServerError
- type GetLogoutNoContent
- type GetLogoutParams
- func (o *GetLogoutParams) SetContext(ctx context.Context)
- func (o *GetLogoutParams) SetDefaults()
- func (o *GetLogoutParams) SetHTTPClient(client *http.Client)
- func (o *GetLogoutParams) SetTimeout(timeout time.Duration)
- func (o *GetLogoutParams) WithContext(ctx context.Context) *GetLogoutParams
- func (o *GetLogoutParams) WithDefaults() *GetLogoutParams
- func (o *GetLogoutParams) WithHTTPClient(client *http.Client) *GetLogoutParams
- func (o *GetLogoutParams) WithTimeout(timeout time.Duration) *GetLogoutParams
- func (o *GetLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLogoutReader
- type GetRenewInternalServerError
- type GetRenewNotFound
- type GetRenewOK
- type GetRenewParams
- func (o *GetRenewParams) SetContext(ctx context.Context)
- func (o *GetRenewParams) SetDefaults()
- func (o *GetRenewParams) SetHTTPClient(client *http.Client)
- func (o *GetRenewParams) SetSessionID(sessionID *strfmt.UUID)
- func (o *GetRenewParams) SetTimeout(timeout time.Duration)
- func (o *GetRenewParams) WithContext(ctx context.Context) *GetRenewParams
- func (o *GetRenewParams) WithDefaults() *GetRenewParams
- func (o *GetRenewParams) WithHTTPClient(client *http.Client) *GetRenewParams
- func (o *GetRenewParams) WithSessionID(sessionID *strfmt.UUID) *GetRenewParams
- func (o *GetRenewParams) WithTimeout(timeout time.Duration) *GetRenewParams
- func (o *GetRenewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRenewReader
- type GithubAuthErrorFound
- type GithubAuthErrorParams
- func NewGithubAuthErrorParams() *GithubAuthErrorParams
- func NewGithubAuthErrorParamsWithContext(ctx context.Context) *GithubAuthErrorParams
- func NewGithubAuthErrorParamsWithHTTPClient(client *http.Client) *GithubAuthErrorParams
- func NewGithubAuthErrorParamsWithTimeout(timeout time.Duration) *GithubAuthErrorParams
- func (o *GithubAuthErrorParams) SetContext(ctx context.Context)
- func (o *GithubAuthErrorParams) SetDefaults()
- func (o *GithubAuthErrorParams) SetError(error *string)
- func (o *GithubAuthErrorParams) SetHTTPClient(client *http.Client)
- func (o *GithubAuthErrorParams) SetTimeout(timeout time.Duration)
- func (o *GithubAuthErrorParams) WithContext(ctx context.Context) *GithubAuthErrorParams
- func (o *GithubAuthErrorParams) WithDefaults() *GithubAuthErrorParams
- func (o *GithubAuthErrorParams) WithError(error *string) *GithubAuthErrorParams
- func (o *GithubAuthErrorParams) WithHTTPClient(client *http.Client) *GithubAuthErrorParams
- func (o *GithubAuthErrorParams) WithTimeout(timeout time.Duration) *GithubAuthErrorParams
- func (o *GithubAuthErrorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GithubAuthErrorReader
- type LinkGithubAccountFound
- type LinkGithubAccountParams
- func NewLinkGithubAccountParams() *LinkGithubAccountParams
- func NewLinkGithubAccountParamsWithContext(ctx context.Context) *LinkGithubAccountParams
- func NewLinkGithubAccountParamsWithHTTPClient(client *http.Client) *LinkGithubAccountParams
- func NewLinkGithubAccountParamsWithTimeout(timeout time.Duration) *LinkGithubAccountParams
- func (o *LinkGithubAccountParams) SetCode(code *string)
- func (o *LinkGithubAccountParams) SetContext(ctx context.Context)
- func (o *LinkGithubAccountParams) SetDefaults()
- func (o *LinkGithubAccountParams) SetHTTPClient(client *http.Client)
- func (o *LinkGithubAccountParams) SetNextRoute(nextRoute *string)
- func (o *LinkGithubAccountParams) SetState(state *string)
- func (o *LinkGithubAccountParams) SetTimeout(timeout time.Duration)
- func (o *LinkGithubAccountParams) WithCode(code *string) *LinkGithubAccountParams
- func (o *LinkGithubAccountParams) WithContext(ctx context.Context) *LinkGithubAccountParams
- func (o *LinkGithubAccountParams) WithDefaults() *LinkGithubAccountParams
- func (o *LinkGithubAccountParams) WithHTTPClient(client *http.Client) *LinkGithubAccountParams
- func (o *LinkGithubAccountParams) WithNextRoute(nextRoute *string) *LinkGithubAccountParams
- func (o *LinkGithubAccountParams) WithState(state *string) *LinkGithubAccountParams
- func (o *LinkGithubAccountParams) WithTimeout(timeout time.Duration) *LinkGithubAccountParams
- func (o *LinkGithubAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LinkGithubAccountReader
- type ListTokensInternalServerError
- type ListTokensOK
- type ListTokensParams
- func (o *ListTokensParams) SetContext(ctx context.Context)
- func (o *ListTokensParams) SetDefaults()
- func (o *ListTokensParams) SetHTTPClient(client *http.Client)
- func (o *ListTokensParams) SetTimeout(timeout time.Duration)
- func (o *ListTokensParams) WithContext(ctx context.Context) *ListTokensParams
- func (o *ListTokensParams) WithDefaults() *ListTokensParams
- func (o *ListTokensParams) WithHTTPClient(client *http.Client) *ListTokensParams
- func (o *ListTokensParams) WithTimeout(timeout time.Duration) *ListTokensParams
- func (o *ListTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTokensReader
- type LoginAsBadRequest
- type LoginAsInternalServerError
- type LoginAsOK
- type LoginAsParams
- func (o *LoginAsParams) SetContext(ctx context.Context)
- func (o *LoginAsParams) SetDefaults()
- func (o *LoginAsParams) SetHTTPClient(client *http.Client)
- func (o *LoginAsParams) SetTimeout(timeout time.Duration)
- func (o *LoginAsParams) SetUsername(username string)
- func (o *LoginAsParams) WithContext(ctx context.Context) *LoginAsParams
- func (o *LoginAsParams) WithDefaults() *LoginAsParams
- func (o *LoginAsParams) WithHTTPClient(client *http.Client) *LoginAsParams
- func (o *LoginAsParams) WithTimeout(timeout time.Duration) *LoginAsParams
- func (o *LoginAsParams) WithUsername(username string) *LoginAsParams
- func (o *LoginAsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoginAsReader
- type LoginAsUnauthorized
- type LoginWithGithubFound
- type LoginWithGithubParams
- func NewLoginWithGithubParams() *LoginWithGithubParams
- func NewLoginWithGithubParamsWithContext(ctx context.Context) *LoginWithGithubParams
- func NewLoginWithGithubParamsWithHTTPClient(client *http.Client) *LoginWithGithubParams
- func NewLoginWithGithubParamsWithTimeout(timeout time.Duration) *LoginWithGithubParams
- func (o *LoginWithGithubParams) SetCode(code *string)
- func (o *LoginWithGithubParams) SetContext(ctx context.Context)
- func (o *LoginWithGithubParams) SetDefaults()
- func (o *LoginWithGithubParams) SetHTTPClient(client *http.Client)
- func (o *LoginWithGithubParams) SetInviteCode(inviteCode *string)
- func (o *LoginWithGithubParams) SetNextRoute(nextRoute *string)
- func (o *LoginWithGithubParams) SetState(state *string)
- func (o *LoginWithGithubParams) SetTimeout(timeout time.Duration)
- func (o *LoginWithGithubParams) WithCode(code *string) *LoginWithGithubParams
- func (o *LoginWithGithubParams) WithContext(ctx context.Context) *LoginWithGithubParams
- func (o *LoginWithGithubParams) WithDefaults() *LoginWithGithubParams
- func (o *LoginWithGithubParams) WithHTTPClient(client *http.Client) *LoginWithGithubParams
- func (o *LoginWithGithubParams) WithInviteCode(inviteCode *string) *LoginWithGithubParams
- func (o *LoginWithGithubParams) WithNextRoute(nextRoute *string) *LoginWithGithubParams
- func (o *LoginWithGithubParams) WithState(state *string) *LoginWithGithubParams
- func (o *LoginWithGithubParams) WithTimeout(timeout time.Duration) *LoginWithGithubParams
- func (o *LoginWithGithubParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoginWithGithubReader
- type NewTOTPBadRequest
- type NewTOTPOK
- type NewTOTPParams
- func (o *NewTOTPParams) SetContext(ctx context.Context)
- func (o *NewTOTPParams) SetDefaults()
- func (o *NewTOTPParams) SetHTTPClient(client *http.Client)
- func (o *NewTOTPParams) SetTimeout(timeout time.Duration)
- func (o *NewTOTPParams) WithContext(ctx context.Context) *NewTOTPParams
- func (o *NewTOTPParams) WithDefaults() *NewTOTPParams
- func (o *NewTOTPParams) WithHTTPClient(client *http.Client) *NewTOTPParams
- func (o *NewTOTPParams) WithTimeout(timeout time.Duration) *NewTOTPParams
- func (o *NewTOTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NewTOTPReader
- type PostLoginBadRequest
- type PostLoginInternalServerError
- type PostLoginOK
- type PostLoginParams
- func (o *PostLoginParams) SetContext(ctx context.Context)
- func (o *PostLoginParams) SetCredentials(credentials *mono_models.Credentials)
- func (o *PostLoginParams) SetDefaults()
- func (o *PostLoginParams) SetHTTPClient(client *http.Client)
- func (o *PostLoginParams) SetTimeout(timeout time.Duration)
- func (o *PostLoginParams) WithContext(ctx context.Context) *PostLoginParams
- func (o *PostLoginParams) WithCredentials(credentials *mono_models.Credentials) *PostLoginParams
- func (o *PostLoginParams) WithDefaults() *PostLoginParams
- func (o *PostLoginParams) WithHTTPClient(client *http.Client) *PostLoginParams
- func (o *PostLoginParams) WithTimeout(timeout time.Duration) *PostLoginParams
- func (o *PostLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostLoginReader
- type PostLoginRetryWith
- type PostLoginUnauthorized
- type RequestResetBadRequest
- type RequestResetInternalServerError
- type RequestResetOK
- type RequestResetParams
- func (o *RequestResetParams) SetContext(ctx context.Context)
- func (o *RequestResetParams) SetDefaults()
- func (o *RequestResetParams) SetEmail(email string)
- func (o *RequestResetParams) SetHTTPClient(client *http.Client)
- func (o *RequestResetParams) SetTimeout(timeout time.Duration)
- func (o *RequestResetParams) WithContext(ctx context.Context) *RequestResetParams
- func (o *RequestResetParams) WithDefaults() *RequestResetParams
- func (o *RequestResetParams) WithEmail(email string) *RequestResetParams
- func (o *RequestResetParams) WithHTTPClient(client *http.Client) *RequestResetParams
- func (o *RequestResetParams) WithTimeout(timeout time.Duration) *RequestResetParams
- func (o *RequestResetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestResetReader
- type ResetPasswordBadRequest
- type ResetPasswordForbidden
- type ResetPasswordInternalServerError
- type ResetPasswordOK
- type ResetPasswordParams
- func (o *ResetPasswordParams) SetContext(ctx context.Context)
- func (o *ResetPasswordParams) SetDefaults()
- func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordParams) SetResetRequest(resetRequest *mono_models.PasswordReset)
- func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
- func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams
- func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams
- func (o *ResetPasswordParams) WithResetRequest(resetRequest *mono_models.PasswordReset) *ResetPasswordParams
- func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams
- func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordReader
- type SignupWithGithubFound
- type SignupWithGithubParams
- func NewSignupWithGithubParams() *SignupWithGithubParams
- func NewSignupWithGithubParamsWithContext(ctx context.Context) *SignupWithGithubParams
- func NewSignupWithGithubParamsWithHTTPClient(client *http.Client) *SignupWithGithubParams
- func NewSignupWithGithubParamsWithTimeout(timeout time.Duration) *SignupWithGithubParams
- func (o *SignupWithGithubParams) SetCode(code *string)
- func (o *SignupWithGithubParams) SetContext(ctx context.Context)
- func (o *SignupWithGithubParams) SetDefaults()
- func (o *SignupWithGithubParams) SetEmail(email *string)
- func (o *SignupWithGithubParams) SetHTTPClient(client *http.Client)
- func (o *SignupWithGithubParams) SetInviteCode(inviteCode *string)
- func (o *SignupWithGithubParams) SetNextRoute(nextRoute *string)
- func (o *SignupWithGithubParams) SetState(state *string)
- func (o *SignupWithGithubParams) SetTimeout(timeout time.Duration)
- func (o *SignupWithGithubParams) SetUsername(username *string)
- func (o *SignupWithGithubParams) WithCode(code *string) *SignupWithGithubParams
- func (o *SignupWithGithubParams) WithContext(ctx context.Context) *SignupWithGithubParams
- func (o *SignupWithGithubParams) WithDefaults() *SignupWithGithubParams
- func (o *SignupWithGithubParams) WithEmail(email *string) *SignupWithGithubParams
- func (o *SignupWithGithubParams) WithHTTPClient(client *http.Client) *SignupWithGithubParams
- func (o *SignupWithGithubParams) WithInviteCode(inviteCode *string) *SignupWithGithubParams
- func (o *SignupWithGithubParams) WithNextRoute(nextRoute *string) *SignupWithGithubParams
- func (o *SignupWithGithubParams) WithState(state *string) *SignupWithGithubParams
- func (o *SignupWithGithubParams) WithTimeout(timeout time.Duration) *SignupWithGithubParams
- func (o *SignupWithGithubParams) WithUsername(username *string) *SignupWithGithubParams
- func (o *SignupWithGithubParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SignupWithGithubReader
- type UnlinkGithubAccountForbidden
- type UnlinkGithubAccountOK
- type UnlinkGithubAccountParams
- func NewUnlinkGithubAccountParams() *UnlinkGithubAccountParams
- func NewUnlinkGithubAccountParamsWithContext(ctx context.Context) *UnlinkGithubAccountParams
- func NewUnlinkGithubAccountParamsWithHTTPClient(client *http.Client) *UnlinkGithubAccountParams
- func NewUnlinkGithubAccountParamsWithTimeout(timeout time.Duration) *UnlinkGithubAccountParams
- func (o *UnlinkGithubAccountParams) SetContext(ctx context.Context)
- func (o *UnlinkGithubAccountParams) SetDefaults()
- func (o *UnlinkGithubAccountParams) SetHTTPClient(client *http.Client)
- func (o *UnlinkGithubAccountParams) SetTimeout(timeout time.Duration)
- func (o *UnlinkGithubAccountParams) WithContext(ctx context.Context) *UnlinkGithubAccountParams
- func (o *UnlinkGithubAccountParams) WithDefaults() *UnlinkGithubAccountParams
- func (o *UnlinkGithubAccountParams) WithHTTPClient(client *http.Client) *UnlinkGithubAccountParams
- func (o *UnlinkGithubAccountParams) WithTimeout(timeout time.Duration) *UnlinkGithubAccountParams
- func (o *UnlinkGithubAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnlinkGithubAccountReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTokenBadRequest ¶
type AddTokenBadRequest struct {
Payload *mono_models.Message
}
AddTokenBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewAddTokenBadRequest ¶
func NewAddTokenBadRequest() *AddTokenBadRequest
NewAddTokenBadRequest creates a AddTokenBadRequest with default headers values
func (*AddTokenBadRequest) Error ¶
func (o *AddTokenBadRequest) Error() string
func (*AddTokenBadRequest) GetPayload ¶
func (o *AddTokenBadRequest) GetPayload() *mono_models.Message
type AddTokenOK ¶
type AddTokenOK struct {
Payload *mono_models.NewToken
}
AddTokenOK describes a response with status code 200, with default header values.
Success
func NewAddTokenOK ¶
func NewAddTokenOK() *AddTokenOK
NewAddTokenOK creates a AddTokenOK with default headers values
func (*AddTokenOK) Error ¶
func (o *AddTokenOK) Error() string
func (*AddTokenOK) GetPayload ¶
func (o *AddTokenOK) GetPayload() *mono_models.NewToken
type AddTokenParams ¶
type AddTokenParams struct { // TokenOptions. TokenOptions *mono_models.TokenEditable Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddTokenParams contains all the parameters to send to the API endpoint
for the add token operation. Typically these are written to a http.Request.
func NewAddTokenParams ¶
func NewAddTokenParams() *AddTokenParams
NewAddTokenParams creates a new AddTokenParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddTokenParamsWithContext ¶
func NewAddTokenParamsWithContext(ctx context.Context) *AddTokenParams
NewAddTokenParamsWithContext creates a new AddTokenParams object with the ability to set a context for a request.
func NewAddTokenParamsWithHTTPClient ¶
func NewAddTokenParamsWithHTTPClient(client *http.Client) *AddTokenParams
NewAddTokenParamsWithHTTPClient creates a new AddTokenParams object with the ability to set a custom HTTPClient for a request.
func NewAddTokenParamsWithTimeout ¶
func NewAddTokenParamsWithTimeout(timeout time.Duration) *AddTokenParams
NewAddTokenParamsWithTimeout creates a new AddTokenParams object with the ability to set a timeout on a request.
func (*AddTokenParams) SetContext ¶
func (o *AddTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the add token params
func (*AddTokenParams) SetDefaults ¶
func (o *AddTokenParams) SetDefaults()
SetDefaults hydrates default values in the add token params (not the query body).
All values with no default are reset to their zero value.
func (*AddTokenParams) SetHTTPClient ¶
func (o *AddTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add token params
func (*AddTokenParams) SetTimeout ¶
func (o *AddTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add token params
func (*AddTokenParams) SetTokenOptions ¶
func (o *AddTokenParams) SetTokenOptions(tokenOptions *mono_models.TokenEditable)
SetTokenOptions adds the tokenOptions to the add token params
func (*AddTokenParams) WithContext ¶
func (o *AddTokenParams) WithContext(ctx context.Context) *AddTokenParams
WithContext adds the context to the add token params
func (*AddTokenParams) WithDefaults ¶
func (o *AddTokenParams) WithDefaults() *AddTokenParams
WithDefaults hydrates default values in the add token params (not the query body).
All values with no default are reset to their zero value.
func (*AddTokenParams) WithHTTPClient ¶
func (o *AddTokenParams) WithHTTPClient(client *http.Client) *AddTokenParams
WithHTTPClient adds the HTTPClient to the add token params
func (*AddTokenParams) WithTimeout ¶
func (o *AddTokenParams) WithTimeout(timeout time.Duration) *AddTokenParams
WithTimeout adds the timeout to the add token params
func (*AddTokenParams) WithTokenOptions ¶
func (o *AddTokenParams) WithTokenOptions(tokenOptions *mono_models.TokenEditable) *AddTokenParams
WithTokenOptions adds the tokenOptions to the add token params
func (*AddTokenParams) WriteToRequest ¶
func (o *AddTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddTokenReader ¶
type AddTokenReader struct {
// contains filtered or unexported fields
}
AddTokenReader is a Reader for the AddToken structure.
func (*AddTokenReader) ReadResponse ¶
func (o *AddTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangePasswordBadRequest ¶
type ChangePasswordBadRequest struct {
Payload *mono_models.Message
}
ChangePasswordBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewChangePasswordBadRequest ¶
func NewChangePasswordBadRequest() *ChangePasswordBadRequest
NewChangePasswordBadRequest creates a ChangePasswordBadRequest with default headers values
func (*ChangePasswordBadRequest) Error ¶
func (o *ChangePasswordBadRequest) Error() string
func (*ChangePasswordBadRequest) GetPayload ¶
func (o *ChangePasswordBadRequest) GetPayload() *mono_models.Message
type ChangePasswordForbidden ¶
type ChangePasswordForbidden struct {
Payload *mono_models.Message
}
ChangePasswordForbidden describes a response with status code 403, with default header values.
Forbidden
func NewChangePasswordForbidden ¶
func NewChangePasswordForbidden() *ChangePasswordForbidden
NewChangePasswordForbidden creates a ChangePasswordForbidden with default headers values
func (*ChangePasswordForbidden) Error ¶
func (o *ChangePasswordForbidden) Error() string
func (*ChangePasswordForbidden) GetPayload ¶
func (o *ChangePasswordForbidden) GetPayload() *mono_models.Message
type ChangePasswordInternalServerError ¶
type ChangePasswordInternalServerError struct {
Payload *mono_models.Message
}
ChangePasswordInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewChangePasswordInternalServerError ¶
func NewChangePasswordInternalServerError() *ChangePasswordInternalServerError
NewChangePasswordInternalServerError creates a ChangePasswordInternalServerError with default headers values
func (*ChangePasswordInternalServerError) Error ¶
func (o *ChangePasswordInternalServerError) Error() string
func (*ChangePasswordInternalServerError) GetPayload ¶
func (o *ChangePasswordInternalServerError) GetPayload() *mono_models.Message
type ChangePasswordNotFound ¶
type ChangePasswordNotFound struct {
Payload *mono_models.Message
}
ChangePasswordNotFound describes a response with status code 404, with default header values.
Not Found
func NewChangePasswordNotFound ¶
func NewChangePasswordNotFound() *ChangePasswordNotFound
NewChangePasswordNotFound creates a ChangePasswordNotFound with default headers values
func (*ChangePasswordNotFound) Error ¶
func (o *ChangePasswordNotFound) Error() string
func (*ChangePasswordNotFound) GetPayload ¶
func (o *ChangePasswordNotFound) GetPayload() *mono_models.Message
type ChangePasswordOK ¶
type ChangePasswordOK struct {
Payload *mono_models.Message
}
ChangePasswordOK describes a response with status code 200, with default header values.
Success
func NewChangePasswordOK ¶
func NewChangePasswordOK() *ChangePasswordOK
NewChangePasswordOK creates a ChangePasswordOK with default headers values
func (*ChangePasswordOK) Error ¶
func (o *ChangePasswordOK) Error() string
func (*ChangePasswordOK) GetPayload ¶
func (o *ChangePasswordOK) GetPayload() *mono_models.Message
type ChangePasswordParams ¶
type ChangePasswordParams struct { /* ChangeRequest. change Request */ ChangeRequest *mono_models.PasswordChange Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangePasswordParams contains all the parameters to send to the API endpoint
for the change password operation. Typically these are written to a http.Request.
func NewChangePasswordParams ¶
func NewChangePasswordParams() *ChangePasswordParams
NewChangePasswordParams creates a new ChangePasswordParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChangePasswordParamsWithContext ¶
func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams
NewChangePasswordParamsWithContext creates a new ChangePasswordParams object with the ability to set a context for a request.
func NewChangePasswordParamsWithHTTPClient ¶
func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams
NewChangePasswordParamsWithHTTPClient creates a new ChangePasswordParams object with the ability to set a custom HTTPClient for a request.
func NewChangePasswordParamsWithTimeout ¶
func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams
NewChangePasswordParamsWithTimeout creates a new ChangePasswordParams object with the ability to set a timeout on a request.
func (*ChangePasswordParams) SetChangeRequest ¶
func (o *ChangePasswordParams) SetChangeRequest(changeRequest *mono_models.PasswordChange)
SetChangeRequest adds the changeRequest to the change password params
func (*ChangePasswordParams) SetContext ¶
func (o *ChangePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the change password params
func (*ChangePasswordParams) SetDefaults ¶
func (o *ChangePasswordParams) SetDefaults()
SetDefaults hydrates default values in the change password params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordParams) SetHTTPClient ¶
func (o *ChangePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) SetTimeout ¶
func (o *ChangePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WithChangeRequest ¶
func (o *ChangePasswordParams) WithChangeRequest(changeRequest *mono_models.PasswordChange) *ChangePasswordParams
WithChangeRequest adds the changeRequest to the change password params
func (*ChangePasswordParams) WithContext ¶
func (o *ChangePasswordParams) WithContext(ctx context.Context) *ChangePasswordParams
WithContext adds the context to the change password params
func (*ChangePasswordParams) WithDefaults ¶
func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams
WithDefaults hydrates default values in the change password params (not the query body).
All values with no default are reset to their zero value.
func (*ChangePasswordParams) WithHTTPClient ¶
func (o *ChangePasswordParams) WithHTTPClient(client *http.Client) *ChangePasswordParams
WithHTTPClient adds the HTTPClient to the change password params
func (*ChangePasswordParams) WithTimeout ¶
func (o *ChangePasswordParams) WithTimeout(timeout time.Duration) *ChangePasswordParams
WithTimeout adds the timeout to the change password params
func (*ChangePasswordParams) WriteToRequest ¶
func (o *ChangePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangePasswordReader ¶
type ChangePasswordReader struct {
// contains filtered or unexported fields
}
ChangePasswordReader is a Reader for the ChangePassword structure.
func (*ChangePasswordReader) ReadResponse ¶
func (o *ChangePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for authentication API
func (*Client) AddToken ¶
func (a *Client) AddToken(params *AddTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTokenOK, error)
AddToken generates an API token for current user
Produces an API token for use with automated API clients
func (*Client) ChangePassword ¶
func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error)
ChangePassword changes the current password
Prompts for current password which is used to change it to something new.
func (*Client) DeleteToken ¶
func (a *Client) DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTokenOK, error)
DeleteToken deletes an API token
Deletes the specified API Token
func (*Client) DisableTOTP ¶
func (a *Client) DisableTOTP(params *DisableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableTOTPOK, error)
DisableTOTP disables t o t p
Disable TOTP authentication
func (*Client) EnableTOTP ¶
func (a *Client) EnableTOTP(params *EnableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableTOTPOK, error)
EnableTOTP enables t o t p
Enable TOTP authentication by performing initial code validation
func (*Client) GetLoginJwtToken ¶
func (a *Client) GetLoginJwtToken(params *GetLoginJwtTokenParams, opts ...ClientOption) error
GetLoginJwtToken logins with a valid j w t and redirect to a platform URL
Login with a valid JWT and redirect to a platform URL
func (*Client) GetLogout ¶
func (a *Client) GetLogout(params *GetLogoutParams, opts ...ClientOption) (*GetLogoutNoContent, error)
GetLogout logs out of the current session
Log out of the current session
func (*Client) GetRenew ¶
func (a *Client) GetRenew(params *GetRenewParams, opts ...ClientOption) (*GetRenewOK, error)
GetRenew renews a valid j w t
Renew your current JWT to forestall expiration
func (*Client) GithubAuthError ¶
func (a *Client) GithubAuthError(params *GithubAuthErrorParams, opts ...ClientOption) error
GithubAuthError callbacks endpoint for handling errors that come from github
func (*Client) LinkGithubAccount ¶
func (a *Client) LinkGithubAccount(params *LinkGithubAccountParams, opts ...ClientOption) error
LinkGithubAccount callbacks endpoint for linking an account to github
func (*Client) ListTokens ¶
func (a *Client) ListTokens(params *ListTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTokensOK, error)
ListTokens lists current user s API tokens
List of all active API Tokens for current user
func (*Client) LoginAs ¶
func (a *Client) LoginAs(params *LoginAsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginAsOK, error)
LoginAs logins as given user requires you to be a superuser
func (*Client) LoginWithGithub ¶
func (a *Client) LoginWithGithub(params *LoginWithGithubParams, opts ...ClientOption) error
LoginWithGithub callbacks endpoint for logging in via github auth
func (*Client) NewTOTP ¶
func (a *Client) NewTOTP(params *NewTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NewTOTPOK, error)
NewTOTP sets up a new t o t p key
Establish the private key for two-factor authentication
func (*Client) PostLogin ¶
func (a *Client) PostLogin(params *PostLoginParams, opts ...ClientOption) (*PostLoginOK, error)
PostLogin trades your credentials for a j w t
Supply either username/password OR token
func (*Client) RequestReset ¶
func (a *Client) RequestReset(params *RequestResetParams, opts ...ClientOption) (*RequestResetOK, error)
RequestReset requests a password recovery email
Sends a link which can be used to reset a forgotten password.
func (*Client) ResetPassword ¶
func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)
ResetPassword resets a forgotten password
Sends a link which can be used to reset a forgotten password.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SignupWithGithub ¶
func (a *Client) SignupWithGithub(params *SignupWithGithubParams, opts ...ClientOption) error
SignupWithGithub callbacks endpoint for signing up via github auth
func (*Client) UnlinkGithubAccount ¶
func (a *Client) UnlinkGithubAccount(params *UnlinkGithubAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkGithubAccountOK, error)
UnlinkGithubAccount callbacks endpoint for unlinking git hub accounts
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetLoginJwtToken(params *GetLoginJwtTokenParams, opts ...ClientOption) error GetLogout(params *GetLogoutParams, opts ...ClientOption) (*GetLogoutNoContent, error) GetRenew(params *GetRenewParams, opts ...ClientOption) (*GetRenewOK, error) PostLogin(params *PostLoginParams, opts ...ClientOption) (*PostLoginOK, error) AddToken(params *AddTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTokenOK, error) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error) DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTokenOK, error) DisableTOTP(params *DisableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableTOTPOK, error) EnableTOTP(params *EnableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableTOTPOK, error) GithubAuthError(params *GithubAuthErrorParams, opts ...ClientOption) error LinkGithubAccount(params *LinkGithubAccountParams, opts ...ClientOption) error ListTokens(params *ListTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTokensOK, error) LoginAs(params *LoginAsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginAsOK, error) LoginWithGithub(params *LoginWithGithubParams, opts ...ClientOption) error NewTOTP(params *NewTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NewTOTPOK, error) RequestReset(params *RequestResetParams, opts ...ClientOption) (*RequestResetOK, error) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error) SignupWithGithub(params *SignupWithGithubParams, opts ...ClientOption) error UnlinkGithubAccount(params *UnlinkGithubAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkGithubAccountOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new authentication API client.
type DeleteTokenBadRequest ¶
type DeleteTokenBadRequest struct {
Payload *mono_models.Message
}
DeleteTokenBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteTokenBadRequest ¶
func NewDeleteTokenBadRequest() *DeleteTokenBadRequest
NewDeleteTokenBadRequest creates a DeleteTokenBadRequest with default headers values
func (*DeleteTokenBadRequest) Error ¶
func (o *DeleteTokenBadRequest) Error() string
func (*DeleteTokenBadRequest) GetPayload ¶
func (o *DeleteTokenBadRequest) GetPayload() *mono_models.Message
type DeleteTokenForbidden ¶
type DeleteTokenForbidden struct { }
DeleteTokenForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteTokenForbidden ¶
func NewDeleteTokenForbidden() *DeleteTokenForbidden
NewDeleteTokenForbidden creates a DeleteTokenForbidden with default headers values
func (*DeleteTokenForbidden) Error ¶
func (o *DeleteTokenForbidden) Error() string
type DeleteTokenOK ¶
type DeleteTokenOK struct {
Payload *mono_models.Message
}
DeleteTokenOK describes a response with status code 200, with default header values.
Token deleted
func NewDeleteTokenOK ¶
func NewDeleteTokenOK() *DeleteTokenOK
NewDeleteTokenOK creates a DeleteTokenOK with default headers values
func (*DeleteTokenOK) Error ¶
func (o *DeleteTokenOK) Error() string
func (*DeleteTokenOK) GetPayload ¶
func (o *DeleteTokenOK) GetPayload() *mono_models.Message
type DeleteTokenParams ¶
type DeleteTokenParams struct { /* TokenID. tokenID of desired API Token Format: uuid */ TokenID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTokenParams contains all the parameters to send to the API endpoint
for the delete token operation. Typically these are written to a http.Request.
func NewDeleteTokenParams ¶
func NewDeleteTokenParams() *DeleteTokenParams
NewDeleteTokenParams creates a new DeleteTokenParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteTokenParamsWithContext ¶
func NewDeleteTokenParamsWithContext(ctx context.Context) *DeleteTokenParams
NewDeleteTokenParamsWithContext creates a new DeleteTokenParams object with the ability to set a context for a request.
func NewDeleteTokenParamsWithHTTPClient ¶
func NewDeleteTokenParamsWithHTTPClient(client *http.Client) *DeleteTokenParams
NewDeleteTokenParamsWithHTTPClient creates a new DeleteTokenParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTokenParamsWithTimeout ¶
func NewDeleteTokenParamsWithTimeout(timeout time.Duration) *DeleteTokenParams
NewDeleteTokenParamsWithTimeout creates a new DeleteTokenParams object with the ability to set a timeout on a request.
func (*DeleteTokenParams) SetContext ¶
func (o *DeleteTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the delete token params
func (*DeleteTokenParams) SetDefaults ¶
func (o *DeleteTokenParams) SetDefaults()
SetDefaults hydrates default values in the delete token params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTokenParams) SetHTTPClient ¶
func (o *DeleteTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete token params
func (*DeleteTokenParams) SetTimeout ¶
func (o *DeleteTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete token params
func (*DeleteTokenParams) SetTokenID ¶
func (o *DeleteTokenParams) SetTokenID(tokenID strfmt.UUID)
SetTokenID adds the tokenId to the delete token params
func (*DeleteTokenParams) WithContext ¶
func (o *DeleteTokenParams) WithContext(ctx context.Context) *DeleteTokenParams
WithContext adds the context to the delete token params
func (*DeleteTokenParams) WithDefaults ¶
func (o *DeleteTokenParams) WithDefaults() *DeleteTokenParams
WithDefaults hydrates default values in the delete token params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTokenParams) WithHTTPClient ¶
func (o *DeleteTokenParams) WithHTTPClient(client *http.Client) *DeleteTokenParams
WithHTTPClient adds the HTTPClient to the delete token params
func (*DeleteTokenParams) WithTimeout ¶
func (o *DeleteTokenParams) WithTimeout(timeout time.Duration) *DeleteTokenParams
WithTimeout adds the timeout to the delete token params
func (*DeleteTokenParams) WithTokenID ¶
func (o *DeleteTokenParams) WithTokenID(tokenID strfmt.UUID) *DeleteTokenParams
WithTokenID adds the tokenID to the delete token params
func (*DeleteTokenParams) WriteToRequest ¶
func (o *DeleteTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTokenReader ¶
type DeleteTokenReader struct {
// contains filtered or unexported fields
}
DeleteTokenReader is a Reader for the DeleteToken structure.
func (*DeleteTokenReader) ReadResponse ¶
func (o *DeleteTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisableTOTPBadRequest ¶
type DisableTOTPBadRequest struct {
Payload *mono_models.Message
}
DisableTOTPBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDisableTOTPBadRequest ¶
func NewDisableTOTPBadRequest() *DisableTOTPBadRequest
NewDisableTOTPBadRequest creates a DisableTOTPBadRequest with default headers values
func (*DisableTOTPBadRequest) Error ¶
func (o *DisableTOTPBadRequest) Error() string
func (*DisableTOTPBadRequest) GetPayload ¶
func (o *DisableTOTPBadRequest) GetPayload() *mono_models.Message
type DisableTOTPOK ¶
type DisableTOTPOK struct {
Payload *mono_models.User
}
DisableTOTPOK describes a response with status code 200, with default header values.
Disabled TOTP
func NewDisableTOTPOK ¶
func NewDisableTOTPOK() *DisableTOTPOK
NewDisableTOTPOK creates a DisableTOTPOK with default headers values
func (*DisableTOTPOK) Error ¶
func (o *DisableTOTPOK) Error() string
func (*DisableTOTPOK) GetPayload ¶
func (o *DisableTOTPOK) GetPayload() *mono_models.User
type DisableTOTPParams ¶
type DisableTOTPParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisableTOTPParams contains all the parameters to send to the API endpoint
for the disable t o t p operation. Typically these are written to a http.Request.
func NewDisableTOTPParams ¶
func NewDisableTOTPParams() *DisableTOTPParams
NewDisableTOTPParams creates a new DisableTOTPParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDisableTOTPParamsWithContext ¶
func NewDisableTOTPParamsWithContext(ctx context.Context) *DisableTOTPParams
NewDisableTOTPParamsWithContext creates a new DisableTOTPParams object with the ability to set a context for a request.
func NewDisableTOTPParamsWithHTTPClient ¶
func NewDisableTOTPParamsWithHTTPClient(client *http.Client) *DisableTOTPParams
NewDisableTOTPParamsWithHTTPClient creates a new DisableTOTPParams object with the ability to set a custom HTTPClient for a request.
func NewDisableTOTPParamsWithTimeout ¶
func NewDisableTOTPParamsWithTimeout(timeout time.Duration) *DisableTOTPParams
NewDisableTOTPParamsWithTimeout creates a new DisableTOTPParams object with the ability to set a timeout on a request.
func (*DisableTOTPParams) SetContext ¶
func (o *DisableTOTPParams) SetContext(ctx context.Context)
SetContext adds the context to the disable t o t p params
func (*DisableTOTPParams) SetDefaults ¶
func (o *DisableTOTPParams) SetDefaults()
SetDefaults hydrates default values in the disable t o t p params (not the query body).
All values with no default are reset to their zero value.
func (*DisableTOTPParams) SetHTTPClient ¶
func (o *DisableTOTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disable t o t p params
func (*DisableTOTPParams) SetTimeout ¶
func (o *DisableTOTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disable t o t p params
func (*DisableTOTPParams) WithContext ¶
func (o *DisableTOTPParams) WithContext(ctx context.Context) *DisableTOTPParams
WithContext adds the context to the disable t o t p params
func (*DisableTOTPParams) WithDefaults ¶
func (o *DisableTOTPParams) WithDefaults() *DisableTOTPParams
WithDefaults hydrates default values in the disable t o t p params (not the query body).
All values with no default are reset to their zero value.
func (*DisableTOTPParams) WithHTTPClient ¶
func (o *DisableTOTPParams) WithHTTPClient(client *http.Client) *DisableTOTPParams
WithHTTPClient adds the HTTPClient to the disable t o t p params
func (*DisableTOTPParams) WithTimeout ¶
func (o *DisableTOTPParams) WithTimeout(timeout time.Duration) *DisableTOTPParams
WithTimeout adds the timeout to the disable t o t p params
func (*DisableTOTPParams) WriteToRequest ¶
func (o *DisableTOTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisableTOTPReader ¶
type DisableTOTPReader struct {
// contains filtered or unexported fields
}
DisableTOTPReader is a Reader for the DisableTOTP structure.
func (*DisableTOTPReader) ReadResponse ¶
func (o *DisableTOTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnableTOTPBadRequest ¶
type EnableTOTPBadRequest struct {
Payload *mono_models.Message
}
EnableTOTPBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewEnableTOTPBadRequest ¶
func NewEnableTOTPBadRequest() *EnableTOTPBadRequest
NewEnableTOTPBadRequest creates a EnableTOTPBadRequest with default headers values
func (*EnableTOTPBadRequest) Error ¶
func (o *EnableTOTPBadRequest) Error() string
func (*EnableTOTPBadRequest) GetPayload ¶
func (o *EnableTOTPBadRequest) GetPayload() *mono_models.Message
type EnableTOTPOK ¶
type EnableTOTPOK struct {
Payload *mono_models.User
}
EnableTOTPOK describes a response with status code 200, with default header values.
Enabled
func NewEnableTOTPOK ¶
func NewEnableTOTPOK() *EnableTOTPOK
NewEnableTOTPOK creates a EnableTOTPOK with default headers values
func (*EnableTOTPOK) Error ¶
func (o *EnableTOTPOK) Error() string
func (*EnableTOTPOK) GetPayload ¶
func (o *EnableTOTPOK) GetPayload() *mono_models.User
type EnableTOTPParams ¶
type EnableTOTPParams struct { /* Code. TOTP 2FA Rolling Code */ Code string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnableTOTPParams contains all the parameters to send to the API endpoint
for the enable t o t p operation. Typically these are written to a http.Request.
func NewEnableTOTPParams ¶
func NewEnableTOTPParams() *EnableTOTPParams
NewEnableTOTPParams creates a new EnableTOTPParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnableTOTPParamsWithContext ¶
func NewEnableTOTPParamsWithContext(ctx context.Context) *EnableTOTPParams
NewEnableTOTPParamsWithContext creates a new EnableTOTPParams object with the ability to set a context for a request.
func NewEnableTOTPParamsWithHTTPClient ¶
func NewEnableTOTPParamsWithHTTPClient(client *http.Client) *EnableTOTPParams
NewEnableTOTPParamsWithHTTPClient creates a new EnableTOTPParams object with the ability to set a custom HTTPClient for a request.
func NewEnableTOTPParamsWithTimeout ¶
func NewEnableTOTPParamsWithTimeout(timeout time.Duration) *EnableTOTPParams
NewEnableTOTPParamsWithTimeout creates a new EnableTOTPParams object with the ability to set a timeout on a request.
func (*EnableTOTPParams) SetCode ¶
func (o *EnableTOTPParams) SetCode(code string)
SetCode adds the code to the enable t o t p params
func (*EnableTOTPParams) SetContext ¶
func (o *EnableTOTPParams) SetContext(ctx context.Context)
SetContext adds the context to the enable t o t p params
func (*EnableTOTPParams) SetDefaults ¶
func (o *EnableTOTPParams) SetDefaults()
SetDefaults hydrates default values in the enable t o t p params (not the query body).
All values with no default are reset to their zero value.
func (*EnableTOTPParams) SetHTTPClient ¶
func (o *EnableTOTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable t o t p params
func (*EnableTOTPParams) SetTimeout ¶
func (o *EnableTOTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enable t o t p params
func (*EnableTOTPParams) WithCode ¶
func (o *EnableTOTPParams) WithCode(code string) *EnableTOTPParams
WithCode adds the code to the enable t o t p params
func (*EnableTOTPParams) WithContext ¶
func (o *EnableTOTPParams) WithContext(ctx context.Context) *EnableTOTPParams
WithContext adds the context to the enable t o t p params
func (*EnableTOTPParams) WithDefaults ¶
func (o *EnableTOTPParams) WithDefaults() *EnableTOTPParams
WithDefaults hydrates default values in the enable t o t p params (not the query body).
All values with no default are reset to their zero value.
func (*EnableTOTPParams) WithHTTPClient ¶
func (o *EnableTOTPParams) WithHTTPClient(client *http.Client) *EnableTOTPParams
WithHTTPClient adds the HTTPClient to the enable t o t p params
func (*EnableTOTPParams) WithTimeout ¶
func (o *EnableTOTPParams) WithTimeout(timeout time.Duration) *EnableTOTPParams
WithTimeout adds the timeout to the enable t o t p params
func (*EnableTOTPParams) WriteToRequest ¶
func (o *EnableTOTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnableTOTPReader ¶
type EnableTOTPReader struct {
// contains filtered or unexported fields
}
EnableTOTPReader is a Reader for the EnableTOTP structure.
func (*EnableTOTPReader) ReadResponse ¶
func (o *EnableTOTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLoginJwtTokenBadRequest ¶
type GetLoginJwtTokenBadRequest struct {
Payload *mono_models.Message
}
GetLoginJwtTokenBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetLoginJwtTokenBadRequest ¶
func NewGetLoginJwtTokenBadRequest() *GetLoginJwtTokenBadRequest
NewGetLoginJwtTokenBadRequest creates a GetLoginJwtTokenBadRequest with default headers values
func (*GetLoginJwtTokenBadRequest) Error ¶
func (o *GetLoginJwtTokenBadRequest) Error() string
func (*GetLoginJwtTokenBadRequest) GetPayload ¶
func (o *GetLoginJwtTokenBadRequest) GetPayload() *mono_models.Message
type GetLoginJwtTokenFound ¶
type GetLoginJwtTokenFound struct { }
GetLoginJwtTokenFound describes a response with status code 302, with default header values.
Found
func NewGetLoginJwtTokenFound ¶
func NewGetLoginJwtTokenFound() *GetLoginJwtTokenFound
NewGetLoginJwtTokenFound creates a GetLoginJwtTokenFound with default headers values
func (*GetLoginJwtTokenFound) Error ¶
func (o *GetLoginJwtTokenFound) Error() string
type GetLoginJwtTokenInternalServerError ¶
type GetLoginJwtTokenInternalServerError struct {
Payload *mono_models.Message
}
GetLoginJwtTokenInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetLoginJwtTokenInternalServerError ¶
func NewGetLoginJwtTokenInternalServerError() *GetLoginJwtTokenInternalServerError
NewGetLoginJwtTokenInternalServerError creates a GetLoginJwtTokenInternalServerError with default headers values
func (*GetLoginJwtTokenInternalServerError) Error ¶
func (o *GetLoginJwtTokenInternalServerError) Error() string
func (*GetLoginJwtTokenInternalServerError) GetPayload ¶
func (o *GetLoginJwtTokenInternalServerError) GetPayload() *mono_models.Message
type GetLoginJwtTokenParams ¶
type GetLoginJwtTokenParams struct { /* RedirectURL. redirectURL after login Format: uri */ RedirectURL strfmt.URI /* Token. token to login with Format: string */ Token string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLoginJwtTokenParams contains all the parameters to send to the API endpoint
for the get login jwt token operation. Typically these are written to a http.Request.
func NewGetLoginJwtTokenParams ¶
func NewGetLoginJwtTokenParams() *GetLoginJwtTokenParams
NewGetLoginJwtTokenParams creates a new GetLoginJwtTokenParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLoginJwtTokenParamsWithContext ¶
func NewGetLoginJwtTokenParamsWithContext(ctx context.Context) *GetLoginJwtTokenParams
NewGetLoginJwtTokenParamsWithContext creates a new GetLoginJwtTokenParams object with the ability to set a context for a request.
func NewGetLoginJwtTokenParamsWithHTTPClient ¶
func NewGetLoginJwtTokenParamsWithHTTPClient(client *http.Client) *GetLoginJwtTokenParams
NewGetLoginJwtTokenParamsWithHTTPClient creates a new GetLoginJwtTokenParams object with the ability to set a custom HTTPClient for a request.
func NewGetLoginJwtTokenParamsWithTimeout ¶
func NewGetLoginJwtTokenParamsWithTimeout(timeout time.Duration) *GetLoginJwtTokenParams
NewGetLoginJwtTokenParamsWithTimeout creates a new GetLoginJwtTokenParams object with the ability to set a timeout on a request.
func (*GetLoginJwtTokenParams) SetContext ¶
func (o *GetLoginJwtTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the get login jwt token params
func (*GetLoginJwtTokenParams) SetDefaults ¶
func (o *GetLoginJwtTokenParams) SetDefaults()
SetDefaults hydrates default values in the get login jwt token params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoginJwtTokenParams) SetHTTPClient ¶
func (o *GetLoginJwtTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get login jwt token params
func (*GetLoginJwtTokenParams) SetRedirectURL ¶
func (o *GetLoginJwtTokenParams) SetRedirectURL(redirectURL strfmt.URI)
SetRedirectURL adds the redirectUrl to the get login jwt token params
func (*GetLoginJwtTokenParams) SetTimeout ¶
func (o *GetLoginJwtTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get login jwt token params
func (*GetLoginJwtTokenParams) SetToken ¶
func (o *GetLoginJwtTokenParams) SetToken(token string)
SetToken adds the token to the get login jwt token params
func (*GetLoginJwtTokenParams) WithContext ¶
func (o *GetLoginJwtTokenParams) WithContext(ctx context.Context) *GetLoginJwtTokenParams
WithContext adds the context to the get login jwt token params
func (*GetLoginJwtTokenParams) WithDefaults ¶
func (o *GetLoginJwtTokenParams) WithDefaults() *GetLoginJwtTokenParams
WithDefaults hydrates default values in the get login jwt token params (not the query body).
All values with no default are reset to their zero value.
func (*GetLoginJwtTokenParams) WithHTTPClient ¶
func (o *GetLoginJwtTokenParams) WithHTTPClient(client *http.Client) *GetLoginJwtTokenParams
WithHTTPClient adds the HTTPClient to the get login jwt token params
func (*GetLoginJwtTokenParams) WithRedirectURL ¶
func (o *GetLoginJwtTokenParams) WithRedirectURL(redirectURL strfmt.URI) *GetLoginJwtTokenParams
WithRedirectURL adds the redirectURL to the get login jwt token params
func (*GetLoginJwtTokenParams) WithTimeout ¶
func (o *GetLoginJwtTokenParams) WithTimeout(timeout time.Duration) *GetLoginJwtTokenParams
WithTimeout adds the timeout to the get login jwt token params
func (*GetLoginJwtTokenParams) WithToken ¶
func (o *GetLoginJwtTokenParams) WithToken(token string) *GetLoginJwtTokenParams
WithToken adds the token to the get login jwt token params
func (*GetLoginJwtTokenParams) WriteToRequest ¶
func (o *GetLoginJwtTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLoginJwtTokenReader ¶
type GetLoginJwtTokenReader struct {
// contains filtered or unexported fields
}
GetLoginJwtTokenReader is a Reader for the GetLoginJwtToken structure.
func (*GetLoginJwtTokenReader) ReadResponse ¶
func (o *GetLoginJwtTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLogoutInternalServerError ¶
type GetLogoutInternalServerError struct {
Payload *mono_models.Message
}
GetLogoutInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetLogoutInternalServerError ¶
func NewGetLogoutInternalServerError() *GetLogoutInternalServerError
NewGetLogoutInternalServerError creates a GetLogoutInternalServerError with default headers values
func (*GetLogoutInternalServerError) Error ¶
func (o *GetLogoutInternalServerError) Error() string
func (*GetLogoutInternalServerError) GetPayload ¶
func (o *GetLogoutInternalServerError) GetPayload() *mono_models.Message
type GetLogoutNoContent ¶
type GetLogoutNoContent struct { }
GetLogoutNoContent describes a response with status code 204, with default header values.
Success
func NewGetLogoutNoContent ¶
func NewGetLogoutNoContent() *GetLogoutNoContent
NewGetLogoutNoContent creates a GetLogoutNoContent with default headers values
func (*GetLogoutNoContent) Error ¶
func (o *GetLogoutNoContent) Error() string
type GetLogoutParams ¶
type GetLogoutParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLogoutParams contains all the parameters to send to the API endpoint
for the get logout operation. Typically these are written to a http.Request.
func NewGetLogoutParams ¶
func NewGetLogoutParams() *GetLogoutParams
NewGetLogoutParams creates a new GetLogoutParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLogoutParamsWithContext ¶
func NewGetLogoutParamsWithContext(ctx context.Context) *GetLogoutParams
NewGetLogoutParamsWithContext creates a new GetLogoutParams object with the ability to set a context for a request.
func NewGetLogoutParamsWithHTTPClient ¶
func NewGetLogoutParamsWithHTTPClient(client *http.Client) *GetLogoutParams
NewGetLogoutParamsWithHTTPClient creates a new GetLogoutParams object with the ability to set a custom HTTPClient for a request.
func NewGetLogoutParamsWithTimeout ¶
func NewGetLogoutParamsWithTimeout(timeout time.Duration) *GetLogoutParams
NewGetLogoutParamsWithTimeout creates a new GetLogoutParams object with the ability to set a timeout on a request.
func (*GetLogoutParams) SetContext ¶
func (o *GetLogoutParams) SetContext(ctx context.Context)
SetContext adds the context to the get logout params
func (*GetLogoutParams) SetDefaults ¶
func (o *GetLogoutParams) SetDefaults()
SetDefaults hydrates default values in the get logout params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogoutParams) SetHTTPClient ¶
func (o *GetLogoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get logout params
func (*GetLogoutParams) SetTimeout ¶
func (o *GetLogoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get logout params
func (*GetLogoutParams) WithContext ¶
func (o *GetLogoutParams) WithContext(ctx context.Context) *GetLogoutParams
WithContext adds the context to the get logout params
func (*GetLogoutParams) WithDefaults ¶
func (o *GetLogoutParams) WithDefaults() *GetLogoutParams
WithDefaults hydrates default values in the get logout params (not the query body).
All values with no default are reset to their zero value.
func (*GetLogoutParams) WithHTTPClient ¶
func (o *GetLogoutParams) WithHTTPClient(client *http.Client) *GetLogoutParams
WithHTTPClient adds the HTTPClient to the get logout params
func (*GetLogoutParams) WithTimeout ¶
func (o *GetLogoutParams) WithTimeout(timeout time.Duration) *GetLogoutParams
WithTimeout adds the timeout to the get logout params
func (*GetLogoutParams) WriteToRequest ¶
func (o *GetLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLogoutReader ¶
type GetLogoutReader struct {
// contains filtered or unexported fields
}
GetLogoutReader is a Reader for the GetLogout structure.
func (*GetLogoutReader) ReadResponse ¶
func (o *GetLogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRenewInternalServerError ¶
type GetRenewInternalServerError struct {
Payload *mono_models.Message
}
GetRenewInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetRenewInternalServerError ¶
func NewGetRenewInternalServerError() *GetRenewInternalServerError
NewGetRenewInternalServerError creates a GetRenewInternalServerError with default headers values
func (*GetRenewInternalServerError) Error ¶
func (o *GetRenewInternalServerError) Error() string
func (*GetRenewInternalServerError) GetPayload ¶
func (o *GetRenewInternalServerError) GetPayload() *mono_models.Message
type GetRenewNotFound ¶
type GetRenewNotFound struct {
Payload *mono_models.Message
}
GetRenewNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetRenewNotFound ¶
func NewGetRenewNotFound() *GetRenewNotFound
NewGetRenewNotFound creates a GetRenewNotFound with default headers values
func (*GetRenewNotFound) Error ¶
func (o *GetRenewNotFound) Error() string
func (*GetRenewNotFound) GetPayload ¶
func (o *GetRenewNotFound) GetPayload() *mono_models.Message
type GetRenewOK ¶
type GetRenewOK struct {
Payload *mono_models.JWT
}
GetRenewOK describes a response with status code 200, with default header values.
Success
func NewGetRenewOK ¶
func NewGetRenewOK() *GetRenewOK
NewGetRenewOK creates a GetRenewOK with default headers values
func (*GetRenewOK) Error ¶
func (o *GetRenewOK) Error() string
func (*GetRenewOK) GetPayload ¶
func (o *GetRenewOK) GetPayload() *mono_models.JWT
type GetRenewParams ¶
type GetRenewParams struct { /* SessionID. id of session to renew Format: uuid */ SessionID *strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRenewParams contains all the parameters to send to the API endpoint
for the get renew operation. Typically these are written to a http.Request.
func NewGetRenewParams ¶
func NewGetRenewParams() *GetRenewParams
NewGetRenewParams creates a new GetRenewParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRenewParamsWithContext ¶
func NewGetRenewParamsWithContext(ctx context.Context) *GetRenewParams
NewGetRenewParamsWithContext creates a new GetRenewParams object with the ability to set a context for a request.
func NewGetRenewParamsWithHTTPClient ¶
func NewGetRenewParamsWithHTTPClient(client *http.Client) *GetRenewParams
NewGetRenewParamsWithHTTPClient creates a new GetRenewParams object with the ability to set a custom HTTPClient for a request.
func NewGetRenewParamsWithTimeout ¶
func NewGetRenewParamsWithTimeout(timeout time.Duration) *GetRenewParams
NewGetRenewParamsWithTimeout creates a new GetRenewParams object with the ability to set a timeout on a request.
func (*GetRenewParams) SetContext ¶
func (o *GetRenewParams) SetContext(ctx context.Context)
SetContext adds the context to the get renew params
func (*GetRenewParams) SetDefaults ¶
func (o *GetRenewParams) SetDefaults()
SetDefaults hydrates default values in the get renew params (not the query body).
All values with no default are reset to their zero value.
func (*GetRenewParams) SetHTTPClient ¶
func (o *GetRenewParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get renew params
func (*GetRenewParams) SetSessionID ¶
func (o *GetRenewParams) SetSessionID(sessionID *strfmt.UUID)
SetSessionID adds the sessionId to the get renew params
func (*GetRenewParams) SetTimeout ¶
func (o *GetRenewParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get renew params
func (*GetRenewParams) WithContext ¶
func (o *GetRenewParams) WithContext(ctx context.Context) *GetRenewParams
WithContext adds the context to the get renew params
func (*GetRenewParams) WithDefaults ¶
func (o *GetRenewParams) WithDefaults() *GetRenewParams
WithDefaults hydrates default values in the get renew params (not the query body).
All values with no default are reset to their zero value.
func (*GetRenewParams) WithHTTPClient ¶
func (o *GetRenewParams) WithHTTPClient(client *http.Client) *GetRenewParams
WithHTTPClient adds the HTTPClient to the get renew params
func (*GetRenewParams) WithSessionID ¶
func (o *GetRenewParams) WithSessionID(sessionID *strfmt.UUID) *GetRenewParams
WithSessionID adds the sessionID to the get renew params
func (*GetRenewParams) WithTimeout ¶
func (o *GetRenewParams) WithTimeout(timeout time.Duration) *GetRenewParams
WithTimeout adds the timeout to the get renew params
func (*GetRenewParams) WriteToRequest ¶
func (o *GetRenewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRenewReader ¶
type GetRenewReader struct {
// contains filtered or unexported fields
}
GetRenewReader is a Reader for the GetRenew structure.
func (*GetRenewReader) ReadResponse ¶
func (o *GetRenewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GithubAuthErrorFound ¶
type GithubAuthErrorFound struct { }
GithubAuthErrorFound describes a response with status code 302, with default header values.
Found
func NewGithubAuthErrorFound ¶
func NewGithubAuthErrorFound() *GithubAuthErrorFound
NewGithubAuthErrorFound creates a GithubAuthErrorFound with default headers values
func (*GithubAuthErrorFound) Error ¶
func (o *GithubAuthErrorFound) Error() string
type GithubAuthErrorParams ¶
type GithubAuthErrorParams struct { // Error. Error *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GithubAuthErrorParams contains all the parameters to send to the API endpoint
for the github auth error operation. Typically these are written to a http.Request.
func NewGithubAuthErrorParams ¶
func NewGithubAuthErrorParams() *GithubAuthErrorParams
NewGithubAuthErrorParams creates a new GithubAuthErrorParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGithubAuthErrorParamsWithContext ¶
func NewGithubAuthErrorParamsWithContext(ctx context.Context) *GithubAuthErrorParams
NewGithubAuthErrorParamsWithContext creates a new GithubAuthErrorParams object with the ability to set a context for a request.
func NewGithubAuthErrorParamsWithHTTPClient ¶
func NewGithubAuthErrorParamsWithHTTPClient(client *http.Client) *GithubAuthErrorParams
NewGithubAuthErrorParamsWithHTTPClient creates a new GithubAuthErrorParams object with the ability to set a custom HTTPClient for a request.
func NewGithubAuthErrorParamsWithTimeout ¶
func NewGithubAuthErrorParamsWithTimeout(timeout time.Duration) *GithubAuthErrorParams
NewGithubAuthErrorParamsWithTimeout creates a new GithubAuthErrorParams object with the ability to set a timeout on a request.
func (*GithubAuthErrorParams) SetContext ¶
func (o *GithubAuthErrorParams) SetContext(ctx context.Context)
SetContext adds the context to the github auth error params
func (*GithubAuthErrorParams) SetDefaults ¶
func (o *GithubAuthErrorParams) SetDefaults()
SetDefaults hydrates default values in the github auth error params (not the query body).
All values with no default are reset to their zero value.
func (*GithubAuthErrorParams) SetError ¶
func (o *GithubAuthErrorParams) SetError(error *string)
SetError adds the error to the github auth error params
func (*GithubAuthErrorParams) SetHTTPClient ¶
func (o *GithubAuthErrorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the github auth error params
func (*GithubAuthErrorParams) SetTimeout ¶
func (o *GithubAuthErrorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the github auth error params
func (*GithubAuthErrorParams) WithContext ¶
func (o *GithubAuthErrorParams) WithContext(ctx context.Context) *GithubAuthErrorParams
WithContext adds the context to the github auth error params
func (*GithubAuthErrorParams) WithDefaults ¶
func (o *GithubAuthErrorParams) WithDefaults() *GithubAuthErrorParams
WithDefaults hydrates default values in the github auth error params (not the query body).
All values with no default are reset to their zero value.
func (*GithubAuthErrorParams) WithError ¶
func (o *GithubAuthErrorParams) WithError(error *string) *GithubAuthErrorParams
WithError adds the error to the github auth error params
func (*GithubAuthErrorParams) WithHTTPClient ¶
func (o *GithubAuthErrorParams) WithHTTPClient(client *http.Client) *GithubAuthErrorParams
WithHTTPClient adds the HTTPClient to the github auth error params
func (*GithubAuthErrorParams) WithTimeout ¶
func (o *GithubAuthErrorParams) WithTimeout(timeout time.Duration) *GithubAuthErrorParams
WithTimeout adds the timeout to the github auth error params
func (*GithubAuthErrorParams) WriteToRequest ¶
func (o *GithubAuthErrorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GithubAuthErrorReader ¶
type GithubAuthErrorReader struct {
// contains filtered or unexported fields
}
GithubAuthErrorReader is a Reader for the GithubAuthError structure.
func (*GithubAuthErrorReader) ReadResponse ¶
func (o *GithubAuthErrorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LinkGithubAccountFound ¶
type LinkGithubAccountFound struct { }
LinkGithubAccountFound describes a response with status code 302, with default header values.
Found
func NewLinkGithubAccountFound ¶
func NewLinkGithubAccountFound() *LinkGithubAccountFound
NewLinkGithubAccountFound creates a LinkGithubAccountFound with default headers values
func (*LinkGithubAccountFound) Error ¶
func (o *LinkGithubAccountFound) Error() string
type LinkGithubAccountParams ¶
type LinkGithubAccountParams struct { // Code. Code *string // NextRoute. NextRoute *string // State. State *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LinkGithubAccountParams contains all the parameters to send to the API endpoint
for the link github account operation. Typically these are written to a http.Request.
func NewLinkGithubAccountParams ¶
func NewLinkGithubAccountParams() *LinkGithubAccountParams
NewLinkGithubAccountParams creates a new LinkGithubAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewLinkGithubAccountParamsWithContext ¶
func NewLinkGithubAccountParamsWithContext(ctx context.Context) *LinkGithubAccountParams
NewLinkGithubAccountParamsWithContext creates a new LinkGithubAccountParams object with the ability to set a context for a request.
func NewLinkGithubAccountParamsWithHTTPClient ¶
func NewLinkGithubAccountParamsWithHTTPClient(client *http.Client) *LinkGithubAccountParams
NewLinkGithubAccountParamsWithHTTPClient creates a new LinkGithubAccountParams object with the ability to set a custom HTTPClient for a request.
func NewLinkGithubAccountParamsWithTimeout ¶
func NewLinkGithubAccountParamsWithTimeout(timeout time.Duration) *LinkGithubAccountParams
NewLinkGithubAccountParamsWithTimeout creates a new LinkGithubAccountParams object with the ability to set a timeout on a request.
func (*LinkGithubAccountParams) SetCode ¶
func (o *LinkGithubAccountParams) SetCode(code *string)
SetCode adds the code to the link github account params
func (*LinkGithubAccountParams) SetContext ¶
func (o *LinkGithubAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the link github account params
func (*LinkGithubAccountParams) SetDefaults ¶
func (o *LinkGithubAccountParams) SetDefaults()
SetDefaults hydrates default values in the link github account params (not the query body).
All values with no default are reset to their zero value.
func (*LinkGithubAccountParams) SetHTTPClient ¶
func (o *LinkGithubAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the link github account params
func (*LinkGithubAccountParams) SetNextRoute ¶
func (o *LinkGithubAccountParams) SetNextRoute(nextRoute *string)
SetNextRoute adds the nextRoute to the link github account params
func (*LinkGithubAccountParams) SetState ¶
func (o *LinkGithubAccountParams) SetState(state *string)
SetState adds the state to the link github account params
func (*LinkGithubAccountParams) SetTimeout ¶
func (o *LinkGithubAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the link github account params
func (*LinkGithubAccountParams) WithCode ¶
func (o *LinkGithubAccountParams) WithCode(code *string) *LinkGithubAccountParams
WithCode adds the code to the link github account params
func (*LinkGithubAccountParams) WithContext ¶
func (o *LinkGithubAccountParams) WithContext(ctx context.Context) *LinkGithubAccountParams
WithContext adds the context to the link github account params
func (*LinkGithubAccountParams) WithDefaults ¶
func (o *LinkGithubAccountParams) WithDefaults() *LinkGithubAccountParams
WithDefaults hydrates default values in the link github account params (not the query body).
All values with no default are reset to their zero value.
func (*LinkGithubAccountParams) WithHTTPClient ¶
func (o *LinkGithubAccountParams) WithHTTPClient(client *http.Client) *LinkGithubAccountParams
WithHTTPClient adds the HTTPClient to the link github account params
func (*LinkGithubAccountParams) WithNextRoute ¶
func (o *LinkGithubAccountParams) WithNextRoute(nextRoute *string) *LinkGithubAccountParams
WithNextRoute adds the nextRoute to the link github account params
func (*LinkGithubAccountParams) WithState ¶
func (o *LinkGithubAccountParams) WithState(state *string) *LinkGithubAccountParams
WithState adds the state to the link github account params
func (*LinkGithubAccountParams) WithTimeout ¶
func (o *LinkGithubAccountParams) WithTimeout(timeout time.Duration) *LinkGithubAccountParams
WithTimeout adds the timeout to the link github account params
func (*LinkGithubAccountParams) WriteToRequest ¶
func (o *LinkGithubAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LinkGithubAccountReader ¶
type LinkGithubAccountReader struct {
// contains filtered or unexported fields
}
LinkGithubAccountReader is a Reader for the LinkGithubAccount structure.
func (*LinkGithubAccountReader) ReadResponse ¶
func (o *LinkGithubAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTokensInternalServerError ¶
type ListTokensInternalServerError struct {
Payload *mono_models.Message
}
ListTokensInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewListTokensInternalServerError ¶
func NewListTokensInternalServerError() *ListTokensInternalServerError
NewListTokensInternalServerError creates a ListTokensInternalServerError with default headers values
func (*ListTokensInternalServerError) Error ¶
func (o *ListTokensInternalServerError) Error() string
func (*ListTokensInternalServerError) GetPayload ¶
func (o *ListTokensInternalServerError) GetPayload() *mono_models.Message
type ListTokensOK ¶
type ListTokensOK struct {
Payload []*mono_models.Token
}
ListTokensOK describes a response with status code 200, with default header values.
Success
func NewListTokensOK ¶
func NewListTokensOK() *ListTokensOK
NewListTokensOK creates a ListTokensOK with default headers values
func (*ListTokensOK) Error ¶
func (o *ListTokensOK) Error() string
func (*ListTokensOK) GetPayload ¶
func (o *ListTokensOK) GetPayload() []*mono_models.Token
type ListTokensParams ¶
type ListTokensParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTokensParams contains all the parameters to send to the API endpoint
for the list tokens operation. Typically these are written to a http.Request.
func NewListTokensParams ¶
func NewListTokensParams() *ListTokensParams
NewListTokensParams creates a new ListTokensParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListTokensParamsWithContext ¶
func NewListTokensParamsWithContext(ctx context.Context) *ListTokensParams
NewListTokensParamsWithContext creates a new ListTokensParams object with the ability to set a context for a request.
func NewListTokensParamsWithHTTPClient ¶
func NewListTokensParamsWithHTTPClient(client *http.Client) *ListTokensParams
NewListTokensParamsWithHTTPClient creates a new ListTokensParams object with the ability to set a custom HTTPClient for a request.
func NewListTokensParamsWithTimeout ¶
func NewListTokensParamsWithTimeout(timeout time.Duration) *ListTokensParams
NewListTokensParamsWithTimeout creates a new ListTokensParams object with the ability to set a timeout on a request.
func (*ListTokensParams) SetContext ¶
func (o *ListTokensParams) SetContext(ctx context.Context)
SetContext adds the context to the list tokens params
func (*ListTokensParams) SetDefaults ¶
func (o *ListTokensParams) SetDefaults()
SetDefaults hydrates default values in the list tokens params (not the query body).
All values with no default are reset to their zero value.
func (*ListTokensParams) SetHTTPClient ¶
func (o *ListTokensParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list tokens params
func (*ListTokensParams) SetTimeout ¶
func (o *ListTokensParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list tokens params
func (*ListTokensParams) WithContext ¶
func (o *ListTokensParams) WithContext(ctx context.Context) *ListTokensParams
WithContext adds the context to the list tokens params
func (*ListTokensParams) WithDefaults ¶
func (o *ListTokensParams) WithDefaults() *ListTokensParams
WithDefaults hydrates default values in the list tokens params (not the query body).
All values with no default are reset to their zero value.
func (*ListTokensParams) WithHTTPClient ¶
func (o *ListTokensParams) WithHTTPClient(client *http.Client) *ListTokensParams
WithHTTPClient adds the HTTPClient to the list tokens params
func (*ListTokensParams) WithTimeout ¶
func (o *ListTokensParams) WithTimeout(timeout time.Duration) *ListTokensParams
WithTimeout adds the timeout to the list tokens params
func (*ListTokensParams) WriteToRequest ¶
func (o *ListTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTokensReader ¶
type ListTokensReader struct {
// contains filtered or unexported fields
}
ListTokensReader is a Reader for the ListTokens structure.
func (*ListTokensReader) ReadResponse ¶
func (o *ListTokensReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoginAsBadRequest ¶
type LoginAsBadRequest struct {
Payload *mono_models.Message
}
LoginAsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewLoginAsBadRequest ¶
func NewLoginAsBadRequest() *LoginAsBadRequest
NewLoginAsBadRequest creates a LoginAsBadRequest with default headers values
func (*LoginAsBadRequest) Error ¶
func (o *LoginAsBadRequest) Error() string
func (*LoginAsBadRequest) GetPayload ¶
func (o *LoginAsBadRequest) GetPayload() *mono_models.Message
type LoginAsInternalServerError ¶
type LoginAsInternalServerError struct {
Payload *mono_models.Message
}
LoginAsInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewLoginAsInternalServerError ¶
func NewLoginAsInternalServerError() *LoginAsInternalServerError
NewLoginAsInternalServerError creates a LoginAsInternalServerError with default headers values
func (*LoginAsInternalServerError) Error ¶
func (o *LoginAsInternalServerError) Error() string
func (*LoginAsInternalServerError) GetPayload ¶
func (o *LoginAsInternalServerError) GetPayload() *mono_models.Message
type LoginAsOK ¶
type LoginAsOK struct {
Payload *mono_models.JWT
}
LoginAsOK describes a response with status code 200, with default header values.
Success
func NewLoginAsOK ¶
func NewLoginAsOK() *LoginAsOK
NewLoginAsOK creates a LoginAsOK with default headers values
func (*LoginAsOK) GetPayload ¶
func (o *LoginAsOK) GetPayload() *mono_models.JWT
type LoginAsParams ¶
type LoginAsParams struct { /* Username. Username to login as */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LoginAsParams contains all the parameters to send to the API endpoint
for the login as operation. Typically these are written to a http.Request.
func NewLoginAsParams ¶
func NewLoginAsParams() *LoginAsParams
NewLoginAsParams creates a new LoginAsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewLoginAsParamsWithContext ¶
func NewLoginAsParamsWithContext(ctx context.Context) *LoginAsParams
NewLoginAsParamsWithContext creates a new LoginAsParams object with the ability to set a context for a request.
func NewLoginAsParamsWithHTTPClient ¶
func NewLoginAsParamsWithHTTPClient(client *http.Client) *LoginAsParams
NewLoginAsParamsWithHTTPClient creates a new LoginAsParams object with the ability to set a custom HTTPClient for a request.
func NewLoginAsParamsWithTimeout ¶
func NewLoginAsParamsWithTimeout(timeout time.Duration) *LoginAsParams
NewLoginAsParamsWithTimeout creates a new LoginAsParams object with the ability to set a timeout on a request.
func (*LoginAsParams) SetContext ¶
func (o *LoginAsParams) SetContext(ctx context.Context)
SetContext adds the context to the login as params
func (*LoginAsParams) SetDefaults ¶
func (o *LoginAsParams) SetDefaults()
SetDefaults hydrates default values in the login as params (not the query body).
All values with no default are reset to their zero value.
func (*LoginAsParams) SetHTTPClient ¶
func (o *LoginAsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the login as params
func (*LoginAsParams) SetTimeout ¶
func (o *LoginAsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the login as params
func (*LoginAsParams) SetUsername ¶
func (o *LoginAsParams) SetUsername(username string)
SetUsername adds the username to the login as params
func (*LoginAsParams) WithContext ¶
func (o *LoginAsParams) WithContext(ctx context.Context) *LoginAsParams
WithContext adds the context to the login as params
func (*LoginAsParams) WithDefaults ¶
func (o *LoginAsParams) WithDefaults() *LoginAsParams
WithDefaults hydrates default values in the login as params (not the query body).
All values with no default are reset to their zero value.
func (*LoginAsParams) WithHTTPClient ¶
func (o *LoginAsParams) WithHTTPClient(client *http.Client) *LoginAsParams
WithHTTPClient adds the HTTPClient to the login as params
func (*LoginAsParams) WithTimeout ¶
func (o *LoginAsParams) WithTimeout(timeout time.Duration) *LoginAsParams
WithTimeout adds the timeout to the login as params
func (*LoginAsParams) WithUsername ¶
func (o *LoginAsParams) WithUsername(username string) *LoginAsParams
WithUsername adds the username to the login as params
func (*LoginAsParams) WriteToRequest ¶
func (o *LoginAsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoginAsReader ¶
type LoginAsReader struct {
// contains filtered or unexported fields
}
LoginAsReader is a Reader for the LoginAs structure.
func (*LoginAsReader) ReadResponse ¶
func (o *LoginAsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoginAsUnauthorized ¶
type LoginAsUnauthorized struct {
}LoginAsUnauthorized describes a response with status code 401, with default header values.
Invalid credentials
func NewLoginAsUnauthorized ¶
func NewLoginAsUnauthorized() *LoginAsUnauthorized
NewLoginAsUnauthorized creates a LoginAsUnauthorized with default headers values
func (*LoginAsUnauthorized) Error ¶
func (o *LoginAsUnauthorized) Error() string
func (*LoginAsUnauthorized) GetPayload ¶
func (o *LoginAsUnauthorized) GetPayload() *mono_models.Message
type LoginWithGithubFound ¶
type LoginWithGithubFound struct { }
LoginWithGithubFound describes a response with status code 302, with default header values.
Found
func NewLoginWithGithubFound ¶
func NewLoginWithGithubFound() *LoginWithGithubFound
NewLoginWithGithubFound creates a LoginWithGithubFound with default headers values
func (*LoginWithGithubFound) Error ¶
func (o *LoginWithGithubFound) Error() string
type LoginWithGithubParams ¶
type LoginWithGithubParams struct { // Code. Code *string // InviteCode. InviteCode *string // NextRoute. NextRoute *string // State. State *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LoginWithGithubParams contains all the parameters to send to the API endpoint
for the login with github operation. Typically these are written to a http.Request.
func NewLoginWithGithubParams ¶
func NewLoginWithGithubParams() *LoginWithGithubParams
NewLoginWithGithubParams creates a new LoginWithGithubParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewLoginWithGithubParamsWithContext ¶
func NewLoginWithGithubParamsWithContext(ctx context.Context) *LoginWithGithubParams
NewLoginWithGithubParamsWithContext creates a new LoginWithGithubParams object with the ability to set a context for a request.
func NewLoginWithGithubParamsWithHTTPClient ¶
func NewLoginWithGithubParamsWithHTTPClient(client *http.Client) *LoginWithGithubParams
NewLoginWithGithubParamsWithHTTPClient creates a new LoginWithGithubParams object with the ability to set a custom HTTPClient for a request.
func NewLoginWithGithubParamsWithTimeout ¶
func NewLoginWithGithubParamsWithTimeout(timeout time.Duration) *LoginWithGithubParams
NewLoginWithGithubParamsWithTimeout creates a new LoginWithGithubParams object with the ability to set a timeout on a request.
func (*LoginWithGithubParams) SetCode ¶
func (o *LoginWithGithubParams) SetCode(code *string)
SetCode adds the code to the login with github params
func (*LoginWithGithubParams) SetContext ¶
func (o *LoginWithGithubParams) SetContext(ctx context.Context)
SetContext adds the context to the login with github params
func (*LoginWithGithubParams) SetDefaults ¶
func (o *LoginWithGithubParams) SetDefaults()
SetDefaults hydrates default values in the login with github params (not the query body).
All values with no default are reset to their zero value.
func (*LoginWithGithubParams) SetHTTPClient ¶
func (o *LoginWithGithubParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the login with github params
func (*LoginWithGithubParams) SetInviteCode ¶
func (o *LoginWithGithubParams) SetInviteCode(inviteCode *string)
SetInviteCode adds the inviteCode to the login with github params
func (*LoginWithGithubParams) SetNextRoute ¶
func (o *LoginWithGithubParams) SetNextRoute(nextRoute *string)
SetNextRoute adds the nextRoute to the login with github params
func (*LoginWithGithubParams) SetState ¶
func (o *LoginWithGithubParams) SetState(state *string)
SetState adds the state to the login with github params
func (*LoginWithGithubParams) SetTimeout ¶
func (o *LoginWithGithubParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the login with github params
func (*LoginWithGithubParams) WithCode ¶
func (o *LoginWithGithubParams) WithCode(code *string) *LoginWithGithubParams
WithCode adds the code to the login with github params
func (*LoginWithGithubParams) WithContext ¶
func (o *LoginWithGithubParams) WithContext(ctx context.Context) *LoginWithGithubParams
WithContext adds the context to the login with github params
func (*LoginWithGithubParams) WithDefaults ¶
func (o *LoginWithGithubParams) WithDefaults() *LoginWithGithubParams
WithDefaults hydrates default values in the login with github params (not the query body).
All values with no default are reset to their zero value.
func (*LoginWithGithubParams) WithHTTPClient ¶
func (o *LoginWithGithubParams) WithHTTPClient(client *http.Client) *LoginWithGithubParams
WithHTTPClient adds the HTTPClient to the login with github params
func (*LoginWithGithubParams) WithInviteCode ¶
func (o *LoginWithGithubParams) WithInviteCode(inviteCode *string) *LoginWithGithubParams
WithInviteCode adds the inviteCode to the login with github params
func (*LoginWithGithubParams) WithNextRoute ¶
func (o *LoginWithGithubParams) WithNextRoute(nextRoute *string) *LoginWithGithubParams
WithNextRoute adds the nextRoute to the login with github params
func (*LoginWithGithubParams) WithState ¶
func (o *LoginWithGithubParams) WithState(state *string) *LoginWithGithubParams
WithState adds the state to the login with github params
func (*LoginWithGithubParams) WithTimeout ¶
func (o *LoginWithGithubParams) WithTimeout(timeout time.Duration) *LoginWithGithubParams
WithTimeout adds the timeout to the login with github params
func (*LoginWithGithubParams) WriteToRequest ¶
func (o *LoginWithGithubParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoginWithGithubReader ¶
type LoginWithGithubReader struct {
// contains filtered or unexported fields
}
LoginWithGithubReader is a Reader for the LoginWithGithub structure.
func (*LoginWithGithubReader) ReadResponse ¶
func (o *LoginWithGithubReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NewTOTPBadRequest ¶
type NewTOTPBadRequest struct {
Payload *mono_models.Message
}
NewTOTPBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewNewTOTPBadRequest ¶
func NewNewTOTPBadRequest() *NewTOTPBadRequest
NewNewTOTPBadRequest creates a NewTOTPBadRequest with default headers values
func (*NewTOTPBadRequest) Error ¶
func (o *NewTOTPBadRequest) Error() string
func (*NewTOTPBadRequest) GetPayload ¶
func (o *NewTOTPBadRequest) GetPayload() *mono_models.Message
type NewTOTPOK ¶
type NewTOTPOK struct {
Payload *mono_models.TOTPKey
}
NewTOTPOK describes a response with status code 200, with default header values.
New TOTP Key
func NewNewTOTPOK ¶
func NewNewTOTPOK() *NewTOTPOK
NewNewTOTPOK creates a NewTOTPOK with default headers values
func (*NewTOTPOK) GetPayload ¶
func (o *NewTOTPOK) GetPayload() *mono_models.TOTPKey
type NewTOTPParams ¶
type NewTOTPParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NewTOTPParams contains all the parameters to send to the API endpoint
for the new t o t p operation. Typically these are written to a http.Request.
func NewNewTOTPParams ¶
func NewNewTOTPParams() *NewTOTPParams
NewNewTOTPParams creates a new NewTOTPParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewNewTOTPParamsWithContext ¶
func NewNewTOTPParamsWithContext(ctx context.Context) *NewTOTPParams
NewNewTOTPParamsWithContext creates a new NewTOTPParams object with the ability to set a context for a request.
func NewNewTOTPParamsWithHTTPClient ¶
func NewNewTOTPParamsWithHTTPClient(client *http.Client) *NewTOTPParams
NewNewTOTPParamsWithHTTPClient creates a new NewTOTPParams object with the ability to set a custom HTTPClient for a request.
func NewNewTOTPParamsWithTimeout ¶
func NewNewTOTPParamsWithTimeout(timeout time.Duration) *NewTOTPParams
NewNewTOTPParamsWithTimeout creates a new NewTOTPParams object with the ability to set a timeout on a request.
func (*NewTOTPParams) SetContext ¶
func (o *NewTOTPParams) SetContext(ctx context.Context)
SetContext adds the context to the new t o t p params
func (*NewTOTPParams) SetDefaults ¶
func (o *NewTOTPParams) SetDefaults()
SetDefaults hydrates default values in the new t o t p params (not the query body).
All values with no default are reset to their zero value.
func (*NewTOTPParams) SetHTTPClient ¶
func (o *NewTOTPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the new t o t p params
func (*NewTOTPParams) SetTimeout ¶
func (o *NewTOTPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the new t o t p params
func (*NewTOTPParams) WithContext ¶
func (o *NewTOTPParams) WithContext(ctx context.Context) *NewTOTPParams
WithContext adds the context to the new t o t p params
func (*NewTOTPParams) WithDefaults ¶
func (o *NewTOTPParams) WithDefaults() *NewTOTPParams
WithDefaults hydrates default values in the new t o t p params (not the query body).
All values with no default are reset to their zero value.
func (*NewTOTPParams) WithHTTPClient ¶
func (o *NewTOTPParams) WithHTTPClient(client *http.Client) *NewTOTPParams
WithHTTPClient adds the HTTPClient to the new t o t p params
func (*NewTOTPParams) WithTimeout ¶
func (o *NewTOTPParams) WithTimeout(timeout time.Duration) *NewTOTPParams
WithTimeout adds the timeout to the new t o t p params
func (*NewTOTPParams) WriteToRequest ¶
func (o *NewTOTPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NewTOTPReader ¶
type NewTOTPReader struct {
// contains filtered or unexported fields
}
NewTOTPReader is a Reader for the NewTOTP structure.
func (*NewTOTPReader) ReadResponse ¶
func (o *NewTOTPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostLoginBadRequest ¶
type PostLoginBadRequest struct {
Payload *mono_models.Message
}
PostLoginBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostLoginBadRequest ¶
func NewPostLoginBadRequest() *PostLoginBadRequest
NewPostLoginBadRequest creates a PostLoginBadRequest with default headers values
func (*PostLoginBadRequest) Error ¶
func (o *PostLoginBadRequest) Error() string
func (*PostLoginBadRequest) GetPayload ¶
func (o *PostLoginBadRequest) GetPayload() *mono_models.Message
type PostLoginInternalServerError ¶
type PostLoginInternalServerError struct {
Payload *mono_models.Message
}
PostLoginInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewPostLoginInternalServerError ¶
func NewPostLoginInternalServerError() *PostLoginInternalServerError
NewPostLoginInternalServerError creates a PostLoginInternalServerError with default headers values
func (*PostLoginInternalServerError) Error ¶
func (o *PostLoginInternalServerError) Error() string
func (*PostLoginInternalServerError) GetPayload ¶
func (o *PostLoginInternalServerError) GetPayload() *mono_models.Message
type PostLoginOK ¶
type PostLoginOK struct {
Payload *mono_models.JWT
}
PostLoginOK describes a response with status code 200, with default header values.
Success
func NewPostLoginOK ¶
func NewPostLoginOK() *PostLoginOK
NewPostLoginOK creates a PostLoginOK with default headers values
func (*PostLoginOK) Error ¶
func (o *PostLoginOK) Error() string
func (*PostLoginOK) GetPayload ¶
func (o *PostLoginOK) GetPayload() *mono_models.JWT
type PostLoginParams ¶
type PostLoginParams struct { // Credentials. Credentials *mono_models.Credentials Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostLoginParams contains all the parameters to send to the API endpoint
for the post login operation. Typically these are written to a http.Request.
func NewPostLoginParams ¶
func NewPostLoginParams() *PostLoginParams
NewPostLoginParams creates a new PostLoginParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostLoginParamsWithContext ¶
func NewPostLoginParamsWithContext(ctx context.Context) *PostLoginParams
NewPostLoginParamsWithContext creates a new PostLoginParams object with the ability to set a context for a request.
func NewPostLoginParamsWithHTTPClient ¶
func NewPostLoginParamsWithHTTPClient(client *http.Client) *PostLoginParams
NewPostLoginParamsWithHTTPClient creates a new PostLoginParams object with the ability to set a custom HTTPClient for a request.
func NewPostLoginParamsWithTimeout ¶
func NewPostLoginParamsWithTimeout(timeout time.Duration) *PostLoginParams
NewPostLoginParamsWithTimeout creates a new PostLoginParams object with the ability to set a timeout on a request.
func (*PostLoginParams) SetContext ¶
func (o *PostLoginParams) SetContext(ctx context.Context)
SetContext adds the context to the post login params
func (*PostLoginParams) SetCredentials ¶
func (o *PostLoginParams) SetCredentials(credentials *mono_models.Credentials)
SetCredentials adds the credentials to the post login params
func (*PostLoginParams) SetDefaults ¶
func (o *PostLoginParams) SetDefaults()
SetDefaults hydrates default values in the post login params (not the query body).
All values with no default are reset to their zero value.
func (*PostLoginParams) SetHTTPClient ¶
func (o *PostLoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post login params
func (*PostLoginParams) SetTimeout ¶
func (o *PostLoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post login params
func (*PostLoginParams) WithContext ¶
func (o *PostLoginParams) WithContext(ctx context.Context) *PostLoginParams
WithContext adds the context to the post login params
func (*PostLoginParams) WithCredentials ¶
func (o *PostLoginParams) WithCredentials(credentials *mono_models.Credentials) *PostLoginParams
WithCredentials adds the credentials to the post login params
func (*PostLoginParams) WithDefaults ¶
func (o *PostLoginParams) WithDefaults() *PostLoginParams
WithDefaults hydrates default values in the post login params (not the query body).
All values with no default are reset to their zero value.
func (*PostLoginParams) WithHTTPClient ¶
func (o *PostLoginParams) WithHTTPClient(client *http.Client) *PostLoginParams
WithHTTPClient adds the HTTPClient to the post login params
func (*PostLoginParams) WithTimeout ¶
func (o *PostLoginParams) WithTimeout(timeout time.Duration) *PostLoginParams
WithTimeout adds the timeout to the post login params
func (*PostLoginParams) WriteToRequest ¶
func (o *PostLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostLoginReader ¶
type PostLoginReader struct {
// contains filtered or unexported fields
}
PostLoginReader is a Reader for the PostLogin structure.
func (*PostLoginReader) ReadResponse ¶
func (o *PostLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostLoginRetryWith ¶
type PostLoginRetryWith struct {
Payload *mono_models.Message
}
PostLoginRetryWith describes a response with status code 449, with default header values.
TOTP Required
func NewPostLoginRetryWith ¶
func NewPostLoginRetryWith() *PostLoginRetryWith
NewPostLoginRetryWith creates a PostLoginRetryWith with default headers values
func (*PostLoginRetryWith) Error ¶
func (o *PostLoginRetryWith) Error() string
func (*PostLoginRetryWith) GetPayload ¶
func (o *PostLoginRetryWith) GetPayload() *mono_models.Message
type PostLoginUnauthorized ¶
type PostLoginUnauthorized struct {
}PostLoginUnauthorized describes a response with status code 401, with default header values.
Invalid credentials
func NewPostLoginUnauthorized ¶
func NewPostLoginUnauthorized() *PostLoginUnauthorized
NewPostLoginUnauthorized creates a PostLoginUnauthorized with default headers values
func (*PostLoginUnauthorized) Error ¶
func (o *PostLoginUnauthorized) Error() string
func (*PostLoginUnauthorized) GetPayload ¶
func (o *PostLoginUnauthorized) GetPayload() *mono_models.Message
type RequestResetBadRequest ¶
type RequestResetBadRequest struct {
Payload *mono_models.Message
}
RequestResetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRequestResetBadRequest ¶
func NewRequestResetBadRequest() *RequestResetBadRequest
NewRequestResetBadRequest creates a RequestResetBadRequest with default headers values
func (*RequestResetBadRequest) Error ¶
func (o *RequestResetBadRequest) Error() string
func (*RequestResetBadRequest) GetPayload ¶
func (o *RequestResetBadRequest) GetPayload() *mono_models.Message
type RequestResetInternalServerError ¶
type RequestResetInternalServerError struct {
Payload *mono_models.Message
}
RequestResetInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewRequestResetInternalServerError ¶
func NewRequestResetInternalServerError() *RequestResetInternalServerError
NewRequestResetInternalServerError creates a RequestResetInternalServerError with default headers values
func (*RequestResetInternalServerError) Error ¶
func (o *RequestResetInternalServerError) Error() string
func (*RequestResetInternalServerError) GetPayload ¶
func (o *RequestResetInternalServerError) GetPayload() *mono_models.Message
type RequestResetOK ¶
type RequestResetOK struct {
Payload *mono_models.Message
}
RequestResetOK describes a response with status code 200, with default header values.
Success
func NewRequestResetOK ¶
func NewRequestResetOK() *RequestResetOK
NewRequestResetOK creates a RequestResetOK with default headers values
func (*RequestResetOK) Error ¶
func (o *RequestResetOK) Error() string
func (*RequestResetOK) GetPayload ¶
func (o *RequestResetOK) GetPayload() *mono_models.Message
type RequestResetParams ¶
type RequestResetParams struct { /* Email. User email address */ Email string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RequestResetParams contains all the parameters to send to the API endpoint
for the request reset operation. Typically these are written to a http.Request.
func NewRequestResetParams ¶
func NewRequestResetParams() *RequestResetParams
NewRequestResetParams creates a new RequestResetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRequestResetParamsWithContext ¶
func NewRequestResetParamsWithContext(ctx context.Context) *RequestResetParams
NewRequestResetParamsWithContext creates a new RequestResetParams object with the ability to set a context for a request.
func NewRequestResetParamsWithHTTPClient ¶
func NewRequestResetParamsWithHTTPClient(client *http.Client) *RequestResetParams
NewRequestResetParamsWithHTTPClient creates a new RequestResetParams object with the ability to set a custom HTTPClient for a request.
func NewRequestResetParamsWithTimeout ¶
func NewRequestResetParamsWithTimeout(timeout time.Duration) *RequestResetParams
NewRequestResetParamsWithTimeout creates a new RequestResetParams object with the ability to set a timeout on a request.
func (*RequestResetParams) SetContext ¶
func (o *RequestResetParams) SetContext(ctx context.Context)
SetContext adds the context to the request reset params
func (*RequestResetParams) SetDefaults ¶
func (o *RequestResetParams) SetDefaults()
SetDefaults hydrates default values in the request reset params (not the query body).
All values with no default are reset to their zero value.
func (*RequestResetParams) SetEmail ¶
func (o *RequestResetParams) SetEmail(email string)
SetEmail adds the email to the request reset params
func (*RequestResetParams) SetHTTPClient ¶
func (o *RequestResetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request reset params
func (*RequestResetParams) SetTimeout ¶
func (o *RequestResetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request reset params
func (*RequestResetParams) WithContext ¶
func (o *RequestResetParams) WithContext(ctx context.Context) *RequestResetParams
WithContext adds the context to the request reset params
func (*RequestResetParams) WithDefaults ¶
func (o *RequestResetParams) WithDefaults() *RequestResetParams
WithDefaults hydrates default values in the request reset params (not the query body).
All values with no default are reset to their zero value.
func (*RequestResetParams) WithEmail ¶
func (o *RequestResetParams) WithEmail(email string) *RequestResetParams
WithEmail adds the email to the request reset params
func (*RequestResetParams) WithHTTPClient ¶
func (o *RequestResetParams) WithHTTPClient(client *http.Client) *RequestResetParams
WithHTTPClient adds the HTTPClient to the request reset params
func (*RequestResetParams) WithTimeout ¶
func (o *RequestResetParams) WithTimeout(timeout time.Duration) *RequestResetParams
WithTimeout adds the timeout to the request reset params
func (*RequestResetParams) WriteToRequest ¶
func (o *RequestResetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RequestResetReader ¶
type RequestResetReader struct {
// contains filtered or unexported fields
}
RequestResetReader is a Reader for the RequestReset structure.
func (*RequestResetReader) ReadResponse ¶
func (o *RequestResetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPasswordBadRequest ¶
type ResetPasswordBadRequest struct {
Payload *mono_models.Message
}
ResetPasswordBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewResetPasswordBadRequest ¶
func NewResetPasswordBadRequest() *ResetPasswordBadRequest
NewResetPasswordBadRequest creates a ResetPasswordBadRequest with default headers values
func (*ResetPasswordBadRequest) Error ¶
func (o *ResetPasswordBadRequest) Error() string
func (*ResetPasswordBadRequest) GetPayload ¶
func (o *ResetPasswordBadRequest) GetPayload() *mono_models.Message
type ResetPasswordForbidden ¶
type ResetPasswordForbidden struct {
Payload *mono_models.Message
}
ResetPasswordForbidden describes a response with status code 403, with default header values.
Forbidden
func NewResetPasswordForbidden ¶
func NewResetPasswordForbidden() *ResetPasswordForbidden
NewResetPasswordForbidden creates a ResetPasswordForbidden with default headers values
func (*ResetPasswordForbidden) Error ¶
func (o *ResetPasswordForbidden) Error() string
func (*ResetPasswordForbidden) GetPayload ¶
func (o *ResetPasswordForbidden) GetPayload() *mono_models.Message
type ResetPasswordInternalServerError ¶
type ResetPasswordInternalServerError struct {
Payload *mono_models.Message
}
ResetPasswordInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewResetPasswordInternalServerError ¶
func NewResetPasswordInternalServerError() *ResetPasswordInternalServerError
NewResetPasswordInternalServerError creates a ResetPasswordInternalServerError with default headers values
func (*ResetPasswordInternalServerError) Error ¶
func (o *ResetPasswordInternalServerError) Error() string
func (*ResetPasswordInternalServerError) GetPayload ¶
func (o *ResetPasswordInternalServerError) GetPayload() *mono_models.Message
type ResetPasswordOK ¶
type ResetPasswordOK struct {
Payload *mono_models.Message
}
ResetPasswordOK describes a response with status code 200, with default header values.
Success
func NewResetPasswordOK ¶
func NewResetPasswordOK() *ResetPasswordOK
NewResetPasswordOK creates a ResetPasswordOK with default headers values
func (*ResetPasswordOK) Error ¶
func (o *ResetPasswordOK) Error() string
func (*ResetPasswordOK) GetPayload ¶
func (o *ResetPasswordOK) GetPayload() *mono_models.Message
type ResetPasswordParams ¶
type ResetPasswordParams struct { /* ResetRequest. Reset Request */ ResetRequest *mono_models.PasswordReset Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetPasswordParams contains all the parameters to send to the API endpoint
for the reset password operation. Typically these are written to a http.Request.
func NewResetPasswordParams ¶
func NewResetPasswordParams() *ResetPasswordParams
NewResetPasswordParams creates a new ResetPasswordParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewResetPasswordParamsWithContext ¶
func NewResetPasswordParamsWithContext(ctx context.Context) *ResetPasswordParams
NewResetPasswordParamsWithContext creates a new ResetPasswordParams object with the ability to set a context for a request.
func NewResetPasswordParamsWithHTTPClient ¶
func NewResetPasswordParamsWithHTTPClient(client *http.Client) *ResetPasswordParams
NewResetPasswordParamsWithHTTPClient creates a new ResetPasswordParams object with the ability to set a custom HTTPClient for a request.
func NewResetPasswordParamsWithTimeout ¶
func NewResetPasswordParamsWithTimeout(timeout time.Duration) *ResetPasswordParams
NewResetPasswordParamsWithTimeout creates a new ResetPasswordParams object with the ability to set a timeout on a request.
func (*ResetPasswordParams) SetContext ¶
func (o *ResetPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the reset password params
func (*ResetPasswordParams) SetDefaults ¶
func (o *ResetPasswordParams) SetDefaults()
SetDefaults hydrates default values in the reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordParams) SetHTTPClient ¶
func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset password params
func (*ResetPasswordParams) SetResetRequest ¶
func (o *ResetPasswordParams) SetResetRequest(resetRequest *mono_models.PasswordReset)
SetResetRequest adds the resetRequest to the reset password params
func (*ResetPasswordParams) SetTimeout ¶
func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset password params
func (*ResetPasswordParams) WithContext ¶
func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
WithContext adds the context to the reset password params
func (*ResetPasswordParams) WithDefaults ¶
func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams
WithDefaults hydrates default values in the reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordParams) WithHTTPClient ¶
func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams
WithHTTPClient adds the HTTPClient to the reset password params
func (*ResetPasswordParams) WithResetRequest ¶
func (o *ResetPasswordParams) WithResetRequest(resetRequest *mono_models.PasswordReset) *ResetPasswordParams
WithResetRequest adds the resetRequest to the reset password params
func (*ResetPasswordParams) WithTimeout ¶
func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams
WithTimeout adds the timeout to the reset password params
func (*ResetPasswordParams) WriteToRequest ¶
func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPasswordReader ¶
type ResetPasswordReader struct {
// contains filtered or unexported fields
}
ResetPasswordReader is a Reader for the ResetPassword structure.
func (*ResetPasswordReader) ReadResponse ¶
func (o *ResetPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SignupWithGithubFound ¶
type SignupWithGithubFound struct { }
SignupWithGithubFound describes a response with status code 302, with default header values.
Found
func NewSignupWithGithubFound ¶
func NewSignupWithGithubFound() *SignupWithGithubFound
NewSignupWithGithubFound creates a SignupWithGithubFound with default headers values
func (*SignupWithGithubFound) Error ¶
func (o *SignupWithGithubFound) Error() string
type SignupWithGithubParams ¶
type SignupWithGithubParams struct { // Code. Code *string // Email. Email *string // InviteCode. InviteCode *string // NextRoute. NextRoute *string // State. State *string // Username. Username *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SignupWithGithubParams contains all the parameters to send to the API endpoint
for the signup with github operation. Typically these are written to a http.Request.
func NewSignupWithGithubParams ¶
func NewSignupWithGithubParams() *SignupWithGithubParams
NewSignupWithGithubParams creates a new SignupWithGithubParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSignupWithGithubParamsWithContext ¶
func NewSignupWithGithubParamsWithContext(ctx context.Context) *SignupWithGithubParams
NewSignupWithGithubParamsWithContext creates a new SignupWithGithubParams object with the ability to set a context for a request.
func NewSignupWithGithubParamsWithHTTPClient ¶
func NewSignupWithGithubParamsWithHTTPClient(client *http.Client) *SignupWithGithubParams
NewSignupWithGithubParamsWithHTTPClient creates a new SignupWithGithubParams object with the ability to set a custom HTTPClient for a request.
func NewSignupWithGithubParamsWithTimeout ¶
func NewSignupWithGithubParamsWithTimeout(timeout time.Duration) *SignupWithGithubParams
NewSignupWithGithubParamsWithTimeout creates a new SignupWithGithubParams object with the ability to set a timeout on a request.
func (*SignupWithGithubParams) SetCode ¶
func (o *SignupWithGithubParams) SetCode(code *string)
SetCode adds the code to the signup with github params
func (*SignupWithGithubParams) SetContext ¶
func (o *SignupWithGithubParams) SetContext(ctx context.Context)
SetContext adds the context to the signup with github params
func (*SignupWithGithubParams) SetDefaults ¶
func (o *SignupWithGithubParams) SetDefaults()
SetDefaults hydrates default values in the signup with github params (not the query body).
All values with no default are reset to their zero value.
func (*SignupWithGithubParams) SetEmail ¶
func (o *SignupWithGithubParams) SetEmail(email *string)
SetEmail adds the email to the signup with github params
func (*SignupWithGithubParams) SetHTTPClient ¶
func (o *SignupWithGithubParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the signup with github params
func (*SignupWithGithubParams) SetInviteCode ¶
func (o *SignupWithGithubParams) SetInviteCode(inviteCode *string)
SetInviteCode adds the inviteCode to the signup with github params
func (*SignupWithGithubParams) SetNextRoute ¶
func (o *SignupWithGithubParams) SetNextRoute(nextRoute *string)
SetNextRoute adds the nextRoute to the signup with github params
func (*SignupWithGithubParams) SetState ¶
func (o *SignupWithGithubParams) SetState(state *string)
SetState adds the state to the signup with github params
func (*SignupWithGithubParams) SetTimeout ¶
func (o *SignupWithGithubParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the signup with github params
func (*SignupWithGithubParams) SetUsername ¶
func (o *SignupWithGithubParams) SetUsername(username *string)
SetUsername adds the username to the signup with github params
func (*SignupWithGithubParams) WithCode ¶
func (o *SignupWithGithubParams) WithCode(code *string) *SignupWithGithubParams
WithCode adds the code to the signup with github params
func (*SignupWithGithubParams) WithContext ¶
func (o *SignupWithGithubParams) WithContext(ctx context.Context) *SignupWithGithubParams
WithContext adds the context to the signup with github params
func (*SignupWithGithubParams) WithDefaults ¶
func (o *SignupWithGithubParams) WithDefaults() *SignupWithGithubParams
WithDefaults hydrates default values in the signup with github params (not the query body).
All values with no default are reset to their zero value.
func (*SignupWithGithubParams) WithEmail ¶
func (o *SignupWithGithubParams) WithEmail(email *string) *SignupWithGithubParams
WithEmail adds the email to the signup with github params
func (*SignupWithGithubParams) WithHTTPClient ¶
func (o *SignupWithGithubParams) WithHTTPClient(client *http.Client) *SignupWithGithubParams
WithHTTPClient adds the HTTPClient to the signup with github params
func (*SignupWithGithubParams) WithInviteCode ¶
func (o *SignupWithGithubParams) WithInviteCode(inviteCode *string) *SignupWithGithubParams
WithInviteCode adds the inviteCode to the signup with github params
func (*SignupWithGithubParams) WithNextRoute ¶
func (o *SignupWithGithubParams) WithNextRoute(nextRoute *string) *SignupWithGithubParams
WithNextRoute adds the nextRoute to the signup with github params
func (*SignupWithGithubParams) WithState ¶
func (o *SignupWithGithubParams) WithState(state *string) *SignupWithGithubParams
WithState adds the state to the signup with github params
func (*SignupWithGithubParams) WithTimeout ¶
func (o *SignupWithGithubParams) WithTimeout(timeout time.Duration) *SignupWithGithubParams
WithTimeout adds the timeout to the signup with github params
func (*SignupWithGithubParams) WithUsername ¶
func (o *SignupWithGithubParams) WithUsername(username *string) *SignupWithGithubParams
WithUsername adds the username to the signup with github params
func (*SignupWithGithubParams) WriteToRequest ¶
func (o *SignupWithGithubParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SignupWithGithubReader ¶
type SignupWithGithubReader struct {
// contains filtered or unexported fields
}
SignupWithGithubReader is a Reader for the SignupWithGithub structure.
func (*SignupWithGithubReader) ReadResponse ¶
func (o *SignupWithGithubReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnlinkGithubAccountForbidden ¶
type UnlinkGithubAccountForbidden struct { }
UnlinkGithubAccountForbidden describes a response with status code 403, with default header values.
Not found
func NewUnlinkGithubAccountForbidden ¶
func NewUnlinkGithubAccountForbidden() *UnlinkGithubAccountForbidden
NewUnlinkGithubAccountForbidden creates a UnlinkGithubAccountForbidden with default headers values
func (*UnlinkGithubAccountForbidden) Error ¶
func (o *UnlinkGithubAccountForbidden) Error() string
type UnlinkGithubAccountOK ¶
type UnlinkGithubAccountOK struct { }
UnlinkGithubAccountOK describes a response with status code 200, with default header values.
Success
func NewUnlinkGithubAccountOK ¶
func NewUnlinkGithubAccountOK() *UnlinkGithubAccountOK
NewUnlinkGithubAccountOK creates a UnlinkGithubAccountOK with default headers values
func (*UnlinkGithubAccountOK) Error ¶
func (o *UnlinkGithubAccountOK) Error() string
type UnlinkGithubAccountParams ¶
type UnlinkGithubAccountParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnlinkGithubAccountParams contains all the parameters to send to the API endpoint
for the unlink github account operation. Typically these are written to a http.Request.
func NewUnlinkGithubAccountParams ¶
func NewUnlinkGithubAccountParams() *UnlinkGithubAccountParams
NewUnlinkGithubAccountParams creates a new UnlinkGithubAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUnlinkGithubAccountParamsWithContext ¶
func NewUnlinkGithubAccountParamsWithContext(ctx context.Context) *UnlinkGithubAccountParams
NewUnlinkGithubAccountParamsWithContext creates a new UnlinkGithubAccountParams object with the ability to set a context for a request.
func NewUnlinkGithubAccountParamsWithHTTPClient ¶
func NewUnlinkGithubAccountParamsWithHTTPClient(client *http.Client) *UnlinkGithubAccountParams
NewUnlinkGithubAccountParamsWithHTTPClient creates a new UnlinkGithubAccountParams object with the ability to set a custom HTTPClient for a request.
func NewUnlinkGithubAccountParamsWithTimeout ¶
func NewUnlinkGithubAccountParamsWithTimeout(timeout time.Duration) *UnlinkGithubAccountParams
NewUnlinkGithubAccountParamsWithTimeout creates a new UnlinkGithubAccountParams object with the ability to set a timeout on a request.
func (*UnlinkGithubAccountParams) SetContext ¶
func (o *UnlinkGithubAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the unlink github account params
func (*UnlinkGithubAccountParams) SetDefaults ¶
func (o *UnlinkGithubAccountParams) SetDefaults()
SetDefaults hydrates default values in the unlink github account params (not the query body).
All values with no default are reset to their zero value.
func (*UnlinkGithubAccountParams) SetHTTPClient ¶
func (o *UnlinkGithubAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unlink github account params
func (*UnlinkGithubAccountParams) SetTimeout ¶
func (o *UnlinkGithubAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unlink github account params
func (*UnlinkGithubAccountParams) WithContext ¶
func (o *UnlinkGithubAccountParams) WithContext(ctx context.Context) *UnlinkGithubAccountParams
WithContext adds the context to the unlink github account params
func (*UnlinkGithubAccountParams) WithDefaults ¶
func (o *UnlinkGithubAccountParams) WithDefaults() *UnlinkGithubAccountParams
WithDefaults hydrates default values in the unlink github account params (not the query body).
All values with no default are reset to their zero value.
func (*UnlinkGithubAccountParams) WithHTTPClient ¶
func (o *UnlinkGithubAccountParams) WithHTTPClient(client *http.Client) *UnlinkGithubAccountParams
WithHTTPClient adds the HTTPClient to the unlink github account params
func (*UnlinkGithubAccountParams) WithTimeout ¶
func (o *UnlinkGithubAccountParams) WithTimeout(timeout time.Duration) *UnlinkGithubAccountParams
WithTimeout adds the timeout to the unlink github account params
func (*UnlinkGithubAccountParams) WriteToRequest ¶
func (o *UnlinkGithubAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnlinkGithubAccountReader ¶
type UnlinkGithubAccountReader struct {
// contains filtered or unexported fields
}
UnlinkGithubAccountReader is a Reader for the UnlinkGithubAccount structure.
func (*UnlinkGithubAccountReader) ReadResponse ¶
func (o *UnlinkGithubAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_token_parameters.go
- add_token_responses.go
- authentication_client.go
- change_password_parameters.go
- change_password_responses.go
- delete_token_parameters.go
- delete_token_responses.go
- disable_t_o_t_p_parameters.go
- disable_t_o_t_p_responses.go
- enable_t_o_t_p_parameters.go
- enable_t_o_t_p_responses.go
- get_login_jwt_token_parameters.go
- get_login_jwt_token_responses.go
- get_logout_parameters.go
- get_logout_responses.go
- get_renew_parameters.go
- get_renew_responses.go
- github_auth_error_parameters.go
- github_auth_error_responses.go
- link_github_account_parameters.go
- link_github_account_responses.go
- list_tokens_parameters.go
- list_tokens_responses.go
- login_as_parameters.go
- login_as_responses.go
- login_with_github_parameters.go
- login_with_github_responses.go
- new_t_o_t_p_parameters.go
- new_t_o_t_p_responses.go
- post_login_parameters.go
- post_login_responses.go
- request_reset_parameters.go
- request_reset_responses.go
- reset_password_parameters.go
- reset_password_responses.go
- signup_with_github_parameters.go
- signup_with_github_responses.go
- unlink_github_account_parameters.go
- unlink_github_account_responses.go