Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateTotpToken(params *CreateTotpTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTotpTokenOK, error)
- func (a *Client) DeleteCurrentAPISession(params *DeleteCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCurrentAPISessionOK, error)
- func (a *Client) DetailCurrentIdentityAuthenticator(params *DetailCurrentIdentityAuthenticatorParams, ...) (*DetailCurrentIdentityAuthenticatorOK, error)
- func (a *Client) ExtendCurrentIdentityAuthenticator(params *ExtendCurrentIdentityAuthenticatorParams, ...) (*ExtendCurrentIdentityAuthenticatorOK, error)
- func (a *Client) ExtendVerifyCurrentIdentityAuthenticator(params *ExtendVerifyCurrentIdentityAuthenticatorParams, ...) (*ExtendVerifyCurrentIdentityAuthenticatorOK, error)
- func (a *Client) GetCurrentAPISession(params *GetCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCurrentAPISessionOK, error)
- func (a *Client) ListCurrentIdentityAuthenticators(params *ListCurrentIdentityAuthenticatorsParams, ...) (*ListCurrentIdentityAuthenticatorsOK, error)
- func (a *Client) PatchCurrentIdentityAuthenticator(params *PatchCurrentIdentityAuthenticatorParams, ...) (*PatchCurrentIdentityAuthenticatorOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCurrentIdentityAuthenticator(params *UpdateCurrentIdentityAuthenticatorParams, ...) (*UpdateCurrentIdentityAuthenticatorOK, error)
- type ClientOption
- type ClientService
- type CreateTotpTokenNotFound
- func (o *CreateTotpTokenNotFound) Code() int
- func (o *CreateTotpTokenNotFound) Error() string
- func (o *CreateTotpTokenNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateTotpTokenNotFound) IsClientError() bool
- func (o *CreateTotpTokenNotFound) IsCode(code int) bool
- func (o *CreateTotpTokenNotFound) IsRedirect() bool
- func (o *CreateTotpTokenNotFound) IsServerError() bool
- func (o *CreateTotpTokenNotFound) IsSuccess() bool
- func (o *CreateTotpTokenNotFound) String() string
- type CreateTotpTokenOK
- func (o *CreateTotpTokenOK) Code() int
- func (o *CreateTotpTokenOK) Error() string
- func (o *CreateTotpTokenOK) GetPayload() *rest_model.TotpTokenEnvelope
- func (o *CreateTotpTokenOK) IsClientError() bool
- func (o *CreateTotpTokenOK) IsCode(code int) bool
- func (o *CreateTotpTokenOK) IsRedirect() bool
- func (o *CreateTotpTokenOK) IsServerError() bool
- func (o *CreateTotpTokenOK) IsSuccess() bool
- func (o *CreateTotpTokenOK) String() string
- type CreateTotpTokenParams
- func NewCreateTotpTokenParams() *CreateTotpTokenParams
- func NewCreateTotpTokenParamsWithContext(ctx context.Context) *CreateTotpTokenParams
- func NewCreateTotpTokenParamsWithHTTPClient(client *http.Client) *CreateTotpTokenParams
- func NewCreateTotpTokenParamsWithTimeout(timeout time.Duration) *CreateTotpTokenParams
- func (o *CreateTotpTokenParams) SetContext(ctx context.Context)
- func (o *CreateTotpTokenParams) SetDefaults()
- func (o *CreateTotpTokenParams) SetHTTPClient(client *http.Client)
- func (o *CreateTotpTokenParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
- func (o *CreateTotpTokenParams) SetTimeout(timeout time.Duration)
- func (o *CreateTotpTokenParams) WithContext(ctx context.Context) *CreateTotpTokenParams
- func (o *CreateTotpTokenParams) WithDefaults() *CreateTotpTokenParams
- func (o *CreateTotpTokenParams) WithHTTPClient(client *http.Client) *CreateTotpTokenParams
- func (o *CreateTotpTokenParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *CreateTotpTokenParams
- func (o *CreateTotpTokenParams) WithTimeout(timeout time.Duration) *CreateTotpTokenParams
- func (o *CreateTotpTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTotpTokenReader
- type CreateTotpTokenUnauthorized
- func (o *CreateTotpTokenUnauthorized) Code() int
- func (o *CreateTotpTokenUnauthorized) Error() string
- func (o *CreateTotpTokenUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *CreateTotpTokenUnauthorized) IsClientError() bool
- func (o *CreateTotpTokenUnauthorized) IsCode(code int) bool
- func (o *CreateTotpTokenUnauthorized) IsRedirect() bool
- func (o *CreateTotpTokenUnauthorized) IsServerError() bool
- func (o *CreateTotpTokenUnauthorized) IsSuccess() bool
- func (o *CreateTotpTokenUnauthorized) String() string
- type DeleteCurrentAPISessionOK
- func (o *DeleteCurrentAPISessionOK) Code() int
- func (o *DeleteCurrentAPISessionOK) Error() string
- func (o *DeleteCurrentAPISessionOK) GetPayload() *rest_model.Empty
- func (o *DeleteCurrentAPISessionOK) IsClientError() bool
- func (o *DeleteCurrentAPISessionOK) IsCode(code int) bool
- func (o *DeleteCurrentAPISessionOK) IsRedirect() bool
- func (o *DeleteCurrentAPISessionOK) IsServerError() bool
- func (o *DeleteCurrentAPISessionOK) IsSuccess() bool
- func (o *DeleteCurrentAPISessionOK) String() string
- type DeleteCurrentAPISessionParams
- func NewDeleteCurrentAPISessionParams() *DeleteCurrentAPISessionParams
- func NewDeleteCurrentAPISessionParamsWithContext(ctx context.Context) *DeleteCurrentAPISessionParams
- func NewDeleteCurrentAPISessionParamsWithHTTPClient(client *http.Client) *DeleteCurrentAPISessionParams
- func NewDeleteCurrentAPISessionParamsWithTimeout(timeout time.Duration) *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) SetContext(ctx context.Context)
- func (o *DeleteCurrentAPISessionParams) SetDefaults()
- func (o *DeleteCurrentAPISessionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCurrentAPISessionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCurrentAPISessionParams) WithContext(ctx context.Context) *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) WithDefaults() *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) WithHTTPClient(client *http.Client) *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) WithTimeout(timeout time.Duration) *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCurrentAPISessionReader
- type DeleteCurrentAPISessionUnauthorized
- func (o *DeleteCurrentAPISessionUnauthorized) Code() int
- func (o *DeleteCurrentAPISessionUnauthorized) Error() string
- func (o *DeleteCurrentAPISessionUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DeleteCurrentAPISessionUnauthorized) IsClientError() bool
- func (o *DeleteCurrentAPISessionUnauthorized) IsCode(code int) bool
- func (o *DeleteCurrentAPISessionUnauthorized) IsRedirect() bool
- func (o *DeleteCurrentAPISessionUnauthorized) IsServerError() bool
- func (o *DeleteCurrentAPISessionUnauthorized) IsSuccess() bool
- func (o *DeleteCurrentAPISessionUnauthorized) String() string
- type DetailCurrentIdentityAuthenticatorNotFound
- func (o *DetailCurrentIdentityAuthenticatorNotFound) Code() int
- func (o *DetailCurrentIdentityAuthenticatorNotFound) Error() string
- func (o *DetailCurrentIdentityAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailCurrentIdentityAuthenticatorNotFound) IsClientError() bool
- func (o *DetailCurrentIdentityAuthenticatorNotFound) IsCode(code int) bool
- func (o *DetailCurrentIdentityAuthenticatorNotFound) IsRedirect() bool
- func (o *DetailCurrentIdentityAuthenticatorNotFound) IsServerError() bool
- func (o *DetailCurrentIdentityAuthenticatorNotFound) IsSuccess() bool
- func (o *DetailCurrentIdentityAuthenticatorNotFound) String() string
- type DetailCurrentIdentityAuthenticatorOK
- func (o *DetailCurrentIdentityAuthenticatorOK) Code() int
- func (o *DetailCurrentIdentityAuthenticatorOK) Error() string
- func (o *DetailCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.DetailAuthenticatorEnvelope
- func (o *DetailCurrentIdentityAuthenticatorOK) IsClientError() bool
- func (o *DetailCurrentIdentityAuthenticatorOK) IsCode(code int) bool
- func (o *DetailCurrentIdentityAuthenticatorOK) IsRedirect() bool
- func (o *DetailCurrentIdentityAuthenticatorOK) IsServerError() bool
- func (o *DetailCurrentIdentityAuthenticatorOK) IsSuccess() bool
- func (o *DetailCurrentIdentityAuthenticatorOK) String() string
- type DetailCurrentIdentityAuthenticatorParams
- func NewDetailCurrentIdentityAuthenticatorParams() *DetailCurrentIdentityAuthenticatorParams
- func NewDetailCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams
- func NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *DetailCurrentIdentityAuthenticatorParams
- func NewDetailCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
- func (o *DetailCurrentIdentityAuthenticatorParams) SetDefaults()
- func (o *DetailCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *DetailCurrentIdentityAuthenticatorParams) SetID(id string)
- func (o *DetailCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *DetailCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WithDefaults() *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WithID(id string) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailCurrentIdentityAuthenticatorReader
- type DetailCurrentIdentityAuthenticatorUnauthorized
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) Code() int
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) Error() string
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
- func (o *DetailCurrentIdentityAuthenticatorUnauthorized) String() string
- type ExtendCurrentIdentityAuthenticatorOK
- func (o *ExtendCurrentIdentityAuthenticatorOK) Code() int
- func (o *ExtendCurrentIdentityAuthenticatorOK) Error() string
- func (o *ExtendCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.IdentityExtendEnrollmentEnvelope
- func (o *ExtendCurrentIdentityAuthenticatorOK) IsClientError() bool
- func (o *ExtendCurrentIdentityAuthenticatorOK) IsCode(code int) bool
- func (o *ExtendCurrentIdentityAuthenticatorOK) IsRedirect() bool
- func (o *ExtendCurrentIdentityAuthenticatorOK) IsServerError() bool
- func (o *ExtendCurrentIdentityAuthenticatorOK) IsSuccess() bool
- func (o *ExtendCurrentIdentityAuthenticatorOK) String() string
- type ExtendCurrentIdentityAuthenticatorParams
- func NewExtendCurrentIdentityAuthenticatorParams() *ExtendCurrentIdentityAuthenticatorParams
- func NewExtendCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *ExtendCurrentIdentityAuthenticatorParams
- func NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *ExtendCurrentIdentityAuthenticatorParams
- func NewExtendCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *ExtendCurrentIdentityAuthenticatorParams
- func (o *ExtendCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
- func (o *ExtendCurrentIdentityAuthenticatorParams) SetDefaults()
- func (o *ExtendCurrentIdentityAuthenticatorParams) SetExtend(extend *rest_model.IdentityExtendEnrollmentRequest)
- func (o *ExtendCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *ExtendCurrentIdentityAuthenticatorParams) SetID(id string)
- func (o *ExtendCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *ExtendCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *ExtendCurrentIdentityAuthenticatorParams
- func (o *ExtendCurrentIdentityAuthenticatorParams) WithDefaults() *ExtendCurrentIdentityAuthenticatorParams
- func (o *ExtendCurrentIdentityAuthenticatorParams) WithExtend(extend *rest_model.IdentityExtendEnrollmentRequest) *ExtendCurrentIdentityAuthenticatorParams
- func (o *ExtendCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *ExtendCurrentIdentityAuthenticatorParams
- func (o *ExtendCurrentIdentityAuthenticatorParams) WithID(id string) *ExtendCurrentIdentityAuthenticatorParams
- func (o *ExtendCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *ExtendCurrentIdentityAuthenticatorParams
- func (o *ExtendCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExtendCurrentIdentityAuthenticatorReader
- type ExtendCurrentIdentityAuthenticatorUnauthorized
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) Code() int
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) Error() string
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
- func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) String() string
- type ExtendVerifyCurrentIdentityAuthenticatorOK
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) Code() int
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) Error() string
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.Empty
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsClientError() bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsCode(code int) bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsRedirect() bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsServerError() bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsSuccess() bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) String() string
- type ExtendVerifyCurrentIdentityAuthenticatorParams
- func NewExtendVerifyCurrentIdentityAuthenticatorParams() *ExtendVerifyCurrentIdentityAuthenticatorParams
- func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *ExtendVerifyCurrentIdentityAuthenticatorParams
- func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *ExtendVerifyCurrentIdentityAuthenticatorParams
- func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *ExtendVerifyCurrentIdentityAuthenticatorParams
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetDefaults()
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetExtend(extend *rest_model.IdentityExtendValidateEnrollmentRequest)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetID(id string)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *ExtendVerifyCurrentIdentityAuthenticatorParams
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithDefaults() *ExtendVerifyCurrentIdentityAuthenticatorParams
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithExtend(extend *rest_model.IdentityExtendValidateEnrollmentRequest) *ExtendVerifyCurrentIdentityAuthenticatorParams
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *ExtendVerifyCurrentIdentityAuthenticatorParams
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithID(id string) *ExtendVerifyCurrentIdentityAuthenticatorParams
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *ExtendVerifyCurrentIdentityAuthenticatorParams
- func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExtendVerifyCurrentIdentityAuthenticatorReader
- type ExtendVerifyCurrentIdentityAuthenticatorUnauthorized
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) Code() int
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) Error() string
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
- func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) String() string
- type GetCurrentAPISessionOK
- func (o *GetCurrentAPISessionOK) Code() int
- func (o *GetCurrentAPISessionOK) Error() string
- func (o *GetCurrentAPISessionOK) GetPayload() *rest_model.CurrentAPISessionDetailEnvelope
- func (o *GetCurrentAPISessionOK) IsClientError() bool
- func (o *GetCurrentAPISessionOK) IsCode(code int) bool
- func (o *GetCurrentAPISessionOK) IsRedirect() bool
- func (o *GetCurrentAPISessionOK) IsServerError() bool
- func (o *GetCurrentAPISessionOK) IsSuccess() bool
- func (o *GetCurrentAPISessionOK) String() string
- type GetCurrentAPISessionParams
- func NewGetCurrentAPISessionParams() *GetCurrentAPISessionParams
- func NewGetCurrentAPISessionParamsWithContext(ctx context.Context) *GetCurrentAPISessionParams
- func NewGetCurrentAPISessionParamsWithHTTPClient(client *http.Client) *GetCurrentAPISessionParams
- func NewGetCurrentAPISessionParamsWithTimeout(timeout time.Duration) *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) SetContext(ctx context.Context)
- func (o *GetCurrentAPISessionParams) SetDefaults()
- func (o *GetCurrentAPISessionParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentAPISessionParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentAPISessionParams) WithContext(ctx context.Context) *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) WithDefaults() *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) WithHTTPClient(client *http.Client) *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) WithTimeout(timeout time.Duration) *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentAPISessionReader
- type GetCurrentAPISessionUnauthorized
- func (o *GetCurrentAPISessionUnauthorized) Code() int
- func (o *GetCurrentAPISessionUnauthorized) Error() string
- func (o *GetCurrentAPISessionUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *GetCurrentAPISessionUnauthorized) IsClientError() bool
- func (o *GetCurrentAPISessionUnauthorized) IsCode(code int) bool
- func (o *GetCurrentAPISessionUnauthorized) IsRedirect() bool
- func (o *GetCurrentAPISessionUnauthorized) IsServerError() bool
- func (o *GetCurrentAPISessionUnauthorized) IsSuccess() bool
- func (o *GetCurrentAPISessionUnauthorized) String() string
- type ListCurrentIdentityAuthenticatorsBadRequest
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) Code() int
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) Error() string
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsClientError() bool
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsCode(code int) bool
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsRedirect() bool
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsServerError() bool
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsSuccess() bool
- func (o *ListCurrentIdentityAuthenticatorsBadRequest) String() string
- type ListCurrentIdentityAuthenticatorsOK
- func (o *ListCurrentIdentityAuthenticatorsOK) Code() int
- func (o *ListCurrentIdentityAuthenticatorsOK) Error() string
- func (o *ListCurrentIdentityAuthenticatorsOK) GetPayload() *rest_model.ListAuthenticatorsEnvelope
- func (o *ListCurrentIdentityAuthenticatorsOK) IsClientError() bool
- func (o *ListCurrentIdentityAuthenticatorsOK) IsCode(code int) bool
- func (o *ListCurrentIdentityAuthenticatorsOK) IsRedirect() bool
- func (o *ListCurrentIdentityAuthenticatorsOK) IsServerError() bool
- func (o *ListCurrentIdentityAuthenticatorsOK) IsSuccess() bool
- func (o *ListCurrentIdentityAuthenticatorsOK) String() string
- type ListCurrentIdentityAuthenticatorsParams
- func NewListCurrentIdentityAuthenticatorsParams() *ListCurrentIdentityAuthenticatorsParams
- func NewListCurrentIdentityAuthenticatorsParamsWithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams
- func NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient(client *http.Client) *ListCurrentIdentityAuthenticatorsParams
- func NewListCurrentIdentityAuthenticatorsParamsWithTimeout(timeout time.Duration) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) SetContext(ctx context.Context)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetDefaults()
- func (o *ListCurrentIdentityAuthenticatorsParams) SetFilter(filter *string)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetHTTPClient(client *http.Client)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetLimit(limit *int64)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetOffset(offset *int64)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetTimeout(timeout time.Duration)
- func (o *ListCurrentIdentityAuthenticatorsParams) WithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithDefaults() *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithFilter(filter *string) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithHTTPClient(client *http.Client) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithLimit(limit *int64) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithOffset(offset *int64) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithTimeout(timeout time.Duration) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCurrentIdentityAuthenticatorsReader
- type ListCurrentIdentityAuthenticatorsUnauthorized
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) Code() int
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) Error() string
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsClientError() bool
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsCode(code int) bool
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsRedirect() bool
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsServerError() bool
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsSuccess() bool
- func (o *ListCurrentIdentityAuthenticatorsUnauthorized) String() string
- type PatchCurrentIdentityAuthenticatorBadRequest
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) Code() int
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) Error() string
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsClientError() bool
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsCode(code int) bool
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsRedirect() bool
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsServerError() bool
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsSuccess() bool
- func (o *PatchCurrentIdentityAuthenticatorBadRequest) String() string
- type PatchCurrentIdentityAuthenticatorNotFound
- func (o *PatchCurrentIdentityAuthenticatorNotFound) Code() int
- func (o *PatchCurrentIdentityAuthenticatorNotFound) Error() string
- func (o *PatchCurrentIdentityAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchCurrentIdentityAuthenticatorNotFound) IsClientError() bool
- func (o *PatchCurrentIdentityAuthenticatorNotFound) IsCode(code int) bool
- func (o *PatchCurrentIdentityAuthenticatorNotFound) IsRedirect() bool
- func (o *PatchCurrentIdentityAuthenticatorNotFound) IsServerError() bool
- func (o *PatchCurrentIdentityAuthenticatorNotFound) IsSuccess() bool
- func (o *PatchCurrentIdentityAuthenticatorNotFound) String() string
- type PatchCurrentIdentityAuthenticatorOK
- func (o *PatchCurrentIdentityAuthenticatorOK) Code() int
- func (o *PatchCurrentIdentityAuthenticatorOK) Error() string
- func (o *PatchCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.Empty
- func (o *PatchCurrentIdentityAuthenticatorOK) IsClientError() bool
- func (o *PatchCurrentIdentityAuthenticatorOK) IsCode(code int) bool
- func (o *PatchCurrentIdentityAuthenticatorOK) IsRedirect() bool
- func (o *PatchCurrentIdentityAuthenticatorOK) IsServerError() bool
- func (o *PatchCurrentIdentityAuthenticatorOK) IsSuccess() bool
- func (o *PatchCurrentIdentityAuthenticatorOK) String() string
- type PatchCurrentIdentityAuthenticatorParams
- func NewPatchCurrentIdentityAuthenticatorParams() *PatchCurrentIdentityAuthenticatorParams
- func NewPatchCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams
- func NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *PatchCurrentIdentityAuthenticatorParams
- func NewPatchCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorPatchWithCurrent)
- func (o *PatchCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
- func (o *PatchCurrentIdentityAuthenticatorParams) SetDefaults()
- func (o *PatchCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *PatchCurrentIdentityAuthenticatorParams) SetID(id string)
- func (o *PatchCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *PatchCurrentIdentityAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorPatchWithCurrent) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithDefaults() *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithID(id string) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchCurrentIdentityAuthenticatorReader
- type PatchCurrentIdentityAuthenticatorUnauthorized
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) Code() int
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) Error() string
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
- func (o *PatchCurrentIdentityAuthenticatorUnauthorized) String() string
- type UpdateCurrentIdentityAuthenticatorBadRequest
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) Code() int
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) Error() string
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsClientError() bool
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsCode(code int) bool
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsRedirect() bool
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsServerError() bool
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsSuccess() bool
- func (o *UpdateCurrentIdentityAuthenticatorBadRequest) String() string
- type UpdateCurrentIdentityAuthenticatorNotFound
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) Code() int
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) Error() string
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsClientError() bool
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsCode(code int) bool
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsRedirect() bool
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsServerError() bool
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsSuccess() bool
- func (o *UpdateCurrentIdentityAuthenticatorNotFound) String() string
- type UpdateCurrentIdentityAuthenticatorOK
- func (o *UpdateCurrentIdentityAuthenticatorOK) Code() int
- func (o *UpdateCurrentIdentityAuthenticatorOK) Error() string
- func (o *UpdateCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.Empty
- func (o *UpdateCurrentIdentityAuthenticatorOK) IsClientError() bool
- func (o *UpdateCurrentIdentityAuthenticatorOK) IsCode(code int) bool
- func (o *UpdateCurrentIdentityAuthenticatorOK) IsRedirect() bool
- func (o *UpdateCurrentIdentityAuthenticatorOK) IsServerError() bool
- func (o *UpdateCurrentIdentityAuthenticatorOK) IsSuccess() bool
- func (o *UpdateCurrentIdentityAuthenticatorOK) String() string
- type UpdateCurrentIdentityAuthenticatorParams
- func NewUpdateCurrentIdentityAuthenticatorParams() *UpdateCurrentIdentityAuthenticatorParams
- func NewUpdateCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams
- func NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *UpdateCurrentIdentityAuthenticatorParams
- func NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorUpdateWithCurrent)
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetDefaults()
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetID(id string)
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorUpdateWithCurrent) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithDefaults() *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithID(id string) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCurrentIdentityAuthenticatorReader
- type UpdateCurrentIdentityAuthenticatorUnauthorized
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) Code() int
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) Error() string
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
- func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for current api session API
func (*Client) CreateTotpToken ¶ added in v0.26.50
func (a *Client) CreateTotpToken(params *CreateTotpTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTotpTokenOK, error)
CreateTotpToken creates an m f a t o t p token that proves t o t p code checking has passed as a specific time for posture checks
Creates a TOTP token that proves TOTP validation occurred at a specific time. Used in posture response for posture checks.
func (*Client) DeleteCurrentAPISession ¶
func (a *Client) DeleteCurrentAPISession(params *DeleteCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCurrentAPISessionOK, error)
DeleteCurrentAPISession logouts
Terminates the current API session
func (*Client) DetailCurrentIdentityAuthenticator ¶
func (a *Client) DetailCurrentIdentityAuthenticator(params *DetailCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCurrentIdentityAuthenticatorOK, error)
DetailCurrentIdentityAuthenticator retrieves an authenticator for the current identity
Retrieves a single authenticator by id. Will only show authenticators assigned to the API session's identity.
func (*Client) ExtendCurrentIdentityAuthenticator ¶
func (a *Client) ExtendCurrentIdentityAuthenticator(params *ExtendCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtendCurrentIdentityAuthenticatorOK, error)
ExtendCurrentIdentityAuthenticator allows the current identity to recieve a new certificate associated with a certificate based authenticator This endpoint only functions for certificates issued by the controller. 3rd party certificates are not handled.
Allows an identity to extend its certificate's expiration date by using its current and valid client certificate to submit a CSR. This CSR may be passed in using a new private key, thus allowing private key rotation. The response from this endpoint is a new client certificate which the client must be verified via the /authenticators/{id}/extend-verify endpoint. After verification is completion any new connections must be made with new certificate. Prior to verification the old client certificate remains active.
func (*Client) ExtendVerifyCurrentIdentityAuthenticator ¶
func (a *Client) ExtendVerifyCurrentIdentityAuthenticator(params *ExtendVerifyCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtendVerifyCurrentIdentityAuthenticatorOK, error)
ExtendVerifyCurrentIdentityAuthenticator allows the current identity to validate reciept of a new client certificate After submitting a CSR for a new client certificate the resulting public certificate must be re-submitted to this endpoint to verify receipt.
After receipt, the new client certificate must be used for new authentication requests.
func (*Client) GetCurrentAPISession ¶
func (a *Client) GetCurrentAPISession(params *GetCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentAPISessionOK, error)
GetCurrentAPISession returns the current API session
Retrieves the API session that was used to issue the current request
func (*Client) ListCurrentIdentityAuthenticators ¶
func (a *Client) ListCurrentIdentityAuthenticators(params *ListCurrentIdentityAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCurrentIdentityAuthenticatorsOK, error)
ListCurrentIdentityAuthenticators lists authenticators for the current identity
Retrieves a list of authenticators assigned to the current API session's identity; supports filtering, sorting, and pagination.
func (*Client) PatchCurrentIdentityAuthenticator ¶
func (a *Client) PatchCurrentIdentityAuthenticator(params *PatchCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchCurrentIdentityAuthenticatorOK, error)
PatchCurrentIdentityAuthenticator updates the supplied fields on an authenticator of this identity Update the supplied fields on an authenticator by id. Will only update authenticators assigned to the API
session's identity.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCurrentIdentityAuthenticator ¶
func (a *Client) UpdateCurrentIdentityAuthenticator(params *UpdateCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentIdentityAuthenticatorOK, error)
UpdateCurrentIdentityAuthenticator updates all fields on an authenticator of this identity Update all fields on an authenticator by id. Will only update authenticators assigned to the API session's
identity.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
DeleteCurrentAPISession(params *DeleteCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCurrentAPISessionOK, error)
CreateTotpToken(params *CreateTotpTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTotpTokenOK, error)
DetailCurrentIdentityAuthenticator(params *DetailCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCurrentIdentityAuthenticatorOK, error)
ExtendCurrentIdentityAuthenticator(params *ExtendCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtendCurrentIdentityAuthenticatorOK, error)
ExtendVerifyCurrentIdentityAuthenticator(params *ExtendVerifyCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtendVerifyCurrentIdentityAuthenticatorOK, error)
GetCurrentAPISession(params *GetCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentAPISessionOK, error)
ListCurrentIdentityAuthenticators(params *ListCurrentIdentityAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCurrentIdentityAuthenticatorsOK, error)
PatchCurrentIdentityAuthenticator(params *PatchCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchCurrentIdentityAuthenticatorOK, error)
UpdateCurrentIdentityAuthenticator(params *UpdateCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentIdentityAuthenticatorOK, 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 current api session API client.
func NewClientWithBasicAuth ¶ added in v0.26.53
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new current api session API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.26.53
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new current api session API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateTotpTokenNotFound ¶ added in v0.26.50
type CreateTotpTokenNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
CreateTotpTokenNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewCreateTotpTokenNotFound ¶ added in v0.26.50
func NewCreateTotpTokenNotFound() *CreateTotpTokenNotFound
NewCreateTotpTokenNotFound creates a CreateTotpTokenNotFound with default headers values
func (*CreateTotpTokenNotFound) Code ¶ added in v0.26.53
func (o *CreateTotpTokenNotFound) Code() int
Code gets the status code for the create totp token not found response
func (*CreateTotpTokenNotFound) Error ¶ added in v0.26.50
func (o *CreateTotpTokenNotFound) Error() string
func (*CreateTotpTokenNotFound) GetPayload ¶ added in v0.26.50
func (o *CreateTotpTokenNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateTotpTokenNotFound) IsClientError ¶ added in v0.26.53
func (o *CreateTotpTokenNotFound) IsClientError() bool
IsClientError returns true when this create totp token not found response has a 4xx status code
func (*CreateTotpTokenNotFound) IsCode ¶ added in v0.26.53
func (o *CreateTotpTokenNotFound) IsCode(code int) bool
IsCode returns true when this create totp token not found response a status code equal to that given
func (*CreateTotpTokenNotFound) IsRedirect ¶ added in v0.26.53
func (o *CreateTotpTokenNotFound) IsRedirect() bool
IsRedirect returns true when this create totp token not found response has a 3xx status code
func (*CreateTotpTokenNotFound) IsServerError ¶ added in v0.26.53
func (o *CreateTotpTokenNotFound) IsServerError() bool
IsServerError returns true when this create totp token not found response has a 5xx status code
func (*CreateTotpTokenNotFound) IsSuccess ¶ added in v0.26.53
func (o *CreateTotpTokenNotFound) IsSuccess() bool
IsSuccess returns true when this create totp token not found response has a 2xx status code
func (*CreateTotpTokenNotFound) String ¶ added in v0.26.53
func (o *CreateTotpTokenNotFound) String() string
type CreateTotpTokenOK ¶ added in v0.26.50
type CreateTotpTokenOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.TotpTokenEnvelope
}
CreateTotpTokenOK describes a response with status code 200, with default header values.
A TOTP token create response, contains a token used to satisfy posture checks
func NewCreateTotpTokenOK ¶ added in v0.26.50
func NewCreateTotpTokenOK() *CreateTotpTokenOK
NewCreateTotpTokenOK creates a CreateTotpTokenOK with default headers values
func (*CreateTotpTokenOK) Code ¶ added in v0.26.53
func (o *CreateTotpTokenOK) Code() int
Code gets the status code for the create totp token o k response
func (*CreateTotpTokenOK) Error ¶ added in v0.26.50
func (o *CreateTotpTokenOK) Error() string
func (*CreateTotpTokenOK) GetPayload ¶ added in v0.26.50
func (o *CreateTotpTokenOK) GetPayload() *rest_model.TotpTokenEnvelope
func (*CreateTotpTokenOK) IsClientError ¶ added in v0.26.53
func (o *CreateTotpTokenOK) IsClientError() bool
IsClientError returns true when this create totp token o k response has a 4xx status code
func (*CreateTotpTokenOK) IsCode ¶ added in v0.26.53
func (o *CreateTotpTokenOK) IsCode(code int) bool
IsCode returns true when this create totp token o k response a status code equal to that given
func (*CreateTotpTokenOK) IsRedirect ¶ added in v0.26.53
func (o *CreateTotpTokenOK) IsRedirect() bool
IsRedirect returns true when this create totp token o k response has a 3xx status code
func (*CreateTotpTokenOK) IsServerError ¶ added in v0.26.53
func (o *CreateTotpTokenOK) IsServerError() bool
IsServerError returns true when this create totp token o k response has a 5xx status code
func (*CreateTotpTokenOK) IsSuccess ¶ added in v0.26.53
func (o *CreateTotpTokenOK) IsSuccess() bool
IsSuccess returns true when this create totp token o k response has a 2xx status code
func (*CreateTotpTokenOK) String ¶ added in v0.26.53
func (o *CreateTotpTokenOK) String() string
type CreateTotpTokenParams ¶ added in v0.26.50
type CreateTotpTokenParams struct {
/* MfaValidation.
An MFA TOTP validation request
*/
MfaValidation *rest_model.MfaCode
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateTotpTokenParams contains all the parameters to send to the API endpoint
for the create totp token operation. Typically these are written to a http.Request.
func NewCreateTotpTokenParams ¶ added in v0.26.50
func NewCreateTotpTokenParams() *CreateTotpTokenParams
NewCreateTotpTokenParams creates a new CreateTotpTokenParams 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 NewCreateTotpTokenParamsWithContext ¶ added in v0.26.50
func NewCreateTotpTokenParamsWithContext(ctx context.Context) *CreateTotpTokenParams
NewCreateTotpTokenParamsWithContext creates a new CreateTotpTokenParams object with the ability to set a context for a request.
func NewCreateTotpTokenParamsWithHTTPClient ¶ added in v0.26.50
func NewCreateTotpTokenParamsWithHTTPClient(client *http.Client) *CreateTotpTokenParams
NewCreateTotpTokenParamsWithHTTPClient creates a new CreateTotpTokenParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTotpTokenParamsWithTimeout ¶ added in v0.26.50
func NewCreateTotpTokenParamsWithTimeout(timeout time.Duration) *CreateTotpTokenParams
NewCreateTotpTokenParamsWithTimeout creates a new CreateTotpTokenParams object with the ability to set a timeout on a request.
func (*CreateTotpTokenParams) SetContext ¶ added in v0.26.50
func (o *CreateTotpTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the create totp token params
func (*CreateTotpTokenParams) SetDefaults ¶ added in v0.26.50
func (o *CreateTotpTokenParams) SetDefaults()
SetDefaults hydrates default values in the create totp token params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTotpTokenParams) SetHTTPClient ¶ added in v0.26.50
func (o *CreateTotpTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create totp token params
func (*CreateTotpTokenParams) SetMfaValidation ¶ added in v0.26.50
func (o *CreateTotpTokenParams) SetMfaValidation(mfaValidation *rest_model.MfaCode)
SetMfaValidation adds the mfaValidation to the create totp token params
func (*CreateTotpTokenParams) SetTimeout ¶ added in v0.26.50
func (o *CreateTotpTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create totp token params
func (*CreateTotpTokenParams) WithContext ¶ added in v0.26.50
func (o *CreateTotpTokenParams) WithContext(ctx context.Context) *CreateTotpTokenParams
WithContext adds the context to the create totp token params
func (*CreateTotpTokenParams) WithDefaults ¶ added in v0.26.50
func (o *CreateTotpTokenParams) WithDefaults() *CreateTotpTokenParams
WithDefaults hydrates default values in the create totp token params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTotpTokenParams) WithHTTPClient ¶ added in v0.26.50
func (o *CreateTotpTokenParams) WithHTTPClient(client *http.Client) *CreateTotpTokenParams
WithHTTPClient adds the HTTPClient to the create totp token params
func (*CreateTotpTokenParams) WithMfaValidation ¶ added in v0.26.50
func (o *CreateTotpTokenParams) WithMfaValidation(mfaValidation *rest_model.MfaCode) *CreateTotpTokenParams
WithMfaValidation adds the mfaValidation to the create totp token params
func (*CreateTotpTokenParams) WithTimeout ¶ added in v0.26.50
func (o *CreateTotpTokenParams) WithTimeout(timeout time.Duration) *CreateTotpTokenParams
WithTimeout adds the timeout to the create totp token params
func (*CreateTotpTokenParams) WriteToRequest ¶ added in v0.26.50
func (o *CreateTotpTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTotpTokenReader ¶ added in v0.26.50
type CreateTotpTokenReader struct {
// contains filtered or unexported fields
}
CreateTotpTokenReader is a Reader for the CreateTotpToken structure.
func (*CreateTotpTokenReader) ReadResponse ¶ added in v0.26.50
func (o *CreateTotpTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateTotpTokenUnauthorized ¶ added in v0.26.50
type CreateTotpTokenUnauthorized struct {
WWWAuthenticate []string
}
CreateTotpTokenUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewCreateTotpTokenUnauthorized ¶ added in v0.26.50
func NewCreateTotpTokenUnauthorized() *CreateTotpTokenUnauthorized
NewCreateTotpTokenUnauthorized creates a CreateTotpTokenUnauthorized with default headers values
func (*CreateTotpTokenUnauthorized) Code ¶ added in v0.26.53
func (o *CreateTotpTokenUnauthorized) Code() int
Code gets the status code for the create totp token unauthorized response
func (*CreateTotpTokenUnauthorized) Error ¶ added in v0.26.50
func (o *CreateTotpTokenUnauthorized) Error() string
func (*CreateTotpTokenUnauthorized) GetPayload ¶ added in v0.26.50
func (o *CreateTotpTokenUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*CreateTotpTokenUnauthorized) IsClientError ¶ added in v0.26.53
func (o *CreateTotpTokenUnauthorized) IsClientError() bool
IsClientError returns true when this create totp token unauthorized response has a 4xx status code
func (*CreateTotpTokenUnauthorized) IsCode ¶ added in v0.26.53
func (o *CreateTotpTokenUnauthorized) IsCode(code int) bool
IsCode returns true when this create totp token unauthorized response a status code equal to that given
func (*CreateTotpTokenUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *CreateTotpTokenUnauthorized) IsRedirect() bool
IsRedirect returns true when this create totp token unauthorized response has a 3xx status code
func (*CreateTotpTokenUnauthorized) IsServerError ¶ added in v0.26.53
func (o *CreateTotpTokenUnauthorized) IsServerError() bool
IsServerError returns true when this create totp token unauthorized response has a 5xx status code
func (*CreateTotpTokenUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *CreateTotpTokenUnauthorized) IsSuccess() bool
IsSuccess returns true when this create totp token unauthorized response has a 2xx status code
func (*CreateTotpTokenUnauthorized) String ¶ added in v0.26.53
func (o *CreateTotpTokenUnauthorized) String() string
type DeleteCurrentAPISessionOK ¶
type DeleteCurrentAPISessionOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
DeleteCurrentAPISessionOK describes a response with status code 200, with default header values.
Base empty response
func NewDeleteCurrentAPISessionOK ¶
func NewDeleteCurrentAPISessionOK() *DeleteCurrentAPISessionOK
NewDeleteCurrentAPISessionOK creates a DeleteCurrentAPISessionOK with default headers values
func (*DeleteCurrentAPISessionOK) Code ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionOK) Code() int
Code gets the status code for the delete current Api session o k response
func (*DeleteCurrentAPISessionOK) Error ¶
func (o *DeleteCurrentAPISessionOK) Error() string
func (*DeleteCurrentAPISessionOK) GetPayload ¶
func (o *DeleteCurrentAPISessionOK) GetPayload() *rest_model.Empty
func (*DeleteCurrentAPISessionOK) IsClientError ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionOK) IsClientError() bool
IsClientError returns true when this delete current Api session o k response has a 4xx status code
func (*DeleteCurrentAPISessionOK) IsCode ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionOK) IsCode(code int) bool
IsCode returns true when this delete current Api session o k response a status code equal to that given
func (*DeleteCurrentAPISessionOK) IsRedirect ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionOK) IsRedirect() bool
IsRedirect returns true when this delete current Api session o k response has a 3xx status code
func (*DeleteCurrentAPISessionOK) IsServerError ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionOK) IsServerError() bool
IsServerError returns true when this delete current Api session o k response has a 5xx status code
func (*DeleteCurrentAPISessionOK) IsSuccess ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionOK) IsSuccess() bool
IsSuccess returns true when this delete current Api session o k response has a 2xx status code
func (*DeleteCurrentAPISessionOK) String ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionOK) String() string
type DeleteCurrentAPISessionParams ¶
type DeleteCurrentAPISessionParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteCurrentAPISessionParams contains all the parameters to send to the API endpoint
for the delete current API session operation. Typically these are written to a http.Request.
func NewDeleteCurrentAPISessionParams ¶
func NewDeleteCurrentAPISessionParams() *DeleteCurrentAPISessionParams
NewDeleteCurrentAPISessionParams creates a new DeleteCurrentAPISessionParams 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 NewDeleteCurrentAPISessionParamsWithContext ¶
func NewDeleteCurrentAPISessionParamsWithContext(ctx context.Context) *DeleteCurrentAPISessionParams
NewDeleteCurrentAPISessionParamsWithContext creates a new DeleteCurrentAPISessionParams object with the ability to set a context for a request.
func NewDeleteCurrentAPISessionParamsWithHTTPClient ¶
func NewDeleteCurrentAPISessionParamsWithHTTPClient(client *http.Client) *DeleteCurrentAPISessionParams
NewDeleteCurrentAPISessionParamsWithHTTPClient creates a new DeleteCurrentAPISessionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCurrentAPISessionParamsWithTimeout ¶
func NewDeleteCurrentAPISessionParamsWithTimeout(timeout time.Duration) *DeleteCurrentAPISessionParams
NewDeleteCurrentAPISessionParamsWithTimeout creates a new DeleteCurrentAPISessionParams object with the ability to set a timeout on a request.
func (*DeleteCurrentAPISessionParams) SetContext ¶
func (o *DeleteCurrentAPISessionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete current API session params
func (*DeleteCurrentAPISessionParams) SetDefaults ¶
func (o *DeleteCurrentAPISessionParams) SetDefaults()
SetDefaults hydrates default values in the delete current API session params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCurrentAPISessionParams) SetHTTPClient ¶
func (o *DeleteCurrentAPISessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete current API session params
func (*DeleteCurrentAPISessionParams) SetTimeout ¶
func (o *DeleteCurrentAPISessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete current API session params
func (*DeleteCurrentAPISessionParams) WithContext ¶
func (o *DeleteCurrentAPISessionParams) WithContext(ctx context.Context) *DeleteCurrentAPISessionParams
WithContext adds the context to the delete current API session params
func (*DeleteCurrentAPISessionParams) WithDefaults ¶
func (o *DeleteCurrentAPISessionParams) WithDefaults() *DeleteCurrentAPISessionParams
WithDefaults hydrates default values in the delete current API session params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCurrentAPISessionParams) WithHTTPClient ¶
func (o *DeleteCurrentAPISessionParams) WithHTTPClient(client *http.Client) *DeleteCurrentAPISessionParams
WithHTTPClient adds the HTTPClient to the delete current API session params
func (*DeleteCurrentAPISessionParams) WithTimeout ¶
func (o *DeleteCurrentAPISessionParams) WithTimeout(timeout time.Duration) *DeleteCurrentAPISessionParams
WithTimeout adds the timeout to the delete current API session params
func (*DeleteCurrentAPISessionParams) WriteToRequest ¶
func (o *DeleteCurrentAPISessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCurrentAPISessionReader ¶
type DeleteCurrentAPISessionReader struct {
// contains filtered or unexported fields
}
DeleteCurrentAPISessionReader is a Reader for the DeleteCurrentAPISession structure.
func (*DeleteCurrentAPISessionReader) ReadResponse ¶
func (o *DeleteCurrentAPISessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteCurrentAPISessionUnauthorized ¶
type DeleteCurrentAPISessionUnauthorized struct {
WWWAuthenticate []string
}
DeleteCurrentAPISessionUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewDeleteCurrentAPISessionUnauthorized ¶
func NewDeleteCurrentAPISessionUnauthorized() *DeleteCurrentAPISessionUnauthorized
NewDeleteCurrentAPISessionUnauthorized creates a DeleteCurrentAPISessionUnauthorized with default headers values
func (*DeleteCurrentAPISessionUnauthorized) Code ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionUnauthorized) Code() int
Code gets the status code for the delete current Api session unauthorized response
func (*DeleteCurrentAPISessionUnauthorized) Error ¶
func (o *DeleteCurrentAPISessionUnauthorized) Error() string
func (*DeleteCurrentAPISessionUnauthorized) GetPayload ¶
func (o *DeleteCurrentAPISessionUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DeleteCurrentAPISessionUnauthorized) IsClientError ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionUnauthorized) IsClientError() bool
IsClientError returns true when this delete current Api session unauthorized response has a 4xx status code
func (*DeleteCurrentAPISessionUnauthorized) IsCode ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionUnauthorized) IsCode(code int) bool
IsCode returns true when this delete current Api session unauthorized response a status code equal to that given
func (*DeleteCurrentAPISessionUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete current Api session unauthorized response has a 3xx status code
func (*DeleteCurrentAPISessionUnauthorized) IsServerError ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionUnauthorized) IsServerError() bool
IsServerError returns true when this delete current Api session unauthorized response has a 5xx status code
func (*DeleteCurrentAPISessionUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete current Api session unauthorized response has a 2xx status code
func (*DeleteCurrentAPISessionUnauthorized) String ¶ added in v0.26.53
func (o *DeleteCurrentAPISessionUnauthorized) String() string
type DetailCurrentIdentityAuthenticatorNotFound ¶
type DetailCurrentIdentityAuthenticatorNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
DetailCurrentIdentityAuthenticatorNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailCurrentIdentityAuthenticatorNotFound ¶
func NewDetailCurrentIdentityAuthenticatorNotFound() *DetailCurrentIdentityAuthenticatorNotFound
NewDetailCurrentIdentityAuthenticatorNotFound creates a DetailCurrentIdentityAuthenticatorNotFound with default headers values
func (*DetailCurrentIdentityAuthenticatorNotFound) Code ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorNotFound) Code() int
Code gets the status code for the detail current identity authenticator not found response
func (*DetailCurrentIdentityAuthenticatorNotFound) Error ¶
func (o *DetailCurrentIdentityAuthenticatorNotFound) Error() string
func (*DetailCurrentIdentityAuthenticatorNotFound) GetPayload ¶
func (o *DetailCurrentIdentityAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailCurrentIdentityAuthenticatorNotFound) IsClientError ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorNotFound) IsClientError() bool
IsClientError returns true when this detail current identity authenticator not found response has a 4xx status code
func (*DetailCurrentIdentityAuthenticatorNotFound) IsCode ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorNotFound) IsCode(code int) bool
IsCode returns true when this detail current identity authenticator not found response a status code equal to that given
func (*DetailCurrentIdentityAuthenticatorNotFound) IsRedirect ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorNotFound) IsRedirect() bool
IsRedirect returns true when this detail current identity authenticator not found response has a 3xx status code
func (*DetailCurrentIdentityAuthenticatorNotFound) IsServerError ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorNotFound) IsServerError() bool
IsServerError returns true when this detail current identity authenticator not found response has a 5xx status code
func (*DetailCurrentIdentityAuthenticatorNotFound) IsSuccess ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorNotFound) IsSuccess() bool
IsSuccess returns true when this detail current identity authenticator not found response has a 2xx status code
func (*DetailCurrentIdentityAuthenticatorNotFound) String ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorNotFound) String() string
type DetailCurrentIdentityAuthenticatorOK ¶
type DetailCurrentIdentityAuthenticatorOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.DetailAuthenticatorEnvelope
}
DetailCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.
A singular authenticator resource
func NewDetailCurrentIdentityAuthenticatorOK ¶
func NewDetailCurrentIdentityAuthenticatorOK() *DetailCurrentIdentityAuthenticatorOK
NewDetailCurrentIdentityAuthenticatorOK creates a DetailCurrentIdentityAuthenticatorOK with default headers values
func (*DetailCurrentIdentityAuthenticatorOK) Code ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorOK) Code() int
Code gets the status code for the detail current identity authenticator o k response
func (*DetailCurrentIdentityAuthenticatorOK) Error ¶
func (o *DetailCurrentIdentityAuthenticatorOK) Error() string
func (*DetailCurrentIdentityAuthenticatorOK) GetPayload ¶
func (o *DetailCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.DetailAuthenticatorEnvelope
func (*DetailCurrentIdentityAuthenticatorOK) IsClientError ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorOK) IsClientError() bool
IsClientError returns true when this detail current identity authenticator o k response has a 4xx status code
func (*DetailCurrentIdentityAuthenticatorOK) IsCode ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorOK) IsCode(code int) bool
IsCode returns true when this detail current identity authenticator o k response a status code equal to that given
func (*DetailCurrentIdentityAuthenticatorOK) IsRedirect ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorOK) IsRedirect() bool
IsRedirect returns true when this detail current identity authenticator o k response has a 3xx status code
func (*DetailCurrentIdentityAuthenticatorOK) IsServerError ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorOK) IsServerError() bool
IsServerError returns true when this detail current identity authenticator o k response has a 5xx status code
func (*DetailCurrentIdentityAuthenticatorOK) IsSuccess ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorOK) IsSuccess() bool
IsSuccess returns true when this detail current identity authenticator o k response has a 2xx status code
func (*DetailCurrentIdentityAuthenticatorOK) String ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorOK) String() string
type DetailCurrentIdentityAuthenticatorParams ¶
type DetailCurrentIdentityAuthenticatorParams struct {
/* ID.
The id of the requested resource
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DetailCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint
for the detail current identity authenticator operation. Typically these are written to a http.Request.
func NewDetailCurrentIdentityAuthenticatorParams ¶
func NewDetailCurrentIdentityAuthenticatorParams() *DetailCurrentIdentityAuthenticatorParams
NewDetailCurrentIdentityAuthenticatorParams creates a new DetailCurrentIdentityAuthenticatorParams 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 NewDetailCurrentIdentityAuthenticatorParamsWithContext ¶
func NewDetailCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams
NewDetailCurrentIdentityAuthenticatorParamsWithContext creates a new DetailCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.
func NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient ¶
func NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *DetailCurrentIdentityAuthenticatorParams
NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new DetailCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewDetailCurrentIdentityAuthenticatorParamsWithTimeout ¶
func NewDetailCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *DetailCurrentIdentityAuthenticatorParams
NewDetailCurrentIdentityAuthenticatorParamsWithTimeout creates a new DetailCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.
func (*DetailCurrentIdentityAuthenticatorParams) SetContext ¶
func (o *DetailCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) SetDefaults ¶
func (o *DetailCurrentIdentityAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the detail current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*DetailCurrentIdentityAuthenticatorParams) SetHTTPClient ¶
func (o *DetailCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) SetID ¶
func (o *DetailCurrentIdentityAuthenticatorParams) SetID(id string)
SetID adds the id to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) SetTimeout ¶
func (o *DetailCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WithContext ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams
WithContext adds the context to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WithDefaults ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithDefaults() *DetailCurrentIdentityAuthenticatorParams
WithDefaults hydrates default values in the detail current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*DetailCurrentIdentityAuthenticatorParams) WithHTTPClient ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *DetailCurrentIdentityAuthenticatorParams
WithHTTPClient adds the HTTPClient to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WithID ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithID(id string) *DetailCurrentIdentityAuthenticatorParams
WithID adds the id to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WithTimeout ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *DetailCurrentIdentityAuthenticatorParams
WithTimeout adds the timeout to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WriteToRequest ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailCurrentIdentityAuthenticatorReader ¶
type DetailCurrentIdentityAuthenticatorReader struct {
// contains filtered or unexported fields
}
DetailCurrentIdentityAuthenticatorReader is a Reader for the DetailCurrentIdentityAuthenticator structure.
func (*DetailCurrentIdentityAuthenticatorReader) ReadResponse ¶
func (o *DetailCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DetailCurrentIdentityAuthenticatorUnauthorized ¶
type DetailCurrentIdentityAuthenticatorUnauthorized struct {
WWWAuthenticate []string
}
DetailCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewDetailCurrentIdentityAuthenticatorUnauthorized ¶
func NewDetailCurrentIdentityAuthenticatorUnauthorized() *DetailCurrentIdentityAuthenticatorUnauthorized
NewDetailCurrentIdentityAuthenticatorUnauthorized creates a DetailCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*DetailCurrentIdentityAuthenticatorUnauthorized) Code ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) Code() int
Code gets the status code for the detail current identity authenticator unauthorized response
func (*DetailCurrentIdentityAuthenticatorUnauthorized) Error ¶
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) Error() string
func (*DetailCurrentIdentityAuthenticatorUnauthorized) GetPayload ¶
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*DetailCurrentIdentityAuthenticatorUnauthorized) IsClientError ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
IsClientError returns true when this detail current identity authenticator unauthorized response has a 4xx status code
func (*DetailCurrentIdentityAuthenticatorUnauthorized) IsCode ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
IsCode returns true when this detail current identity authenticator unauthorized response a status code equal to that given
func (*DetailCurrentIdentityAuthenticatorUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this detail current identity authenticator unauthorized response has a 3xx status code
func (*DetailCurrentIdentityAuthenticatorUnauthorized) IsServerError ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
IsServerError returns true when this detail current identity authenticator unauthorized response has a 5xx status code
func (*DetailCurrentIdentityAuthenticatorUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this detail current identity authenticator unauthorized response has a 2xx status code
func (*DetailCurrentIdentityAuthenticatorUnauthorized) String ¶ added in v0.26.53
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) String() string
type ExtendCurrentIdentityAuthenticatorOK ¶
type ExtendCurrentIdentityAuthenticatorOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.IdentityExtendEnrollmentEnvelope
}
ExtendCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.
A response containg the identity's new certificate
func NewExtendCurrentIdentityAuthenticatorOK ¶
func NewExtendCurrentIdentityAuthenticatorOK() *ExtendCurrentIdentityAuthenticatorOK
NewExtendCurrentIdentityAuthenticatorOK creates a ExtendCurrentIdentityAuthenticatorOK with default headers values
func (*ExtendCurrentIdentityAuthenticatorOK) Code ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorOK) Code() int
Code gets the status code for the extend current identity authenticator o k response
func (*ExtendCurrentIdentityAuthenticatorOK) Error ¶
func (o *ExtendCurrentIdentityAuthenticatorOK) Error() string
func (*ExtendCurrentIdentityAuthenticatorOK) GetPayload ¶
func (o *ExtendCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.IdentityExtendEnrollmentEnvelope
func (*ExtendCurrentIdentityAuthenticatorOK) IsClientError ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorOK) IsClientError() bool
IsClientError returns true when this extend current identity authenticator o k response has a 4xx status code
func (*ExtendCurrentIdentityAuthenticatorOK) IsCode ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorOK) IsCode(code int) bool
IsCode returns true when this extend current identity authenticator o k response a status code equal to that given
func (*ExtendCurrentIdentityAuthenticatorOK) IsRedirect ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorOK) IsRedirect() bool
IsRedirect returns true when this extend current identity authenticator o k response has a 3xx status code
func (*ExtendCurrentIdentityAuthenticatorOK) IsServerError ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorOK) IsServerError() bool
IsServerError returns true when this extend current identity authenticator o k response has a 5xx status code
func (*ExtendCurrentIdentityAuthenticatorOK) IsSuccess ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorOK) IsSuccess() bool
IsSuccess returns true when this extend current identity authenticator o k response has a 2xx status code
func (*ExtendCurrentIdentityAuthenticatorOK) String ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorOK) String() string
type ExtendCurrentIdentityAuthenticatorParams ¶
type ExtendCurrentIdentityAuthenticatorParams struct {
// Extend.
Extend *rest_model.IdentityExtendEnrollmentRequest
/* ID.
The id of the requested resource
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExtendCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint
for the extend current identity authenticator operation. Typically these are written to a http.Request.
func NewExtendCurrentIdentityAuthenticatorParams ¶
func NewExtendCurrentIdentityAuthenticatorParams() *ExtendCurrentIdentityAuthenticatorParams
NewExtendCurrentIdentityAuthenticatorParams creates a new ExtendCurrentIdentityAuthenticatorParams 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 NewExtendCurrentIdentityAuthenticatorParamsWithContext ¶
func NewExtendCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *ExtendCurrentIdentityAuthenticatorParams
NewExtendCurrentIdentityAuthenticatorParamsWithContext creates a new ExtendCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.
func NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient ¶
func NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *ExtendCurrentIdentityAuthenticatorParams
NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new ExtendCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewExtendCurrentIdentityAuthenticatorParamsWithTimeout ¶
func NewExtendCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *ExtendCurrentIdentityAuthenticatorParams
NewExtendCurrentIdentityAuthenticatorParamsWithTimeout creates a new ExtendCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.
func (*ExtendCurrentIdentityAuthenticatorParams) SetContext ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) SetDefaults ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the extend current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*ExtendCurrentIdentityAuthenticatorParams) SetExtend ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) SetExtend(extend *rest_model.IdentityExtendEnrollmentRequest)
SetExtend adds the extend to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) SetHTTPClient ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) SetID ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) SetID(id string)
SetID adds the id to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) SetTimeout ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) WithContext ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *ExtendCurrentIdentityAuthenticatorParams
WithContext adds the context to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) WithDefaults ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) WithDefaults() *ExtendCurrentIdentityAuthenticatorParams
WithDefaults hydrates default values in the extend current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*ExtendCurrentIdentityAuthenticatorParams) WithExtend ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) WithExtend(extend *rest_model.IdentityExtendEnrollmentRequest) *ExtendCurrentIdentityAuthenticatorParams
WithExtend adds the extend to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) WithHTTPClient ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *ExtendCurrentIdentityAuthenticatorParams
WithHTTPClient adds the HTTPClient to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) WithID ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) WithID(id string) *ExtendCurrentIdentityAuthenticatorParams
WithID adds the id to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) WithTimeout ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *ExtendCurrentIdentityAuthenticatorParams
WithTimeout adds the timeout to the extend current identity authenticator params
func (*ExtendCurrentIdentityAuthenticatorParams) WriteToRequest ¶
func (o *ExtendCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExtendCurrentIdentityAuthenticatorReader ¶
type ExtendCurrentIdentityAuthenticatorReader struct {
// contains filtered or unexported fields
}
ExtendCurrentIdentityAuthenticatorReader is a Reader for the ExtendCurrentIdentityAuthenticator structure.
func (*ExtendCurrentIdentityAuthenticatorReader) ReadResponse ¶
func (o *ExtendCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ExtendCurrentIdentityAuthenticatorUnauthorized ¶
type ExtendCurrentIdentityAuthenticatorUnauthorized struct {
WWWAuthenticate []string
}
ExtendCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewExtendCurrentIdentityAuthenticatorUnauthorized ¶
func NewExtendCurrentIdentityAuthenticatorUnauthorized() *ExtendCurrentIdentityAuthenticatorUnauthorized
NewExtendCurrentIdentityAuthenticatorUnauthorized creates a ExtendCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) Code ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) Code() int
Code gets the status code for the extend current identity authenticator unauthorized response
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) Error ¶
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) Error() string
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) GetPayload ¶
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) IsClientError ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
IsClientError returns true when this extend current identity authenticator unauthorized response has a 4xx status code
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) IsCode ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
IsCode returns true when this extend current identity authenticator unauthorized response a status code equal to that given
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this extend current identity authenticator unauthorized response has a 3xx status code
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) IsServerError ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
IsServerError returns true when this extend current identity authenticator unauthorized response has a 5xx status code
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this extend current identity authenticator unauthorized response has a 2xx status code
func (*ExtendCurrentIdentityAuthenticatorUnauthorized) String ¶ added in v0.26.53
func (o *ExtendCurrentIdentityAuthenticatorUnauthorized) String() string
type ExtendVerifyCurrentIdentityAuthenticatorOK ¶
type ExtendVerifyCurrentIdentityAuthenticatorOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
ExtendVerifyCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.
Base empty response
func NewExtendVerifyCurrentIdentityAuthenticatorOK ¶
func NewExtendVerifyCurrentIdentityAuthenticatorOK() *ExtendVerifyCurrentIdentityAuthenticatorOK
NewExtendVerifyCurrentIdentityAuthenticatorOK creates a ExtendVerifyCurrentIdentityAuthenticatorOK with default headers values
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) Code ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) Code() int
Code gets the status code for the extend verify current identity authenticator o k response
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) Error ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) Error() string
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) GetPayload ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.Empty
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) IsClientError ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsClientError() bool
IsClientError returns true when this extend verify current identity authenticator o k response has a 4xx status code
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) IsCode ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsCode(code int) bool
IsCode returns true when this extend verify current identity authenticator o k response a status code equal to that given
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) IsRedirect ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsRedirect() bool
IsRedirect returns true when this extend verify current identity authenticator o k response has a 3xx status code
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) IsServerError ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsServerError() bool
IsServerError returns true when this extend verify current identity authenticator o k response has a 5xx status code
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) IsSuccess ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) IsSuccess() bool
IsSuccess returns true when this extend verify current identity authenticator o k response has a 2xx status code
func (*ExtendVerifyCurrentIdentityAuthenticatorOK) String ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorOK) String() string
type ExtendVerifyCurrentIdentityAuthenticatorParams ¶
type ExtendVerifyCurrentIdentityAuthenticatorParams struct {
// Extend.
Extend *rest_model.IdentityExtendValidateEnrollmentRequest
/* ID.
The id of the requested resource
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExtendVerifyCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint
for the extend verify current identity authenticator operation. Typically these are written to a http.Request.
func NewExtendVerifyCurrentIdentityAuthenticatorParams ¶
func NewExtendVerifyCurrentIdentityAuthenticatorParams() *ExtendVerifyCurrentIdentityAuthenticatorParams
NewExtendVerifyCurrentIdentityAuthenticatorParams creates a new ExtendVerifyCurrentIdentityAuthenticatorParams 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 NewExtendVerifyCurrentIdentityAuthenticatorParamsWithContext ¶
func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *ExtendVerifyCurrentIdentityAuthenticatorParams
NewExtendVerifyCurrentIdentityAuthenticatorParamsWithContext creates a new ExtendVerifyCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.
func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithHTTPClient ¶
func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *ExtendVerifyCurrentIdentityAuthenticatorParams
NewExtendVerifyCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new ExtendVerifyCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithTimeout ¶
func NewExtendVerifyCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *ExtendVerifyCurrentIdentityAuthenticatorParams
NewExtendVerifyCurrentIdentityAuthenticatorParamsWithTimeout creates a new ExtendVerifyCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetContext ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetDefaults ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the extend verify current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetExtend ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetExtend(extend *rest_model.IdentityExtendValidateEnrollmentRequest)
SetExtend adds the extend to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetHTTPClient ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetID ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetID(id string)
SetID adds the id to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) SetTimeout ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithContext ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *ExtendVerifyCurrentIdentityAuthenticatorParams
WithContext adds the context to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithDefaults ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithDefaults() *ExtendVerifyCurrentIdentityAuthenticatorParams
WithDefaults hydrates default values in the extend verify current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithExtend ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithExtend(extend *rest_model.IdentityExtendValidateEnrollmentRequest) *ExtendVerifyCurrentIdentityAuthenticatorParams
WithExtend adds the extend to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithHTTPClient ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *ExtendVerifyCurrentIdentityAuthenticatorParams
WithHTTPClient adds the HTTPClient to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithID ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithID(id string) *ExtendVerifyCurrentIdentityAuthenticatorParams
WithID adds the id to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WithTimeout ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *ExtendVerifyCurrentIdentityAuthenticatorParams
WithTimeout adds the timeout to the extend verify current identity authenticator params
func (*ExtendVerifyCurrentIdentityAuthenticatorParams) WriteToRequest ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExtendVerifyCurrentIdentityAuthenticatorReader ¶
type ExtendVerifyCurrentIdentityAuthenticatorReader struct {
// contains filtered or unexported fields
}
ExtendVerifyCurrentIdentityAuthenticatorReader is a Reader for the ExtendVerifyCurrentIdentityAuthenticator structure.
func (*ExtendVerifyCurrentIdentityAuthenticatorReader) ReadResponse ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ExtendVerifyCurrentIdentityAuthenticatorUnauthorized ¶
type ExtendVerifyCurrentIdentityAuthenticatorUnauthorized struct {
WWWAuthenticate []string
}
ExtendVerifyCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewExtendVerifyCurrentIdentityAuthenticatorUnauthorized ¶
func NewExtendVerifyCurrentIdentityAuthenticatorUnauthorized() *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized
NewExtendVerifyCurrentIdentityAuthenticatorUnauthorized creates a ExtendVerifyCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) Code ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) Code() int
Code gets the status code for the extend verify current identity authenticator unauthorized response
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) Error ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) Error() string
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) GetPayload ¶
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsClientError ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
IsClientError returns true when this extend verify current identity authenticator unauthorized response has a 4xx status code
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsCode ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
IsCode returns true when this extend verify current identity authenticator unauthorized response a status code equal to that given
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this extend verify current identity authenticator unauthorized response has a 3xx status code
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsServerError ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
IsServerError returns true when this extend verify current identity authenticator unauthorized response has a 5xx status code
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this extend verify current identity authenticator unauthorized response has a 2xx status code
func (*ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) String ¶ added in v0.26.53
func (o *ExtendVerifyCurrentIdentityAuthenticatorUnauthorized) String() string
type GetCurrentAPISessionOK ¶
type GetCurrentAPISessionOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.CurrentAPISessionDetailEnvelope
}
GetCurrentAPISessionOK describes a response with status code 200, with default header values.
The API session associated with the session used to issue the request
func NewGetCurrentAPISessionOK ¶
func NewGetCurrentAPISessionOK() *GetCurrentAPISessionOK
NewGetCurrentAPISessionOK creates a GetCurrentAPISessionOK with default headers values
func (*GetCurrentAPISessionOK) Code ¶ added in v0.26.53
func (o *GetCurrentAPISessionOK) Code() int
Code gets the status code for the get current Api session o k response
func (*GetCurrentAPISessionOK) Error ¶
func (o *GetCurrentAPISessionOK) Error() string
func (*GetCurrentAPISessionOK) GetPayload ¶
func (o *GetCurrentAPISessionOK) GetPayload() *rest_model.CurrentAPISessionDetailEnvelope
func (*GetCurrentAPISessionOK) IsClientError ¶ added in v0.26.53
func (o *GetCurrentAPISessionOK) IsClientError() bool
IsClientError returns true when this get current Api session o k response has a 4xx status code
func (*GetCurrentAPISessionOK) IsCode ¶ added in v0.26.53
func (o *GetCurrentAPISessionOK) IsCode(code int) bool
IsCode returns true when this get current Api session o k response a status code equal to that given
func (*GetCurrentAPISessionOK) IsRedirect ¶ added in v0.26.53
func (o *GetCurrentAPISessionOK) IsRedirect() bool
IsRedirect returns true when this get current Api session o k response has a 3xx status code
func (*GetCurrentAPISessionOK) IsServerError ¶ added in v0.26.53
func (o *GetCurrentAPISessionOK) IsServerError() bool
IsServerError returns true when this get current Api session o k response has a 5xx status code
func (*GetCurrentAPISessionOK) IsSuccess ¶ added in v0.26.53
func (o *GetCurrentAPISessionOK) IsSuccess() bool
IsSuccess returns true when this get current Api session o k response has a 2xx status code
func (*GetCurrentAPISessionOK) String ¶ added in v0.26.53
func (o *GetCurrentAPISessionOK) String() string
type GetCurrentAPISessionParams ¶
type GetCurrentAPISessionParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCurrentAPISessionParams contains all the parameters to send to the API endpoint
for the get current API session operation. Typically these are written to a http.Request.
func NewGetCurrentAPISessionParams ¶
func NewGetCurrentAPISessionParams() *GetCurrentAPISessionParams
NewGetCurrentAPISessionParams creates a new GetCurrentAPISessionParams 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 NewGetCurrentAPISessionParamsWithContext ¶
func NewGetCurrentAPISessionParamsWithContext(ctx context.Context) *GetCurrentAPISessionParams
NewGetCurrentAPISessionParamsWithContext creates a new GetCurrentAPISessionParams object with the ability to set a context for a request.
func NewGetCurrentAPISessionParamsWithHTTPClient ¶
func NewGetCurrentAPISessionParamsWithHTTPClient(client *http.Client) *GetCurrentAPISessionParams
NewGetCurrentAPISessionParamsWithHTTPClient creates a new GetCurrentAPISessionParams object with the ability to set a custom HTTPClient for a request.
func NewGetCurrentAPISessionParamsWithTimeout ¶
func NewGetCurrentAPISessionParamsWithTimeout(timeout time.Duration) *GetCurrentAPISessionParams
NewGetCurrentAPISessionParamsWithTimeout creates a new GetCurrentAPISessionParams object with the ability to set a timeout on a request.
func (*GetCurrentAPISessionParams) SetContext ¶
func (o *GetCurrentAPISessionParams) SetContext(ctx context.Context)
SetContext adds the context to the get current API session params
func (*GetCurrentAPISessionParams) SetDefaults ¶
func (o *GetCurrentAPISessionParams) SetDefaults()
SetDefaults hydrates default values in the get current API session params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentAPISessionParams) SetHTTPClient ¶
func (o *GetCurrentAPISessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current API session params
func (*GetCurrentAPISessionParams) SetTimeout ¶
func (o *GetCurrentAPISessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current API session params
func (*GetCurrentAPISessionParams) WithContext ¶
func (o *GetCurrentAPISessionParams) WithContext(ctx context.Context) *GetCurrentAPISessionParams
WithContext adds the context to the get current API session params
func (*GetCurrentAPISessionParams) WithDefaults ¶
func (o *GetCurrentAPISessionParams) WithDefaults() *GetCurrentAPISessionParams
WithDefaults hydrates default values in the get current API session params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentAPISessionParams) WithHTTPClient ¶
func (o *GetCurrentAPISessionParams) WithHTTPClient(client *http.Client) *GetCurrentAPISessionParams
WithHTTPClient adds the HTTPClient to the get current API session params
func (*GetCurrentAPISessionParams) WithTimeout ¶
func (o *GetCurrentAPISessionParams) WithTimeout(timeout time.Duration) *GetCurrentAPISessionParams
WithTimeout adds the timeout to the get current API session params
func (*GetCurrentAPISessionParams) WriteToRequest ¶
func (o *GetCurrentAPISessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentAPISessionReader ¶
type GetCurrentAPISessionReader struct {
// contains filtered or unexported fields
}
GetCurrentAPISessionReader is a Reader for the GetCurrentAPISession structure.
func (*GetCurrentAPISessionReader) ReadResponse ¶
func (o *GetCurrentAPISessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetCurrentAPISessionUnauthorized ¶
type GetCurrentAPISessionUnauthorized struct {
WWWAuthenticate []string
}
GetCurrentAPISessionUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewGetCurrentAPISessionUnauthorized ¶
func NewGetCurrentAPISessionUnauthorized() *GetCurrentAPISessionUnauthorized
NewGetCurrentAPISessionUnauthorized creates a GetCurrentAPISessionUnauthorized with default headers values
func (*GetCurrentAPISessionUnauthorized) Code ¶ added in v0.26.53
func (o *GetCurrentAPISessionUnauthorized) Code() int
Code gets the status code for the get current Api session unauthorized response
func (*GetCurrentAPISessionUnauthorized) Error ¶
func (o *GetCurrentAPISessionUnauthorized) Error() string
func (*GetCurrentAPISessionUnauthorized) GetPayload ¶
func (o *GetCurrentAPISessionUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*GetCurrentAPISessionUnauthorized) IsClientError ¶ added in v0.26.53
func (o *GetCurrentAPISessionUnauthorized) IsClientError() bool
IsClientError returns true when this get current Api session unauthorized response has a 4xx status code
func (*GetCurrentAPISessionUnauthorized) IsCode ¶ added in v0.26.53
func (o *GetCurrentAPISessionUnauthorized) IsCode(code int) bool
IsCode returns true when this get current Api session unauthorized response a status code equal to that given
func (*GetCurrentAPISessionUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *GetCurrentAPISessionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get current Api session unauthorized response has a 3xx status code
func (*GetCurrentAPISessionUnauthorized) IsServerError ¶ added in v0.26.53
func (o *GetCurrentAPISessionUnauthorized) IsServerError() bool
IsServerError returns true when this get current Api session unauthorized response has a 5xx status code
func (*GetCurrentAPISessionUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *GetCurrentAPISessionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get current Api session unauthorized response has a 2xx status code
func (*GetCurrentAPISessionUnauthorized) String ¶ added in v0.26.53
func (o *GetCurrentAPISessionUnauthorized) String() string
type ListCurrentIdentityAuthenticatorsBadRequest ¶
type ListCurrentIdentityAuthenticatorsBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
ListCurrentIdentityAuthenticatorsBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewListCurrentIdentityAuthenticatorsBadRequest ¶
func NewListCurrentIdentityAuthenticatorsBadRequest() *ListCurrentIdentityAuthenticatorsBadRequest
NewListCurrentIdentityAuthenticatorsBadRequest creates a ListCurrentIdentityAuthenticatorsBadRequest with default headers values
func (*ListCurrentIdentityAuthenticatorsBadRequest) Code ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsBadRequest) Code() int
Code gets the status code for the list current identity authenticators bad request response
func (*ListCurrentIdentityAuthenticatorsBadRequest) Error ¶
func (o *ListCurrentIdentityAuthenticatorsBadRequest) Error() string
func (*ListCurrentIdentityAuthenticatorsBadRequest) GetPayload ¶
func (o *ListCurrentIdentityAuthenticatorsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*ListCurrentIdentityAuthenticatorsBadRequest) IsClientError ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsClientError() bool
IsClientError returns true when this list current identity authenticators bad request response has a 4xx status code
func (*ListCurrentIdentityAuthenticatorsBadRequest) IsCode ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsCode(code int) bool
IsCode returns true when this list current identity authenticators bad request response a status code equal to that given
func (*ListCurrentIdentityAuthenticatorsBadRequest) IsRedirect ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsRedirect() bool
IsRedirect returns true when this list current identity authenticators bad request response has a 3xx status code
func (*ListCurrentIdentityAuthenticatorsBadRequest) IsServerError ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsServerError() bool
IsServerError returns true when this list current identity authenticators bad request response has a 5xx status code
func (*ListCurrentIdentityAuthenticatorsBadRequest) IsSuccess ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsBadRequest) IsSuccess() bool
IsSuccess returns true when this list current identity authenticators bad request response has a 2xx status code
func (*ListCurrentIdentityAuthenticatorsBadRequest) String ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsBadRequest) String() string
type ListCurrentIdentityAuthenticatorsOK ¶
type ListCurrentIdentityAuthenticatorsOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.ListAuthenticatorsEnvelope
}
ListCurrentIdentityAuthenticatorsOK describes a response with status code 200, with default header values.
A list of authenticators
func NewListCurrentIdentityAuthenticatorsOK ¶
func NewListCurrentIdentityAuthenticatorsOK() *ListCurrentIdentityAuthenticatorsOK
NewListCurrentIdentityAuthenticatorsOK creates a ListCurrentIdentityAuthenticatorsOK with default headers values
func (*ListCurrentIdentityAuthenticatorsOK) Code ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsOK) Code() int
Code gets the status code for the list current identity authenticators o k response
func (*ListCurrentIdentityAuthenticatorsOK) Error ¶
func (o *ListCurrentIdentityAuthenticatorsOK) Error() string
func (*ListCurrentIdentityAuthenticatorsOK) GetPayload ¶
func (o *ListCurrentIdentityAuthenticatorsOK) GetPayload() *rest_model.ListAuthenticatorsEnvelope
func (*ListCurrentIdentityAuthenticatorsOK) IsClientError ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsOK) IsClientError() bool
IsClientError returns true when this list current identity authenticators o k response has a 4xx status code
func (*ListCurrentIdentityAuthenticatorsOK) IsCode ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsOK) IsCode(code int) bool
IsCode returns true when this list current identity authenticators o k response a status code equal to that given
func (*ListCurrentIdentityAuthenticatorsOK) IsRedirect ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsOK) IsRedirect() bool
IsRedirect returns true when this list current identity authenticators o k response has a 3xx status code
func (*ListCurrentIdentityAuthenticatorsOK) IsServerError ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsOK) IsServerError() bool
IsServerError returns true when this list current identity authenticators o k response has a 5xx status code
func (*ListCurrentIdentityAuthenticatorsOK) IsSuccess ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsOK) IsSuccess() bool
IsSuccess returns true when this list current identity authenticators o k response has a 2xx status code
func (*ListCurrentIdentityAuthenticatorsOK) String ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsOK) String() string
type ListCurrentIdentityAuthenticatorsParams ¶
type ListCurrentIdentityAuthenticatorsParams struct {
// Filter.
Filter *string
// Limit.
Limit *int64
// Offset.
Offset *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListCurrentIdentityAuthenticatorsParams contains all the parameters to send to the API endpoint
for the list current identity authenticators operation. Typically these are written to a http.Request.
func NewListCurrentIdentityAuthenticatorsParams ¶
func NewListCurrentIdentityAuthenticatorsParams() *ListCurrentIdentityAuthenticatorsParams
NewListCurrentIdentityAuthenticatorsParams creates a new ListCurrentIdentityAuthenticatorsParams 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 NewListCurrentIdentityAuthenticatorsParamsWithContext ¶
func NewListCurrentIdentityAuthenticatorsParamsWithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams
NewListCurrentIdentityAuthenticatorsParamsWithContext creates a new ListCurrentIdentityAuthenticatorsParams object with the ability to set a context for a request.
func NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient ¶
func NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient(client *http.Client) *ListCurrentIdentityAuthenticatorsParams
NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient creates a new ListCurrentIdentityAuthenticatorsParams object with the ability to set a custom HTTPClient for a request.
func NewListCurrentIdentityAuthenticatorsParamsWithTimeout ¶
func NewListCurrentIdentityAuthenticatorsParamsWithTimeout(timeout time.Duration) *ListCurrentIdentityAuthenticatorsParams
NewListCurrentIdentityAuthenticatorsParamsWithTimeout creates a new ListCurrentIdentityAuthenticatorsParams object with the ability to set a timeout on a request.
func (*ListCurrentIdentityAuthenticatorsParams) SetContext ¶
func (o *ListCurrentIdentityAuthenticatorsParams) SetContext(ctx context.Context)
SetContext adds the context to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) SetDefaults ¶
func (o *ListCurrentIdentityAuthenticatorsParams) SetDefaults()
SetDefaults hydrates default values in the list current identity authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*ListCurrentIdentityAuthenticatorsParams) SetFilter ¶
func (o *ListCurrentIdentityAuthenticatorsParams) SetFilter(filter *string)
SetFilter adds the filter to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) SetHTTPClient ¶
func (o *ListCurrentIdentityAuthenticatorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) SetLimit ¶
func (o *ListCurrentIdentityAuthenticatorsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) SetOffset ¶
func (o *ListCurrentIdentityAuthenticatorsParams) SetOffset(offset *int64)
SetOffset adds the offset to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) SetTimeout ¶
func (o *ListCurrentIdentityAuthenticatorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithContext ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams
WithContext adds the context to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithDefaults ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithDefaults() *ListCurrentIdentityAuthenticatorsParams
WithDefaults hydrates default values in the list current identity authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*ListCurrentIdentityAuthenticatorsParams) WithFilter ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithFilter(filter *string) *ListCurrentIdentityAuthenticatorsParams
WithFilter adds the filter to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithHTTPClient ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithHTTPClient(client *http.Client) *ListCurrentIdentityAuthenticatorsParams
WithHTTPClient adds the HTTPClient to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithLimit ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithLimit(limit *int64) *ListCurrentIdentityAuthenticatorsParams
WithLimit adds the limit to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithOffset ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithOffset(offset *int64) *ListCurrentIdentityAuthenticatorsParams
WithOffset adds the offset to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithTimeout ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithTimeout(timeout time.Duration) *ListCurrentIdentityAuthenticatorsParams
WithTimeout adds the timeout to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WriteToRequest ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCurrentIdentityAuthenticatorsReader ¶
type ListCurrentIdentityAuthenticatorsReader struct {
// contains filtered or unexported fields
}
ListCurrentIdentityAuthenticatorsReader is a Reader for the ListCurrentIdentityAuthenticators structure.
func (*ListCurrentIdentityAuthenticatorsReader) ReadResponse ¶
func (o *ListCurrentIdentityAuthenticatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListCurrentIdentityAuthenticatorsUnauthorized ¶
type ListCurrentIdentityAuthenticatorsUnauthorized struct {
WWWAuthenticate []string
}
ListCurrentIdentityAuthenticatorsUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewListCurrentIdentityAuthenticatorsUnauthorized ¶
func NewListCurrentIdentityAuthenticatorsUnauthorized() *ListCurrentIdentityAuthenticatorsUnauthorized
NewListCurrentIdentityAuthenticatorsUnauthorized creates a ListCurrentIdentityAuthenticatorsUnauthorized with default headers values
func (*ListCurrentIdentityAuthenticatorsUnauthorized) Code ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) Code() int
Code gets the status code for the list current identity authenticators unauthorized response
func (*ListCurrentIdentityAuthenticatorsUnauthorized) Error ¶
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) Error() string
func (*ListCurrentIdentityAuthenticatorsUnauthorized) GetPayload ¶
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ListCurrentIdentityAuthenticatorsUnauthorized) IsClientError ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsClientError() bool
IsClientError returns true when this list current identity authenticators unauthorized response has a 4xx status code
func (*ListCurrentIdentityAuthenticatorsUnauthorized) IsCode ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsCode(code int) bool
IsCode returns true when this list current identity authenticators unauthorized response a status code equal to that given
func (*ListCurrentIdentityAuthenticatorsUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list current identity authenticators unauthorized response has a 3xx status code
func (*ListCurrentIdentityAuthenticatorsUnauthorized) IsServerError ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsServerError() bool
IsServerError returns true when this list current identity authenticators unauthorized response has a 5xx status code
func (*ListCurrentIdentityAuthenticatorsUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list current identity authenticators unauthorized response has a 2xx status code
func (*ListCurrentIdentityAuthenticatorsUnauthorized) String ¶ added in v0.26.53
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) String() string
type PatchCurrentIdentityAuthenticatorBadRequest ¶
type PatchCurrentIdentityAuthenticatorBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
PatchCurrentIdentityAuthenticatorBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchCurrentIdentityAuthenticatorBadRequest ¶
func NewPatchCurrentIdentityAuthenticatorBadRequest() *PatchCurrentIdentityAuthenticatorBadRequest
NewPatchCurrentIdentityAuthenticatorBadRequest creates a PatchCurrentIdentityAuthenticatorBadRequest with default headers values
func (*PatchCurrentIdentityAuthenticatorBadRequest) Code ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorBadRequest) Code() int
Code gets the status code for the patch current identity authenticator bad request response
func (*PatchCurrentIdentityAuthenticatorBadRequest) Error ¶
func (o *PatchCurrentIdentityAuthenticatorBadRequest) Error() string
func (*PatchCurrentIdentityAuthenticatorBadRequest) GetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchCurrentIdentityAuthenticatorBadRequest) IsClientError ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsClientError() bool
IsClientError returns true when this patch current identity authenticator bad request response has a 4xx status code
func (*PatchCurrentIdentityAuthenticatorBadRequest) IsCode ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsCode(code int) bool
IsCode returns true when this patch current identity authenticator bad request response a status code equal to that given
func (*PatchCurrentIdentityAuthenticatorBadRequest) IsRedirect ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsRedirect() bool
IsRedirect returns true when this patch current identity authenticator bad request response has a 3xx status code
func (*PatchCurrentIdentityAuthenticatorBadRequest) IsServerError ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsServerError() bool
IsServerError returns true when this patch current identity authenticator bad request response has a 5xx status code
func (*PatchCurrentIdentityAuthenticatorBadRequest) IsSuccess ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorBadRequest) IsSuccess() bool
IsSuccess returns true when this patch current identity authenticator bad request response has a 2xx status code
func (*PatchCurrentIdentityAuthenticatorBadRequest) String ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorBadRequest) String() string
type PatchCurrentIdentityAuthenticatorNotFound ¶
type PatchCurrentIdentityAuthenticatorNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
PatchCurrentIdentityAuthenticatorNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchCurrentIdentityAuthenticatorNotFound ¶
func NewPatchCurrentIdentityAuthenticatorNotFound() *PatchCurrentIdentityAuthenticatorNotFound
NewPatchCurrentIdentityAuthenticatorNotFound creates a PatchCurrentIdentityAuthenticatorNotFound with default headers values
func (*PatchCurrentIdentityAuthenticatorNotFound) Code ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorNotFound) Code() int
Code gets the status code for the patch current identity authenticator not found response
func (*PatchCurrentIdentityAuthenticatorNotFound) Error ¶
func (o *PatchCurrentIdentityAuthenticatorNotFound) Error() string
func (*PatchCurrentIdentityAuthenticatorNotFound) GetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchCurrentIdentityAuthenticatorNotFound) IsClientError ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorNotFound) IsClientError() bool
IsClientError returns true when this patch current identity authenticator not found response has a 4xx status code
func (*PatchCurrentIdentityAuthenticatorNotFound) IsCode ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorNotFound) IsCode(code int) bool
IsCode returns true when this patch current identity authenticator not found response a status code equal to that given
func (*PatchCurrentIdentityAuthenticatorNotFound) IsRedirect ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorNotFound) IsRedirect() bool
IsRedirect returns true when this patch current identity authenticator not found response has a 3xx status code
func (*PatchCurrentIdentityAuthenticatorNotFound) IsServerError ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorNotFound) IsServerError() bool
IsServerError returns true when this patch current identity authenticator not found response has a 5xx status code
func (*PatchCurrentIdentityAuthenticatorNotFound) IsSuccess ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorNotFound) IsSuccess() bool
IsSuccess returns true when this patch current identity authenticator not found response has a 2xx status code
func (*PatchCurrentIdentityAuthenticatorNotFound) String ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorNotFound) String() string
type PatchCurrentIdentityAuthenticatorOK ¶
type PatchCurrentIdentityAuthenticatorOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
PatchCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchCurrentIdentityAuthenticatorOK ¶
func NewPatchCurrentIdentityAuthenticatorOK() *PatchCurrentIdentityAuthenticatorOK
NewPatchCurrentIdentityAuthenticatorOK creates a PatchCurrentIdentityAuthenticatorOK with default headers values
func (*PatchCurrentIdentityAuthenticatorOK) Code ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorOK) Code() int
Code gets the status code for the patch current identity authenticator o k response
func (*PatchCurrentIdentityAuthenticatorOK) Error ¶
func (o *PatchCurrentIdentityAuthenticatorOK) Error() string
func (*PatchCurrentIdentityAuthenticatorOK) GetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.Empty
func (*PatchCurrentIdentityAuthenticatorOK) IsClientError ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorOK) IsClientError() bool
IsClientError returns true when this patch current identity authenticator o k response has a 4xx status code
func (*PatchCurrentIdentityAuthenticatorOK) IsCode ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorOK) IsCode(code int) bool
IsCode returns true when this patch current identity authenticator o k response a status code equal to that given
func (*PatchCurrentIdentityAuthenticatorOK) IsRedirect ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorOK) IsRedirect() bool
IsRedirect returns true when this patch current identity authenticator o k response has a 3xx status code
func (*PatchCurrentIdentityAuthenticatorOK) IsServerError ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorOK) IsServerError() bool
IsServerError returns true when this patch current identity authenticator o k response has a 5xx status code
func (*PatchCurrentIdentityAuthenticatorOK) IsSuccess ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorOK) IsSuccess() bool
IsSuccess returns true when this patch current identity authenticator o k response has a 2xx status code
func (*PatchCurrentIdentityAuthenticatorOK) String ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorOK) String() string
type PatchCurrentIdentityAuthenticatorParams ¶
type PatchCurrentIdentityAuthenticatorParams struct {
/* Authenticator.
An authenticator patch object
*/
Authenticator *rest_model.AuthenticatorPatchWithCurrent
/* ID.
The id of the requested resource
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint
for the patch current identity authenticator operation. Typically these are written to a http.Request.
func NewPatchCurrentIdentityAuthenticatorParams ¶
func NewPatchCurrentIdentityAuthenticatorParams() *PatchCurrentIdentityAuthenticatorParams
NewPatchCurrentIdentityAuthenticatorParams creates a new PatchCurrentIdentityAuthenticatorParams 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 NewPatchCurrentIdentityAuthenticatorParamsWithContext ¶
func NewPatchCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams
NewPatchCurrentIdentityAuthenticatorParamsWithContext creates a new PatchCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.
func NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient ¶
func NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *PatchCurrentIdentityAuthenticatorParams
NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new PatchCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewPatchCurrentIdentityAuthenticatorParamsWithTimeout ¶
func NewPatchCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *PatchCurrentIdentityAuthenticatorParams
NewPatchCurrentIdentityAuthenticatorParamsWithTimeout creates a new PatchCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.
func (*PatchCurrentIdentityAuthenticatorParams) SetAuthenticator ¶
func (o *PatchCurrentIdentityAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorPatchWithCurrent)
SetAuthenticator adds the authenticator to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) SetContext ¶
func (o *PatchCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) SetDefaults ¶
func (o *PatchCurrentIdentityAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the patch current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*PatchCurrentIdentityAuthenticatorParams) SetHTTPClient ¶
func (o *PatchCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) SetID ¶
func (o *PatchCurrentIdentityAuthenticatorParams) SetID(id string)
SetID adds the id to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) SetTimeout ¶
func (o *PatchCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WithAuthenticator ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorPatchWithCurrent) *PatchCurrentIdentityAuthenticatorParams
WithAuthenticator adds the authenticator to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WithContext ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams
WithContext adds the context to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WithDefaults ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithDefaults() *PatchCurrentIdentityAuthenticatorParams
WithDefaults hydrates default values in the patch current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*PatchCurrentIdentityAuthenticatorParams) WithHTTPClient ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *PatchCurrentIdentityAuthenticatorParams
WithHTTPClient adds the HTTPClient to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WithID ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithID(id string) *PatchCurrentIdentityAuthenticatorParams
WithID adds the id to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WithTimeout ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *PatchCurrentIdentityAuthenticatorParams
WithTimeout adds the timeout to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WriteToRequest ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchCurrentIdentityAuthenticatorReader ¶
type PatchCurrentIdentityAuthenticatorReader struct {
// contains filtered or unexported fields
}
PatchCurrentIdentityAuthenticatorReader is a Reader for the PatchCurrentIdentityAuthenticator structure.
func (*PatchCurrentIdentityAuthenticatorReader) ReadResponse ¶
func (o *PatchCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PatchCurrentIdentityAuthenticatorUnauthorized ¶
type PatchCurrentIdentityAuthenticatorUnauthorized struct {
WWWAuthenticate []string
}
PatchCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewPatchCurrentIdentityAuthenticatorUnauthorized ¶
func NewPatchCurrentIdentityAuthenticatorUnauthorized() *PatchCurrentIdentityAuthenticatorUnauthorized
NewPatchCurrentIdentityAuthenticatorUnauthorized creates a PatchCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*PatchCurrentIdentityAuthenticatorUnauthorized) Code ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) Code() int
Code gets the status code for the patch current identity authenticator unauthorized response
func (*PatchCurrentIdentityAuthenticatorUnauthorized) Error ¶
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) Error() string
func (*PatchCurrentIdentityAuthenticatorUnauthorized) GetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*PatchCurrentIdentityAuthenticatorUnauthorized) IsClientError ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
IsClientError returns true when this patch current identity authenticator unauthorized response has a 4xx status code
func (*PatchCurrentIdentityAuthenticatorUnauthorized) IsCode ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
IsCode returns true when this patch current identity authenticator unauthorized response a status code equal to that given
func (*PatchCurrentIdentityAuthenticatorUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this patch current identity authenticator unauthorized response has a 3xx status code
func (*PatchCurrentIdentityAuthenticatorUnauthorized) IsServerError ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
IsServerError returns true when this patch current identity authenticator unauthorized response has a 5xx status code
func (*PatchCurrentIdentityAuthenticatorUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch current identity authenticator unauthorized response has a 2xx status code
func (*PatchCurrentIdentityAuthenticatorUnauthorized) String ¶ added in v0.26.53
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) String() string
type UpdateCurrentIdentityAuthenticatorBadRequest ¶
type UpdateCurrentIdentityAuthenticatorBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
UpdateCurrentIdentityAuthenticatorBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateCurrentIdentityAuthenticatorBadRequest ¶
func NewUpdateCurrentIdentityAuthenticatorBadRequest() *UpdateCurrentIdentityAuthenticatorBadRequest
NewUpdateCurrentIdentityAuthenticatorBadRequest creates a UpdateCurrentIdentityAuthenticatorBadRequest with default headers values
func (*UpdateCurrentIdentityAuthenticatorBadRequest) Code ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) Code() int
Code gets the status code for the update current identity authenticator bad request response
func (*UpdateCurrentIdentityAuthenticatorBadRequest) Error ¶
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) Error() string
func (*UpdateCurrentIdentityAuthenticatorBadRequest) GetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdateCurrentIdentityAuthenticatorBadRequest) IsClientError ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsClientError() bool
IsClientError returns true when this update current identity authenticator bad request response has a 4xx status code
func (*UpdateCurrentIdentityAuthenticatorBadRequest) IsCode ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsCode(code int) bool
IsCode returns true when this update current identity authenticator bad request response a status code equal to that given
func (*UpdateCurrentIdentityAuthenticatorBadRequest) IsRedirect ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsRedirect() bool
IsRedirect returns true when this update current identity authenticator bad request response has a 3xx status code
func (*UpdateCurrentIdentityAuthenticatorBadRequest) IsServerError ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsServerError() bool
IsServerError returns true when this update current identity authenticator bad request response has a 5xx status code
func (*UpdateCurrentIdentityAuthenticatorBadRequest) IsSuccess ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) IsSuccess() bool
IsSuccess returns true when this update current identity authenticator bad request response has a 2xx status code
func (*UpdateCurrentIdentityAuthenticatorBadRequest) String ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) String() string
type UpdateCurrentIdentityAuthenticatorNotFound ¶
type UpdateCurrentIdentityAuthenticatorNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
UpdateCurrentIdentityAuthenticatorNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateCurrentIdentityAuthenticatorNotFound ¶
func NewUpdateCurrentIdentityAuthenticatorNotFound() *UpdateCurrentIdentityAuthenticatorNotFound
NewUpdateCurrentIdentityAuthenticatorNotFound creates a UpdateCurrentIdentityAuthenticatorNotFound with default headers values
func (*UpdateCurrentIdentityAuthenticatorNotFound) Code ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorNotFound) Code() int
Code gets the status code for the update current identity authenticator not found response
func (*UpdateCurrentIdentityAuthenticatorNotFound) Error ¶
func (o *UpdateCurrentIdentityAuthenticatorNotFound) Error() string
func (*UpdateCurrentIdentityAuthenticatorNotFound) GetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdateCurrentIdentityAuthenticatorNotFound) IsClientError ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsClientError() bool
IsClientError returns true when this update current identity authenticator not found response has a 4xx status code
func (*UpdateCurrentIdentityAuthenticatorNotFound) IsCode ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsCode(code int) bool
IsCode returns true when this update current identity authenticator not found response a status code equal to that given
func (*UpdateCurrentIdentityAuthenticatorNotFound) IsRedirect ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsRedirect() bool
IsRedirect returns true when this update current identity authenticator not found response has a 3xx status code
func (*UpdateCurrentIdentityAuthenticatorNotFound) IsServerError ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsServerError() bool
IsServerError returns true when this update current identity authenticator not found response has a 5xx status code
func (*UpdateCurrentIdentityAuthenticatorNotFound) IsSuccess ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorNotFound) IsSuccess() bool
IsSuccess returns true when this update current identity authenticator not found response has a 2xx status code
func (*UpdateCurrentIdentityAuthenticatorNotFound) String ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorNotFound) String() string
type UpdateCurrentIdentityAuthenticatorOK ¶
type UpdateCurrentIdentityAuthenticatorOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
UpdateCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateCurrentIdentityAuthenticatorOK ¶
func NewUpdateCurrentIdentityAuthenticatorOK() *UpdateCurrentIdentityAuthenticatorOK
NewUpdateCurrentIdentityAuthenticatorOK creates a UpdateCurrentIdentityAuthenticatorOK with default headers values
func (*UpdateCurrentIdentityAuthenticatorOK) Code ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorOK) Code() int
Code gets the status code for the update current identity authenticator o k response
func (*UpdateCurrentIdentityAuthenticatorOK) Error ¶
func (o *UpdateCurrentIdentityAuthenticatorOK) Error() string
func (*UpdateCurrentIdentityAuthenticatorOK) GetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.Empty
func (*UpdateCurrentIdentityAuthenticatorOK) IsClientError ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorOK) IsClientError() bool
IsClientError returns true when this update current identity authenticator o k response has a 4xx status code
func (*UpdateCurrentIdentityAuthenticatorOK) IsCode ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorOK) IsCode(code int) bool
IsCode returns true when this update current identity authenticator o k response a status code equal to that given
func (*UpdateCurrentIdentityAuthenticatorOK) IsRedirect ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorOK) IsRedirect() bool
IsRedirect returns true when this update current identity authenticator o k response has a 3xx status code
func (*UpdateCurrentIdentityAuthenticatorOK) IsServerError ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorOK) IsServerError() bool
IsServerError returns true when this update current identity authenticator o k response has a 5xx status code
func (*UpdateCurrentIdentityAuthenticatorOK) IsSuccess ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorOK) IsSuccess() bool
IsSuccess returns true when this update current identity authenticator o k response has a 2xx status code
func (*UpdateCurrentIdentityAuthenticatorOK) String ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorOK) String() string
type UpdateCurrentIdentityAuthenticatorParams ¶
type UpdateCurrentIdentityAuthenticatorParams struct {
/* Authenticator.
An authenticator put object
*/
Authenticator *rest_model.AuthenticatorUpdateWithCurrent
/* ID.
The id of the requested resource
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint
for the update current identity authenticator operation. Typically these are written to a http.Request.
func NewUpdateCurrentIdentityAuthenticatorParams ¶
func NewUpdateCurrentIdentityAuthenticatorParams() *UpdateCurrentIdentityAuthenticatorParams
NewUpdateCurrentIdentityAuthenticatorParams creates a new UpdateCurrentIdentityAuthenticatorParams 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 NewUpdateCurrentIdentityAuthenticatorParamsWithContext ¶
func NewUpdateCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams
NewUpdateCurrentIdentityAuthenticatorParamsWithContext creates a new UpdateCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.
func NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient ¶
func NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *UpdateCurrentIdentityAuthenticatorParams
NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new UpdateCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout ¶
func NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *UpdateCurrentIdentityAuthenticatorParams
NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout creates a new UpdateCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.
func (*UpdateCurrentIdentityAuthenticatorParams) SetAuthenticator ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorUpdateWithCurrent)
SetAuthenticator adds the authenticator to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) SetContext ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) SetDefaults ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the update current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCurrentIdentityAuthenticatorParams) SetHTTPClient ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) SetID ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetID(id string)
SetID adds the id to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) SetTimeout ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithAuthenticator ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorUpdateWithCurrent) *UpdateCurrentIdentityAuthenticatorParams
WithAuthenticator adds the authenticator to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithContext ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams
WithContext adds the context to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithDefaults ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithDefaults() *UpdateCurrentIdentityAuthenticatorParams
WithDefaults hydrates default values in the update current identity authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCurrentIdentityAuthenticatorParams) WithHTTPClient ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *UpdateCurrentIdentityAuthenticatorParams
WithHTTPClient adds the HTTPClient to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithID ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithID(id string) *UpdateCurrentIdentityAuthenticatorParams
WithID adds the id to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithTimeout ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *UpdateCurrentIdentityAuthenticatorParams
WithTimeout adds the timeout to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WriteToRequest ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCurrentIdentityAuthenticatorReader ¶
type UpdateCurrentIdentityAuthenticatorReader struct {
// contains filtered or unexported fields
}
UpdateCurrentIdentityAuthenticatorReader is a Reader for the UpdateCurrentIdentityAuthenticator structure.
func (*UpdateCurrentIdentityAuthenticatorReader) ReadResponse ¶
func (o *UpdateCurrentIdentityAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UpdateCurrentIdentityAuthenticatorUnauthorized ¶
type UpdateCurrentIdentityAuthenticatorUnauthorized struct {
WWWAuthenticate []string
}
UpdateCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewUpdateCurrentIdentityAuthenticatorUnauthorized ¶
func NewUpdateCurrentIdentityAuthenticatorUnauthorized() *UpdateCurrentIdentityAuthenticatorUnauthorized
NewUpdateCurrentIdentityAuthenticatorUnauthorized creates a UpdateCurrentIdentityAuthenticatorUnauthorized with default headers values
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) Code ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) Code() int
Code gets the status code for the update current identity authenticator unauthorized response
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) Error ¶
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) Error() string
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) GetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) IsClientError ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsClientError() bool
IsClientError returns true when this update current identity authenticator unauthorized response has a 4xx status code
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) IsCode ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsCode(code int) bool
IsCode returns true when this update current identity authenticator unauthorized response a status code equal to that given
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) IsRedirect ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsRedirect() bool
IsRedirect returns true when this update current identity authenticator unauthorized response has a 3xx status code
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) IsServerError ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsServerError() bool
IsServerError returns true when this update current identity authenticator unauthorized response has a 5xx status code
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) IsSuccess ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) IsSuccess() bool
IsSuccess returns true when this update current identity authenticator unauthorized response has a 2xx status code
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) String ¶ added in v0.26.53
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) String() string
Source Files
¶
- create_totp_token_parameters.go
- create_totp_token_responses.go
- current_api_session_client.go
- delete_current_api_session_parameters.go
- delete_current_api_session_responses.go
- detail_current_identity_authenticator_parameters.go
- detail_current_identity_authenticator_responses.go
- extend_current_identity_authenticator_parameters.go
- extend_current_identity_authenticator_responses.go
- extend_verify_current_identity_authenticator_parameters.go
- extend_verify_current_identity_authenticator_responses.go
- get_current_api_session_parameters.go
- get_current_api_session_responses.go
- list_current_identity_authenticators_parameters.go
- list_current_identity_authenticators_responses.go
- patch_current_identity_authenticator_parameters.go
- patch_current_identity_authenticator_responses.go
- update_current_identity_authenticator_parameters.go
- update_current_identity_authenticator_responses.go