Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) DeleteCredentialsID(params *DeleteCredentialsIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialsIDNoContent, error)
- func (a *Client) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialsOK, error)
- func (a *Client) GetInternalCredentialsID(params *GetInternalCredentialsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetInternalCredentialsIDOK, error)
- func (a *Client) GetSelf(params *GetSelfParams, authInfo runtime.ClientAuthInfoWriter) (*GetSelfOK, error)
- func (a *Client) PostCredentials(params *PostCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*PostCredentialsOK, error)
- func (a *Client) PostInternalCredentials(params *PostInternalCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*PostInternalCredentialsOK, error)
- func (a *Client) PostOauthTokens(params *PostOauthTokensParams) (*PostOauthTokensCreated, error)
- func (a *Client) PostSso(params *PostSsoParams, authInfo runtime.ClientAuthInfoWriter) (*PostSsoCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteCredentialsIDBadRequest
- type DeleteCredentialsIDBadRequestBody
- type DeleteCredentialsIDInternalServerError
- type DeleteCredentialsIDInternalServerErrorBody
- type DeleteCredentialsIDNoContent
- type DeleteCredentialsIDNotFound
- type DeleteCredentialsIDNotFoundBody
- type DeleteCredentialsIDParams
- func NewDeleteCredentialsIDParams() *DeleteCredentialsIDParams
- func NewDeleteCredentialsIDParamsWithContext(ctx context.Context) *DeleteCredentialsIDParams
- func NewDeleteCredentialsIDParamsWithHTTPClient(client *http.Client) *DeleteCredentialsIDParams
- func NewDeleteCredentialsIDParamsWithTimeout(timeout time.Duration) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) SetContext(ctx context.Context)
- func (o *DeleteCredentialsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCredentialsIDParams) SetID(id string)
- func (o *DeleteCredentialsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCredentialsIDParams) WithContext(ctx context.Context) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithHTTPClient(client *http.Client) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithID(id string) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WithTimeout(timeout time.Duration) *DeleteCredentialsIDParams
- func (o *DeleteCredentialsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCredentialsIDReader
- type DeleteCredentialsIDUnauthorized
- type DeleteCredentialsIDUnauthorizedBody
- type GetCredentialsBadRequest
- type GetCredentialsBadRequestBody
- type GetCredentialsInternalServerError
- type GetCredentialsInternalServerErrorBody
- type GetCredentialsNotFound
- type GetCredentialsNotFoundBody
- type GetCredentialsOK
- type GetCredentialsParams
- func NewGetCredentialsParams() *GetCredentialsParams
- func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
- func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams
- func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) SetContext(ctx context.Context)
- func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetCredentialsParams) SetProductID(productID string)
- func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
- func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
- func (o *GetCredentialsParams) WithProductID(productID string) *GetCredentialsParams
- func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCredentialsReader
- type GetCredentialsUnauthorized
- type GetCredentialsUnauthorizedBody
- type GetInternalCredentialsIDBadRequest
- type GetInternalCredentialsIDBadRequestBody
- type GetInternalCredentialsIDInternalServerError
- type GetInternalCredentialsIDInternalServerErrorBody
- type GetInternalCredentialsIDNotFound
- type GetInternalCredentialsIDNotFoundBody
- type GetInternalCredentialsIDOK
- type GetInternalCredentialsIDParams
- func NewGetInternalCredentialsIDParams() *GetInternalCredentialsIDParams
- func NewGetInternalCredentialsIDParamsWithContext(ctx context.Context) *GetInternalCredentialsIDParams
- func NewGetInternalCredentialsIDParamsWithHTTPClient(client *http.Client) *GetInternalCredentialsIDParams
- func NewGetInternalCredentialsIDParamsWithTimeout(timeout time.Duration) *GetInternalCredentialsIDParams
- func (o *GetInternalCredentialsIDParams) SetContext(ctx context.Context)
- func (o *GetInternalCredentialsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetInternalCredentialsIDParams) SetID(id string)
- func (o *GetInternalCredentialsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetInternalCredentialsIDParams) WithContext(ctx context.Context) *GetInternalCredentialsIDParams
- func (o *GetInternalCredentialsIDParams) WithHTTPClient(client *http.Client) *GetInternalCredentialsIDParams
- func (o *GetInternalCredentialsIDParams) WithID(id string) *GetInternalCredentialsIDParams
- func (o *GetInternalCredentialsIDParams) WithTimeout(timeout time.Duration) *GetInternalCredentialsIDParams
- func (o *GetInternalCredentialsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInternalCredentialsIDReader
- type GetInternalCredentialsIDUnauthorized
- type GetInternalCredentialsIDUnauthorizedBody
- type GetSelfBadRequest
- type GetSelfBadRequestBody
- type GetSelfInternalServerError
- type GetSelfInternalServerErrorBody
- type GetSelfOK
- type GetSelfParams
- func (o *GetSelfParams) SetContext(ctx context.Context)
- func (o *GetSelfParams) SetHTTPClient(client *http.Client)
- func (o *GetSelfParams) SetTimeout(timeout time.Duration)
- func (o *GetSelfParams) WithContext(ctx context.Context) *GetSelfParams
- func (o *GetSelfParams) WithHTTPClient(client *http.Client) *GetSelfParams
- func (o *GetSelfParams) WithTimeout(timeout time.Duration) *GetSelfParams
- func (o *GetSelfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSelfReader
- type GetSelfUnauthorized
- type GetSelfUnauthorizedBody
- type PostCredentialsBadRequest
- type PostCredentialsBadRequestBody
- type PostCredentialsInternalServerError
- type PostCredentialsInternalServerErrorBody
- type PostCredentialsNotFound
- type PostCredentialsNotFoundBody
- type PostCredentialsOK
- type PostCredentialsParams
- func NewPostCredentialsParams() *PostCredentialsParams
- func NewPostCredentialsParamsWithContext(ctx context.Context) *PostCredentialsParams
- func NewPostCredentialsParamsWithHTTPClient(client *http.Client) *PostCredentialsParams
- func NewPostCredentialsParamsWithTimeout(timeout time.Duration) *PostCredentialsParams
- func (o *PostCredentialsParams) SetBody(body *models.OAuthCredentialCreateRequest)
- func (o *PostCredentialsParams) SetContext(ctx context.Context)
- func (o *PostCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *PostCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *PostCredentialsParams) WithBody(body *models.OAuthCredentialCreateRequest) *PostCredentialsParams
- func (o *PostCredentialsParams) WithContext(ctx context.Context) *PostCredentialsParams
- func (o *PostCredentialsParams) WithHTTPClient(client *http.Client) *PostCredentialsParams
- func (o *PostCredentialsParams) WithTimeout(timeout time.Duration) *PostCredentialsParams
- func (o *PostCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostCredentialsReader
- type PostCredentialsUnauthorized
- type PostCredentialsUnauthorizedBody
- type PostInternalCredentialsBadRequest
- type PostInternalCredentialsBadRequestBody
- type PostInternalCredentialsInternalServerError
- type PostInternalCredentialsInternalServerErrorBody
- type PostInternalCredentialsNotFound
- type PostInternalCredentialsNotFoundBody
- type PostInternalCredentialsOK
- type PostInternalCredentialsParams
- func NewPostInternalCredentialsParams() *PostInternalCredentialsParams
- func NewPostInternalCredentialsParamsWithContext(ctx context.Context) *PostInternalCredentialsParams
- func NewPostInternalCredentialsParamsWithHTTPClient(client *http.Client) *PostInternalCredentialsParams
- func NewPostInternalCredentialsParamsWithTimeout(timeout time.Duration) *PostInternalCredentialsParams
- func (o *PostInternalCredentialsParams) SetBody(body *models.OAuthCredentialCreateRequest)
- func (o *PostInternalCredentialsParams) SetContext(ctx context.Context)
- func (o *PostInternalCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *PostInternalCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *PostInternalCredentialsParams) WithBody(body *models.OAuthCredentialCreateRequest) *PostInternalCredentialsParams
- func (o *PostInternalCredentialsParams) WithContext(ctx context.Context) *PostInternalCredentialsParams
- func (o *PostInternalCredentialsParams) WithHTTPClient(client *http.Client) *PostInternalCredentialsParams
- func (o *PostInternalCredentialsParams) WithTimeout(timeout time.Duration) *PostInternalCredentialsParams
- func (o *PostInternalCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostInternalCredentialsReader
- type PostInternalCredentialsUnauthorized
- type PostInternalCredentialsUnauthorizedBody
- type PostOauthTokensBadRequest
- type PostOauthTokensBadRequestBody
- type PostOauthTokensCreated
- type PostOauthTokensInternalServerError
- type PostOauthTokensInternalServerErrorBody
- type PostOauthTokensParams
- func NewPostOauthTokensParams() *PostOauthTokensParams
- func NewPostOauthTokensParamsWithContext(ctx context.Context) *PostOauthTokensParams
- func NewPostOauthTokensParamsWithHTTPClient(client *http.Client) *PostOauthTokensParams
- func NewPostOauthTokensParamsWithTimeout(timeout time.Duration) *PostOauthTokensParams
- func (o *PostOauthTokensParams) SetAuthorization(authorization *string)
- func (o *PostOauthTokensParams) SetBody(body models.AccessTokenRequest)
- func (o *PostOauthTokensParams) SetContext(ctx context.Context)
- func (o *PostOauthTokensParams) SetHTTPClient(client *http.Client)
- func (o *PostOauthTokensParams) SetTimeout(timeout time.Duration)
- func (o *PostOauthTokensParams) WithAuthorization(authorization *string) *PostOauthTokensParams
- func (o *PostOauthTokensParams) WithBody(body models.AccessTokenRequest) *PostOauthTokensParams
- func (o *PostOauthTokensParams) WithContext(ctx context.Context) *PostOauthTokensParams
- func (o *PostOauthTokensParams) WithHTTPClient(client *http.Client) *PostOauthTokensParams
- func (o *PostOauthTokensParams) WithTimeout(timeout time.Duration) *PostOauthTokensParams
- func (o *PostOauthTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostOauthTokensReader
- type PostOauthTokensUnauthorized
- type PostOauthTokensUnauthorizedBody
- type PostSsoBadRequest
- type PostSsoBadRequestBody
- type PostSsoCreated
- type PostSsoInternalServerError
- type PostSsoInternalServerErrorBody
- type PostSsoParams
- func (o *PostSsoParams) SetBody(body *models.AuthCodeRequest)
- func (o *PostSsoParams) SetContext(ctx context.Context)
- func (o *PostSsoParams) SetHTTPClient(client *http.Client)
- func (o *PostSsoParams) SetTimeout(timeout time.Duration)
- func (o *PostSsoParams) WithBody(body *models.AuthCodeRequest) *PostSsoParams
- func (o *PostSsoParams) WithContext(ctx context.Context) *PostSsoParams
- func (o *PostSsoParams) WithHTTPClient(client *http.Client) *PostSsoParams
- func (o *PostSsoParams) WithTimeout(timeout time.Duration) *PostSsoParams
- func (o *PostSsoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostSsoReader
- type PostSsoUnauthorized
- type PostSsoUnauthorizedBody
Constants ¶
const ( // DeleteCredentialsIDBadRequestBodyTypeBadRequest captures enum value "bad_request" DeleteCredentialsIDBadRequestBodyTypeBadRequest string = "bad_request" DeleteCredentialsIDBadRequestBodyTypeUnauthorized string = "unauthorized" // DeleteCredentialsIDBadRequestBodyTypeNotFound captures enum value "not_found" DeleteCredentialsIDBadRequestBodyTypeNotFound string = "not_found" // DeleteCredentialsIDBadRequestBodyTypeInternal captures enum value "internal" DeleteCredentialsIDBadRequestBodyTypeInternal string = "internal" // DeleteCredentialsIDBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" DeleteCredentialsIDBadRequestBodyTypeInvalidGrant string = "invalid_grant" // DeleteCredentialsIDBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" DeleteCredentialsIDBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // DeleteCredentialsIDInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" DeleteCredentialsIDInternalServerErrorBodyTypeBadRequest string = "bad_request" DeleteCredentialsIDInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // DeleteCredentialsIDInternalServerErrorBodyTypeNotFound captures enum value "not_found" DeleteCredentialsIDInternalServerErrorBodyTypeNotFound string = "not_found" // DeleteCredentialsIDInternalServerErrorBodyTypeInternal captures enum value "internal" DeleteCredentialsIDInternalServerErrorBodyTypeInternal string = "internal" // DeleteCredentialsIDInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" DeleteCredentialsIDInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // DeleteCredentialsIDInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" DeleteCredentialsIDInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // DeleteCredentialsIDNotFoundBodyTypeBadRequest captures enum value "bad_request" DeleteCredentialsIDNotFoundBodyTypeBadRequest string = "bad_request" DeleteCredentialsIDNotFoundBodyTypeUnauthorized string = "unauthorized" // DeleteCredentialsIDNotFoundBodyTypeNotFound captures enum value "not_found" DeleteCredentialsIDNotFoundBodyTypeNotFound string = "not_found" // DeleteCredentialsIDNotFoundBodyTypeInternal captures enum value "internal" DeleteCredentialsIDNotFoundBodyTypeInternal string = "internal" // DeleteCredentialsIDNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" DeleteCredentialsIDNotFoundBodyTypeInvalidGrant string = "invalid_grant" // DeleteCredentialsIDNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" DeleteCredentialsIDNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" DeleteCredentialsIDUnauthorizedBodyTypeUnauthorized string = "unauthorized" DeleteCredentialsIDUnauthorizedBodyTypeNotFound string = "not_found" DeleteCredentialsIDUnauthorizedBodyTypeInternal string = "internal" DeleteCredentialsIDUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" DeleteCredentialsIDUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )DeleteCredentialsIDUnauthorizedBodyTypeBadRequest
const ( // GetCredentialsBadRequestBodyTypeBadRequest captures enum value "bad_request" GetCredentialsBadRequestBodyTypeBadRequest string = "bad_request" GetCredentialsBadRequestBodyTypeUnauthorized string = "unauthorized" // GetCredentialsBadRequestBodyTypeNotFound captures enum value "not_found" GetCredentialsBadRequestBodyTypeNotFound string = "not_found" // GetCredentialsBadRequestBodyTypeInternal captures enum value "internal" GetCredentialsBadRequestBodyTypeInternal string = "internal" // GetCredentialsBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" GetCredentialsBadRequestBodyTypeInvalidGrant string = "invalid_grant" // GetCredentialsBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetCredentialsBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetCredentialsInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" GetCredentialsInternalServerErrorBodyTypeBadRequest string = "bad_request" GetCredentialsInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // GetCredentialsInternalServerErrorBodyTypeNotFound captures enum value "not_found" GetCredentialsInternalServerErrorBodyTypeNotFound string = "not_found" // GetCredentialsInternalServerErrorBodyTypeInternal captures enum value "internal" GetCredentialsInternalServerErrorBodyTypeInternal string = "internal" // GetCredentialsInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" GetCredentialsInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // GetCredentialsInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetCredentialsInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetCredentialsNotFoundBodyTypeBadRequest captures enum value "bad_request" GetCredentialsNotFoundBodyTypeBadRequest string = "bad_request" GetCredentialsNotFoundBodyTypeUnauthorized string = "unauthorized" // GetCredentialsNotFoundBodyTypeNotFound captures enum value "not_found" GetCredentialsNotFoundBodyTypeNotFound string = "not_found" // GetCredentialsNotFoundBodyTypeInternal captures enum value "internal" GetCredentialsNotFoundBodyTypeInternal string = "internal" // GetCredentialsNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" GetCredentialsNotFoundBodyTypeInvalidGrant string = "invalid_grant" // GetCredentialsNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetCredentialsNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" GetCredentialsUnauthorizedBodyTypeUnauthorized string = "unauthorized" GetCredentialsUnauthorizedBodyTypeNotFound string = "not_found" GetCredentialsUnauthorizedBodyTypeInternal string = "internal" GetCredentialsUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" GetCredentialsUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )GetCredentialsUnauthorizedBodyTypeBadRequest
const ( // GetInternalCredentialsIDBadRequestBodyTypeBadRequest captures enum value "bad_request" GetInternalCredentialsIDBadRequestBodyTypeBadRequest string = "bad_request" GetInternalCredentialsIDBadRequestBodyTypeUnauthorized string = "unauthorized" // GetInternalCredentialsIDBadRequestBodyTypeNotFound captures enum value "not_found" GetInternalCredentialsIDBadRequestBodyTypeNotFound string = "not_found" // GetInternalCredentialsIDBadRequestBodyTypeInternal captures enum value "internal" GetInternalCredentialsIDBadRequestBodyTypeInternal string = "internal" // GetInternalCredentialsIDBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" GetInternalCredentialsIDBadRequestBodyTypeInvalidGrant string = "invalid_grant" // GetInternalCredentialsIDBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetInternalCredentialsIDBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetInternalCredentialsIDInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" GetInternalCredentialsIDInternalServerErrorBodyTypeBadRequest string = "bad_request" GetInternalCredentialsIDInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // GetInternalCredentialsIDInternalServerErrorBodyTypeNotFound captures enum value "not_found" GetInternalCredentialsIDInternalServerErrorBodyTypeNotFound string = "not_found" // GetInternalCredentialsIDInternalServerErrorBodyTypeInternal captures enum value "internal" GetInternalCredentialsIDInternalServerErrorBodyTypeInternal string = "internal" // GetInternalCredentialsIDInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" GetInternalCredentialsIDInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // GetInternalCredentialsIDInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetInternalCredentialsIDInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetInternalCredentialsIDNotFoundBodyTypeBadRequest captures enum value "bad_request" GetInternalCredentialsIDNotFoundBodyTypeBadRequest string = "bad_request" GetInternalCredentialsIDNotFoundBodyTypeUnauthorized string = "unauthorized" // GetInternalCredentialsIDNotFoundBodyTypeNotFound captures enum value "not_found" GetInternalCredentialsIDNotFoundBodyTypeNotFound string = "not_found" // GetInternalCredentialsIDNotFoundBodyTypeInternal captures enum value "internal" GetInternalCredentialsIDNotFoundBodyTypeInternal string = "internal" // GetInternalCredentialsIDNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" GetInternalCredentialsIDNotFoundBodyTypeInvalidGrant string = "invalid_grant" // GetInternalCredentialsIDNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetInternalCredentialsIDNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" GetInternalCredentialsIDUnauthorizedBodyTypeUnauthorized string = "unauthorized" GetInternalCredentialsIDUnauthorizedBodyTypeNotFound string = "not_found" GetInternalCredentialsIDUnauthorizedBodyTypeInternal string = "internal" GetInternalCredentialsIDUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" GetInternalCredentialsIDUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )GetInternalCredentialsIDUnauthorizedBodyTypeBadRequest
const ( // GetSelfBadRequestBodyTypeBadRequest captures enum value "bad_request" GetSelfBadRequestBodyTypeBadRequest string = "bad_request" GetSelfBadRequestBodyTypeUnauthorized string = "unauthorized" // GetSelfBadRequestBodyTypeNotFound captures enum value "not_found" GetSelfBadRequestBodyTypeNotFound string = "not_found" // GetSelfBadRequestBodyTypeInternal captures enum value "internal" GetSelfBadRequestBodyTypeInternal string = "internal" // GetSelfBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" GetSelfBadRequestBodyTypeInvalidGrant string = "invalid_grant" // GetSelfBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetSelfBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetSelfInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" GetSelfInternalServerErrorBodyTypeBadRequest string = "bad_request" GetSelfInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // GetSelfInternalServerErrorBodyTypeNotFound captures enum value "not_found" GetSelfInternalServerErrorBodyTypeNotFound string = "not_found" // GetSelfInternalServerErrorBodyTypeInternal captures enum value "internal" GetSelfInternalServerErrorBodyTypeInternal string = "internal" // GetSelfInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" GetSelfInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // GetSelfInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetSelfInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" GetSelfUnauthorizedBodyTypeUnauthorized string = "unauthorized" GetSelfUnauthorizedBodyTypeNotFound string = "not_found" GetSelfUnauthorizedBodyTypeInternal string = "internal" GetSelfUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" GetSelfUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )GetSelfUnauthorizedBodyTypeBadRequest
const ( // PostCredentialsBadRequestBodyTypeBadRequest captures enum value "bad_request" PostCredentialsBadRequestBodyTypeBadRequest string = "bad_request" PostCredentialsBadRequestBodyTypeUnauthorized string = "unauthorized" // PostCredentialsBadRequestBodyTypeNotFound captures enum value "not_found" PostCredentialsBadRequestBodyTypeNotFound string = "not_found" // PostCredentialsBadRequestBodyTypeInternal captures enum value "internal" PostCredentialsBadRequestBodyTypeInternal string = "internal" // PostCredentialsBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" PostCredentialsBadRequestBodyTypeInvalidGrant string = "invalid_grant" // PostCredentialsBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PostCredentialsBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // PostCredentialsInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" PostCredentialsInternalServerErrorBodyTypeBadRequest string = "bad_request" PostCredentialsInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // PostCredentialsInternalServerErrorBodyTypeNotFound captures enum value "not_found" PostCredentialsInternalServerErrorBodyTypeNotFound string = "not_found" // PostCredentialsInternalServerErrorBodyTypeInternal captures enum value "internal" PostCredentialsInternalServerErrorBodyTypeInternal string = "internal" // PostCredentialsInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" PostCredentialsInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // PostCredentialsInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PostCredentialsInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // PostCredentialsNotFoundBodyTypeBadRequest captures enum value "bad_request" PostCredentialsNotFoundBodyTypeBadRequest string = "bad_request" PostCredentialsNotFoundBodyTypeUnauthorized string = "unauthorized" // PostCredentialsNotFoundBodyTypeNotFound captures enum value "not_found" PostCredentialsNotFoundBodyTypeNotFound string = "not_found" // PostCredentialsNotFoundBodyTypeInternal captures enum value "internal" PostCredentialsNotFoundBodyTypeInternal string = "internal" // PostCredentialsNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" PostCredentialsNotFoundBodyTypeInvalidGrant string = "invalid_grant" // PostCredentialsNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PostCredentialsNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" PostCredentialsUnauthorizedBodyTypeUnauthorized string = "unauthorized" PostCredentialsUnauthorizedBodyTypeNotFound string = "not_found" PostCredentialsUnauthorizedBodyTypeInternal string = "internal" PostCredentialsUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" PostCredentialsUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )PostCredentialsUnauthorizedBodyTypeBadRequest
const ( // PostInternalCredentialsBadRequestBodyTypeBadRequest captures enum value "bad_request" PostInternalCredentialsBadRequestBodyTypeBadRequest string = "bad_request" PostInternalCredentialsBadRequestBodyTypeUnauthorized string = "unauthorized" // PostInternalCredentialsBadRequestBodyTypeNotFound captures enum value "not_found" PostInternalCredentialsBadRequestBodyTypeNotFound string = "not_found" // PostInternalCredentialsBadRequestBodyTypeInternal captures enum value "internal" PostInternalCredentialsBadRequestBodyTypeInternal string = "internal" // PostInternalCredentialsBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" PostInternalCredentialsBadRequestBodyTypeInvalidGrant string = "invalid_grant" // PostInternalCredentialsBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PostInternalCredentialsBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // PostInternalCredentialsInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" PostInternalCredentialsInternalServerErrorBodyTypeBadRequest string = "bad_request" PostInternalCredentialsInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // PostInternalCredentialsInternalServerErrorBodyTypeNotFound captures enum value "not_found" PostInternalCredentialsInternalServerErrorBodyTypeNotFound string = "not_found" // PostInternalCredentialsInternalServerErrorBodyTypeInternal captures enum value "internal" PostInternalCredentialsInternalServerErrorBodyTypeInternal string = "internal" // PostInternalCredentialsInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" PostInternalCredentialsInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // PostInternalCredentialsInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PostInternalCredentialsInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // PostInternalCredentialsNotFoundBodyTypeBadRequest captures enum value "bad_request" PostInternalCredentialsNotFoundBodyTypeBadRequest string = "bad_request" PostInternalCredentialsNotFoundBodyTypeUnauthorized string = "unauthorized" // PostInternalCredentialsNotFoundBodyTypeNotFound captures enum value "not_found" PostInternalCredentialsNotFoundBodyTypeNotFound string = "not_found" // PostInternalCredentialsNotFoundBodyTypeInternal captures enum value "internal" PostInternalCredentialsNotFoundBodyTypeInternal string = "internal" // PostInternalCredentialsNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" PostInternalCredentialsNotFoundBodyTypeInvalidGrant string = "invalid_grant" // PostInternalCredentialsNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PostInternalCredentialsNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" PostInternalCredentialsUnauthorizedBodyTypeUnauthorized string = "unauthorized" PostInternalCredentialsUnauthorizedBodyTypeNotFound string = "not_found" PostInternalCredentialsUnauthorizedBodyTypeInternal string = "internal" PostInternalCredentialsUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" PostInternalCredentialsUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )PostInternalCredentialsUnauthorizedBodyTypeBadRequest
const ( // PostOauthTokensBadRequestBodyErrorInvalidRequest captures enum value "invalid_request" PostOauthTokensBadRequestBodyErrorInvalidRequest string = "invalid_request" // PostOauthTokensBadRequestBodyErrorInvalidClient captures enum value "invalid_client" PostOauthTokensBadRequestBodyErrorInvalidClient string = "invalid_client" // PostOauthTokensBadRequestBodyErrorInvalidGrant captures enum value "invalid_grant" PostOauthTokensBadRequestBodyErrorInvalidGrant string = "invalid_grant" PostOauthTokensBadRequestBodyErrorUnauthorizedClient string = "unauthorized_client" // PostOauthTokensBadRequestBodyErrorUnsupportedGrantType captures enum value "unsupported_grant_type" PostOauthTokensBadRequestBodyErrorUnsupportedGrantType string = "unsupported_grant_type" // PostOauthTokensBadRequestBodyErrorInvalidScope captures enum value "invalid_scope" PostOauthTokensBadRequestBodyErrorInvalidScope string = "invalid_scope" // PostOauthTokensBadRequestBodyErrorAccessDenied captures enum value "access_denied" PostOauthTokensBadRequestBodyErrorAccessDenied string = "access_denied" )
const ( // PostOauthTokensInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" PostOauthTokensInternalServerErrorBodyTypeBadRequest string = "bad_request" PostOauthTokensInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // PostOauthTokensInternalServerErrorBodyTypeNotFound captures enum value "not_found" PostOauthTokensInternalServerErrorBodyTypeNotFound string = "not_found" // PostOauthTokensInternalServerErrorBodyTypeInternal captures enum value "internal" PostOauthTokensInternalServerErrorBodyTypeInternal string = "internal" // PostOauthTokensInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" PostOauthTokensInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // PostOauthTokensInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PostOauthTokensInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "invalid_request" PostOauthTokensUnauthorizedBodyErrorInvalidClient string = "invalid_client" PostOauthTokensUnauthorizedBodyErrorInvalidGrant string = "invalid_grant" PostOauthTokensUnauthorizedBodyErrorUnauthorizedClient string = "unauthorized_client" PostOauthTokensUnauthorizedBodyErrorUnsupportedGrantType string = "unsupported_grant_type" PostOauthTokensUnauthorizedBodyErrorInvalidScope string = "invalid_scope" PostOauthTokensUnauthorizedBodyErrorAccessDenied string = "access_denied" )PostOauthTokensUnauthorizedBodyErrorInvalidRequest
const ( // PostSsoBadRequestBodyTypeBadRequest captures enum value "bad_request" PostSsoBadRequestBodyTypeBadRequest string = "bad_request" PostSsoBadRequestBodyTypeUnauthorized string = "unauthorized" // PostSsoBadRequestBodyTypeNotFound captures enum value "not_found" PostSsoBadRequestBodyTypeNotFound string = "not_found" // PostSsoBadRequestBodyTypeInternal captures enum value "internal" PostSsoBadRequestBodyTypeInternal string = "internal" // PostSsoBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" PostSsoBadRequestBodyTypeInvalidGrant string = "invalid_grant" // PostSsoBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PostSsoBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // PostSsoInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" PostSsoInternalServerErrorBodyTypeBadRequest string = "bad_request" PostSsoInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // PostSsoInternalServerErrorBodyTypeNotFound captures enum value "not_found" PostSsoInternalServerErrorBodyTypeNotFound string = "not_found" // PostSsoInternalServerErrorBodyTypeInternal captures enum value "internal" PostSsoInternalServerErrorBodyTypeInternal string = "internal" // PostSsoInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" PostSsoInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // PostSsoInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PostSsoInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" PostSsoUnauthorizedBodyTypeUnauthorized string = "unauthorized" PostSsoUnauthorizedBodyTypeNotFound string = "not_found" PostSsoUnauthorizedBodyTypeInternal string = "internal" PostSsoUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" PostSsoUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )PostSsoUnauthorizedBodyTypeBadRequest
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for o auth API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new o auth API client.
func (*Client) DeleteCredentialsID ¶ added in v0.12.0
func (a *Client) DeleteCredentialsID(params *DeleteCredentialsIDParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCredentialsIDNoContent, error)
DeleteCredentialsID deletes an o auth credential pair
Delete an OAuth 2.0 credential pair for a provider's product.
func (*Client) GetCredentials ¶ added in v0.12.0
func (a *Client) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCredentialsOK, error)
GetCredentials gets list of o auth credentials without secrets
List all non-expired OAuth 2.0 credential pairs for a provider's product. This does **not** return the secret.
func (*Client) GetInternalCredentialsID ¶ added in v0.14.0
func (a *Client) GetInternalCredentialsID(params *GetInternalCredentialsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetInternalCredentialsIDOK, error)
GetInternalCredentialsID gets an o auth credential pair
Retrieve an existing OAuth 2.0 credential pair. This does **not** return the secret.
func (*Client) GetSelf ¶
func (a *Client) GetSelf(params *GetSelfParams, authInfo runtime.ClientAuthInfoWriter) (*GetSelfOK, error)
GetSelf currents identity
A provider can call this endpoint to return the identity represented by the access token.
Depending on the grant type used to create an access token the underlying identity will be different.
| Grant Type | Identity Type | | ---------- | ------------ | | `authorization_code` | `user` | | `client_credentials` | `product` |
func (*Client) PostCredentials ¶
func (a *Client) PostCredentials(params *PostCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*PostCredentialsOK, error)
PostCredentials creates an o auth credential pair
Create an OAuth 2.0 credential pair for a provider's product. `client_secret` is stored as an `scrypt` hash only; if the value is lost after creation, it cannot be recovered.
func (*Client) PostInternalCredentials ¶ added in v0.14.0
func (a *Client) PostInternalCredentials(params *PostInternalCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*PostInternalCredentialsOK, error)
PostInternalCredentials creates an o auth credential pair
Create an OAuth 2.0 credential pair for a provider's product. `client_secret` is stored as an `scrypt` hash only; if the value is lost after creation, it cannot be recovered.
func (*Client) PostOauthTokens ¶
func (a *Client) PostOauthTokens(params *PostOauthTokensParams) (*PostOauthTokensCreated, error)
PostOauthTokens creates access token
A provider uses this endpoint to acquire a scoped access token which grants them authority to act on behalf of the grantor (either a provider or user).
There are two grant types used for requesting an access token:
- `authorization_code` which allows a provider to exchange a `code` grant from a user for an access token giving them permission to act on the user's behalf.
- `client_credentials` which allows a provider to grant themselves an access token scoped to a product.
This endpoint is a part of the Single Sign-On flow invoked by users attempting to navigate to a resource's dashboard. A `code` is only valid for five minutes and cannot be used more than once to grant an access token.
Provider authentication is supported with `client_id` and `client_secret` in either the request body, or via basic authentication. Basic authentication is the preferred method, but is not required.
The granted token will expire within 24 hours.
func (*Client) PostSso ¶ added in v0.14.0
func (a *Client) PostSso(params *PostSsoParams, authInfo runtime.ClientAuthInfoWriter) (*PostSsoCreated, error)
PostSso creates authorization code
Endpoint for creating an authorization code used by the user to issue an SSO request against a providers API from the Dashboard.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteCredentialsIDBadRequest ¶ added in v0.12.0
type DeleteCredentialsIDBadRequest struct {
Payload DeleteCredentialsIDBadRequestBody
}
DeleteCredentialsIDBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewDeleteCredentialsIDBadRequest ¶ added in v0.12.0
func NewDeleteCredentialsIDBadRequest() *DeleteCredentialsIDBadRequest
NewDeleteCredentialsIDBadRequest creates a DeleteCredentialsIDBadRequest with default headers values
func (*DeleteCredentialsIDBadRequest) Error ¶ added in v0.12.0
func (o *DeleteCredentialsIDBadRequest) Error() string
type DeleteCredentialsIDBadRequestBody ¶ added in v0.12.0
type DeleteCredentialsIDBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
DeleteCredentialsIDBadRequestBody delete credentials ID bad request body swagger:model DeleteCredentialsIDBadRequestBody
type DeleteCredentialsIDInternalServerError ¶ added in v0.12.0
type DeleteCredentialsIDInternalServerError struct {
Payload DeleteCredentialsIDInternalServerErrorBody
}
DeleteCredentialsIDInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewDeleteCredentialsIDInternalServerError ¶ added in v0.12.0
func NewDeleteCredentialsIDInternalServerError() *DeleteCredentialsIDInternalServerError
NewDeleteCredentialsIDInternalServerError creates a DeleteCredentialsIDInternalServerError with default headers values
func (*DeleteCredentialsIDInternalServerError) Error ¶ added in v0.12.0
func (o *DeleteCredentialsIDInternalServerError) Error() string
type DeleteCredentialsIDInternalServerErrorBody ¶ added in v0.12.0
type DeleteCredentialsIDInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
DeleteCredentialsIDInternalServerErrorBody delete credentials ID internal server error body swagger:model DeleteCredentialsIDInternalServerErrorBody
type DeleteCredentialsIDNoContent ¶ added in v0.12.0
type DeleteCredentialsIDNoContent struct { }
DeleteCredentialsIDNoContent handles this case with default header values.
Empty response
func NewDeleteCredentialsIDNoContent ¶ added in v0.12.0
func NewDeleteCredentialsIDNoContent() *DeleteCredentialsIDNoContent
NewDeleteCredentialsIDNoContent creates a DeleteCredentialsIDNoContent with default headers values
func (*DeleteCredentialsIDNoContent) Error ¶ added in v0.12.0
func (o *DeleteCredentialsIDNoContent) Error() string
type DeleteCredentialsIDNotFound ¶ added in v0.12.0
type DeleteCredentialsIDNotFound struct {
Payload DeleteCredentialsIDNotFoundBody
}
DeleteCredentialsIDNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewDeleteCredentialsIDNotFound ¶ added in v0.12.0
func NewDeleteCredentialsIDNotFound() *DeleteCredentialsIDNotFound
NewDeleteCredentialsIDNotFound creates a DeleteCredentialsIDNotFound with default headers values
func (*DeleteCredentialsIDNotFound) Error ¶ added in v0.12.0
func (o *DeleteCredentialsIDNotFound) Error() string
type DeleteCredentialsIDNotFoundBody ¶ added in v0.12.0
type DeleteCredentialsIDNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
DeleteCredentialsIDNotFoundBody delete credentials ID not found body swagger:model DeleteCredentialsIDNotFoundBody
type DeleteCredentialsIDParams ¶ added in v0.12.0
type DeleteCredentialsIDParams struct { /*ID ID of the credential to delete, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCredentialsIDParams contains all the parameters to send to the API endpoint for the delete credentials ID operation typically these are written to a http.Request
func NewDeleteCredentialsIDParams ¶ added in v0.12.0
func NewDeleteCredentialsIDParams() *DeleteCredentialsIDParams
NewDeleteCredentialsIDParams creates a new DeleteCredentialsIDParams object with the default values initialized.
func NewDeleteCredentialsIDParamsWithContext ¶ added in v0.12.0
func NewDeleteCredentialsIDParamsWithContext(ctx context.Context) *DeleteCredentialsIDParams
NewDeleteCredentialsIDParamsWithContext creates a new DeleteCredentialsIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteCredentialsIDParamsWithHTTPClient ¶ added in v0.12.0
func NewDeleteCredentialsIDParamsWithHTTPClient(client *http.Client) *DeleteCredentialsIDParams
NewDeleteCredentialsIDParamsWithHTTPClient creates a new DeleteCredentialsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteCredentialsIDParamsWithTimeout ¶ added in v0.12.0
func NewDeleteCredentialsIDParamsWithTimeout(timeout time.Duration) *DeleteCredentialsIDParams
NewDeleteCredentialsIDParamsWithTimeout creates a new DeleteCredentialsIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteCredentialsIDParams) SetContext ¶ added in v0.12.0
func (o *DeleteCredentialsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetHTTPClient ¶ added in v0.12.0
func (o *DeleteCredentialsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetID ¶ added in v0.12.0
func (o *DeleteCredentialsIDParams) SetID(id string)
SetID adds the id to the delete credentials ID params
func (*DeleteCredentialsIDParams) SetTimeout ¶ added in v0.12.0
func (o *DeleteCredentialsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithContext ¶ added in v0.12.0
func (o *DeleteCredentialsIDParams) WithContext(ctx context.Context) *DeleteCredentialsIDParams
WithContext adds the context to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithHTTPClient ¶ added in v0.12.0
func (o *DeleteCredentialsIDParams) WithHTTPClient(client *http.Client) *DeleteCredentialsIDParams
WithHTTPClient adds the HTTPClient to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithID ¶ added in v0.12.0
func (o *DeleteCredentialsIDParams) WithID(id string) *DeleteCredentialsIDParams
WithID adds the id to the delete credentials ID params
func (*DeleteCredentialsIDParams) WithTimeout ¶ added in v0.12.0
func (o *DeleteCredentialsIDParams) WithTimeout(timeout time.Duration) *DeleteCredentialsIDParams
WithTimeout adds the timeout to the delete credentials ID params
func (*DeleteCredentialsIDParams) WriteToRequest ¶ added in v0.12.0
func (o *DeleteCredentialsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCredentialsIDReader ¶ added in v0.12.0
type DeleteCredentialsIDReader struct {
// contains filtered or unexported fields
}
DeleteCredentialsIDReader is a Reader for the DeleteCredentialsID structure.
func (*DeleteCredentialsIDReader) ReadResponse ¶ added in v0.12.0
func (o *DeleteCredentialsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCredentialsIDUnauthorized ¶ added in v0.12.0
type DeleteCredentialsIDUnauthorized struct {
}DeleteCredentialsIDUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewDeleteCredentialsIDUnauthorized ¶ added in v0.12.0
func NewDeleteCredentialsIDUnauthorized() *DeleteCredentialsIDUnauthorized
NewDeleteCredentialsIDUnauthorized creates a DeleteCredentialsIDUnauthorized with default headers values
func (*DeleteCredentialsIDUnauthorized) Error ¶ added in v0.12.0
func (o *DeleteCredentialsIDUnauthorized) Error() string
type DeleteCredentialsIDUnauthorizedBody ¶ added in v0.12.0
type DeleteCredentialsIDUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
DeleteCredentialsIDUnauthorizedBody delete credentials ID unauthorized body swagger:model DeleteCredentialsIDUnauthorizedBody
type GetCredentialsBadRequest ¶ added in v0.12.0
type GetCredentialsBadRequest struct {
Payload GetCredentialsBadRequestBody
}
GetCredentialsBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewGetCredentialsBadRequest ¶ added in v0.12.0
func NewGetCredentialsBadRequest() *GetCredentialsBadRequest
NewGetCredentialsBadRequest creates a GetCredentialsBadRequest with default headers values
func (*GetCredentialsBadRequest) Error ¶ added in v0.12.0
func (o *GetCredentialsBadRequest) Error() string
type GetCredentialsBadRequestBody ¶ added in v0.12.0
type GetCredentialsBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetCredentialsBadRequestBody get credentials bad request body swagger:model GetCredentialsBadRequestBody
type GetCredentialsInternalServerError ¶ added in v0.12.0
type GetCredentialsInternalServerError struct {
Payload GetCredentialsInternalServerErrorBody
}
GetCredentialsInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewGetCredentialsInternalServerError ¶ added in v0.12.0
func NewGetCredentialsInternalServerError() *GetCredentialsInternalServerError
NewGetCredentialsInternalServerError creates a GetCredentialsInternalServerError with default headers values
func (*GetCredentialsInternalServerError) Error ¶ added in v0.12.0
func (o *GetCredentialsInternalServerError) Error() string
type GetCredentialsInternalServerErrorBody ¶ added in v0.12.0
type GetCredentialsInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetCredentialsInternalServerErrorBody get credentials internal server error body swagger:model GetCredentialsInternalServerErrorBody
type GetCredentialsNotFound ¶ added in v0.12.0
type GetCredentialsNotFound struct {
Payload GetCredentialsNotFoundBody
}
GetCredentialsNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewGetCredentialsNotFound ¶ added in v0.12.0
func NewGetCredentialsNotFound() *GetCredentialsNotFound
NewGetCredentialsNotFound creates a GetCredentialsNotFound with default headers values
func (*GetCredentialsNotFound) Error ¶ added in v0.12.0
func (o *GetCredentialsNotFound) Error() string
type GetCredentialsNotFoundBody ¶ added in v0.12.0
type GetCredentialsNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetCredentialsNotFoundBody get credentials not found body swagger:model GetCredentialsNotFoundBody
type GetCredentialsOK ¶ added in v0.12.0
type GetCredentialsOK struct {
Payload []*models.OAuthCredentialGetResponse
}
GetCredentialsOK handles this case with default header values.
List of OAuth 2.0 credentials.
func NewGetCredentialsOK ¶ added in v0.12.0
func NewGetCredentialsOK() *GetCredentialsOK
NewGetCredentialsOK creates a GetCredentialsOK with default headers values
func (*GetCredentialsOK) Error ¶ added in v0.12.0
func (o *GetCredentialsOK) Error() string
type GetCredentialsParams ¶ added in v0.12.0
type GetCredentialsParams struct { /*ProductID ID of the Product to filter Resources by, stored as a base32 encoded 18 byte identifier. */ ProductID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCredentialsParams contains all the parameters to send to the API endpoint for the get credentials operation typically these are written to a http.Request
func NewGetCredentialsParams ¶ added in v0.12.0
func NewGetCredentialsParams() *GetCredentialsParams
NewGetCredentialsParams creates a new GetCredentialsParams object with the default values initialized.
func NewGetCredentialsParamsWithContext ¶ added in v0.12.0
func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
NewGetCredentialsParamsWithContext creates a new GetCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCredentialsParamsWithHTTPClient ¶ added in v0.12.0
func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams
NewGetCredentialsParamsWithHTTPClient creates a new GetCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCredentialsParamsWithTimeout ¶ added in v0.12.0
func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams
NewGetCredentialsParamsWithTimeout creates a new GetCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCredentialsParams) SetContext ¶ added in v0.12.0
func (o *GetCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the get credentials params
func (*GetCredentialsParams) SetHTTPClient ¶ added in v0.12.0
func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) SetProductID ¶ added in v0.12.0
func (o *GetCredentialsParams) SetProductID(productID string)
SetProductID adds the productId to the get credentials params
func (*GetCredentialsParams) SetTimeout ¶ added in v0.12.0
func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get credentials params
func (*GetCredentialsParams) WithContext ¶ added in v0.12.0
func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
WithContext adds the context to the get credentials params
func (*GetCredentialsParams) WithHTTPClient ¶ added in v0.12.0
func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
WithHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) WithProductID ¶ added in v0.12.0
func (o *GetCredentialsParams) WithProductID(productID string) *GetCredentialsParams
WithProductID adds the productID to the get credentials params
func (*GetCredentialsParams) WithTimeout ¶ added in v0.12.0
func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
WithTimeout adds the timeout to the get credentials params
func (*GetCredentialsParams) WriteToRequest ¶ added in v0.12.0
func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCredentialsReader ¶ added in v0.12.0
type GetCredentialsReader struct {
// contains filtered or unexported fields
}
GetCredentialsReader is a Reader for the GetCredentials structure.
func (*GetCredentialsReader) ReadResponse ¶ added in v0.12.0
func (o *GetCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCredentialsUnauthorized ¶ added in v0.12.0
type GetCredentialsUnauthorized struct {
}GetCredentialsUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewGetCredentialsUnauthorized ¶ added in v0.12.0
func NewGetCredentialsUnauthorized() *GetCredentialsUnauthorized
NewGetCredentialsUnauthorized creates a GetCredentialsUnauthorized with default headers values
func (*GetCredentialsUnauthorized) Error ¶ added in v0.12.0
func (o *GetCredentialsUnauthorized) Error() string
type GetCredentialsUnauthorizedBody ¶ added in v0.12.0
type GetCredentialsUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
GetCredentialsUnauthorizedBody get credentials unauthorized body swagger:model GetCredentialsUnauthorizedBody
type GetInternalCredentialsIDBadRequest ¶ added in v0.14.0
type GetInternalCredentialsIDBadRequest struct {
Payload GetInternalCredentialsIDBadRequestBody
}
GetInternalCredentialsIDBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewGetInternalCredentialsIDBadRequest ¶ added in v0.14.0
func NewGetInternalCredentialsIDBadRequest() *GetInternalCredentialsIDBadRequest
NewGetInternalCredentialsIDBadRequest creates a GetInternalCredentialsIDBadRequest with default headers values
func (*GetInternalCredentialsIDBadRequest) Error ¶ added in v0.14.0
func (o *GetInternalCredentialsIDBadRequest) Error() string
type GetInternalCredentialsIDBadRequestBody ¶ added in v0.14.0
type GetInternalCredentialsIDBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetInternalCredentialsIDBadRequestBody get internal credentials ID bad request body swagger:model GetInternalCredentialsIDBadRequestBody
type GetInternalCredentialsIDInternalServerError ¶ added in v0.14.0
type GetInternalCredentialsIDInternalServerError struct {
Payload GetInternalCredentialsIDInternalServerErrorBody
}
GetInternalCredentialsIDInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewGetInternalCredentialsIDInternalServerError ¶ added in v0.14.0
func NewGetInternalCredentialsIDInternalServerError() *GetInternalCredentialsIDInternalServerError
NewGetInternalCredentialsIDInternalServerError creates a GetInternalCredentialsIDInternalServerError with default headers values
func (*GetInternalCredentialsIDInternalServerError) Error ¶ added in v0.14.0
func (o *GetInternalCredentialsIDInternalServerError) Error() string
type GetInternalCredentialsIDInternalServerErrorBody ¶ added in v0.14.0
type GetInternalCredentialsIDInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetInternalCredentialsIDInternalServerErrorBody get internal credentials ID internal server error body swagger:model GetInternalCredentialsIDInternalServerErrorBody
type GetInternalCredentialsIDNotFound ¶ added in v0.14.0
type GetInternalCredentialsIDNotFound struct {
Payload GetInternalCredentialsIDNotFoundBody
}
GetInternalCredentialsIDNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewGetInternalCredentialsIDNotFound ¶ added in v0.14.0
func NewGetInternalCredentialsIDNotFound() *GetInternalCredentialsIDNotFound
NewGetInternalCredentialsIDNotFound creates a GetInternalCredentialsIDNotFound with default headers values
func (*GetInternalCredentialsIDNotFound) Error ¶ added in v0.14.0
func (o *GetInternalCredentialsIDNotFound) Error() string
type GetInternalCredentialsIDNotFoundBody ¶ added in v0.14.0
type GetInternalCredentialsIDNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetInternalCredentialsIDNotFoundBody get internal credentials ID not found body swagger:model GetInternalCredentialsIDNotFoundBody
type GetInternalCredentialsIDOK ¶ added in v0.14.0
type GetInternalCredentialsIDOK struct {
Payload *models.OAuthCredentialGetResponse
}
GetInternalCredentialsIDOK handles this case with default header values.
The OAuth 2.0 credential pair.
func NewGetInternalCredentialsIDOK ¶ added in v0.14.0
func NewGetInternalCredentialsIDOK() *GetInternalCredentialsIDOK
NewGetInternalCredentialsIDOK creates a GetInternalCredentialsIDOK with default headers values
func (*GetInternalCredentialsIDOK) Error ¶ added in v0.14.0
func (o *GetInternalCredentialsIDOK) Error() string
type GetInternalCredentialsIDParams ¶ added in v0.14.0
type GetInternalCredentialsIDParams struct { /*ID The ID of the credential pair to retrieve. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInternalCredentialsIDParams contains all the parameters to send to the API endpoint for the get internal credentials ID operation typically these are written to a http.Request
func NewGetInternalCredentialsIDParams ¶ added in v0.14.0
func NewGetInternalCredentialsIDParams() *GetInternalCredentialsIDParams
NewGetInternalCredentialsIDParams creates a new GetInternalCredentialsIDParams object with the default values initialized.
func NewGetInternalCredentialsIDParamsWithContext ¶ added in v0.14.0
func NewGetInternalCredentialsIDParamsWithContext(ctx context.Context) *GetInternalCredentialsIDParams
NewGetInternalCredentialsIDParamsWithContext creates a new GetInternalCredentialsIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetInternalCredentialsIDParamsWithHTTPClient ¶ added in v0.14.0
func NewGetInternalCredentialsIDParamsWithHTTPClient(client *http.Client) *GetInternalCredentialsIDParams
NewGetInternalCredentialsIDParamsWithHTTPClient creates a new GetInternalCredentialsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetInternalCredentialsIDParamsWithTimeout ¶ added in v0.14.0
func NewGetInternalCredentialsIDParamsWithTimeout(timeout time.Duration) *GetInternalCredentialsIDParams
NewGetInternalCredentialsIDParamsWithTimeout creates a new GetInternalCredentialsIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetInternalCredentialsIDParams) SetContext ¶ added in v0.14.0
func (o *GetInternalCredentialsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get internal credentials ID params
func (*GetInternalCredentialsIDParams) SetHTTPClient ¶ added in v0.14.0
func (o *GetInternalCredentialsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get internal credentials ID params
func (*GetInternalCredentialsIDParams) SetID ¶ added in v0.14.0
func (o *GetInternalCredentialsIDParams) SetID(id string)
SetID adds the id to the get internal credentials ID params
func (*GetInternalCredentialsIDParams) SetTimeout ¶ added in v0.14.0
func (o *GetInternalCredentialsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get internal credentials ID params
func (*GetInternalCredentialsIDParams) WithContext ¶ added in v0.14.0
func (o *GetInternalCredentialsIDParams) WithContext(ctx context.Context) *GetInternalCredentialsIDParams
WithContext adds the context to the get internal credentials ID params
func (*GetInternalCredentialsIDParams) WithHTTPClient ¶ added in v0.14.0
func (o *GetInternalCredentialsIDParams) WithHTTPClient(client *http.Client) *GetInternalCredentialsIDParams
WithHTTPClient adds the HTTPClient to the get internal credentials ID params
func (*GetInternalCredentialsIDParams) WithID ¶ added in v0.14.0
func (o *GetInternalCredentialsIDParams) WithID(id string) *GetInternalCredentialsIDParams
WithID adds the id to the get internal credentials ID params
func (*GetInternalCredentialsIDParams) WithTimeout ¶ added in v0.14.0
func (o *GetInternalCredentialsIDParams) WithTimeout(timeout time.Duration) *GetInternalCredentialsIDParams
WithTimeout adds the timeout to the get internal credentials ID params
func (*GetInternalCredentialsIDParams) WriteToRequest ¶ added in v0.14.0
func (o *GetInternalCredentialsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInternalCredentialsIDReader ¶ added in v0.14.0
type GetInternalCredentialsIDReader struct {
// contains filtered or unexported fields
}
GetInternalCredentialsIDReader is a Reader for the GetInternalCredentialsID structure.
func (*GetInternalCredentialsIDReader) ReadResponse ¶ added in v0.14.0
func (o *GetInternalCredentialsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInternalCredentialsIDUnauthorized ¶ added in v0.14.0
type GetInternalCredentialsIDUnauthorized struct {
}GetInternalCredentialsIDUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewGetInternalCredentialsIDUnauthorized ¶ added in v0.14.0
func NewGetInternalCredentialsIDUnauthorized() *GetInternalCredentialsIDUnauthorized
NewGetInternalCredentialsIDUnauthorized creates a GetInternalCredentialsIDUnauthorized with default headers values
func (*GetInternalCredentialsIDUnauthorized) Error ¶ added in v0.14.0
func (o *GetInternalCredentialsIDUnauthorized) Error() string
type GetInternalCredentialsIDUnauthorizedBody ¶ added in v0.14.0
type GetInternalCredentialsIDUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
GetInternalCredentialsIDUnauthorizedBody get internal credentials ID unauthorized body swagger:model GetInternalCredentialsIDUnauthorizedBody
type GetSelfBadRequest ¶
type GetSelfBadRequest struct {
Payload GetSelfBadRequestBody
}
GetSelfBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewGetSelfBadRequest ¶
func NewGetSelfBadRequest() *GetSelfBadRequest
NewGetSelfBadRequest creates a GetSelfBadRequest with default headers values
func (*GetSelfBadRequest) Error ¶
func (o *GetSelfBadRequest) Error() string
type GetSelfBadRequestBody ¶
type GetSelfBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetSelfBadRequestBody get self bad request body swagger:model GetSelfBadRequestBody
type GetSelfInternalServerError ¶
type GetSelfInternalServerError struct {
Payload GetSelfInternalServerErrorBody
}
GetSelfInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewGetSelfInternalServerError ¶
func NewGetSelfInternalServerError() *GetSelfInternalServerError
NewGetSelfInternalServerError creates a GetSelfInternalServerError with default headers values
func (*GetSelfInternalServerError) Error ¶
func (o *GetSelfInternalServerError) Error() string
type GetSelfInternalServerErrorBody ¶
type GetSelfInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetSelfInternalServerErrorBody get self internal server error body swagger:model GetSelfInternalServerErrorBody
type GetSelfOK ¶
GetSelfOK handles this case with default header values.
The identity of the user or product represented by the access token.
func NewGetSelfOK ¶
func NewGetSelfOK() *GetSelfOK
NewGetSelfOK creates a GetSelfOK with default headers values
type GetSelfParams ¶
type GetSelfParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSelfParams contains all the parameters to send to the API endpoint for the get self operation typically these are written to a http.Request
func NewGetSelfParams ¶
func NewGetSelfParams() *GetSelfParams
NewGetSelfParams creates a new GetSelfParams object with the default values initialized.
func NewGetSelfParamsWithContext ¶
func NewGetSelfParamsWithContext(ctx context.Context) *GetSelfParams
NewGetSelfParamsWithContext creates a new GetSelfParams object with the default values initialized, and the ability to set a context for a request
func NewGetSelfParamsWithHTTPClient ¶
func NewGetSelfParamsWithHTTPClient(client *http.Client) *GetSelfParams
NewGetSelfParamsWithHTTPClient creates a new GetSelfParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSelfParamsWithTimeout ¶
func NewGetSelfParamsWithTimeout(timeout time.Duration) *GetSelfParams
NewGetSelfParamsWithTimeout creates a new GetSelfParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSelfParams) SetContext ¶
func (o *GetSelfParams) SetContext(ctx context.Context)
SetContext adds the context to the get self params
func (*GetSelfParams) SetHTTPClient ¶
func (o *GetSelfParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get self params
func (*GetSelfParams) SetTimeout ¶
func (o *GetSelfParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get self params
func (*GetSelfParams) WithContext ¶
func (o *GetSelfParams) WithContext(ctx context.Context) *GetSelfParams
WithContext adds the context to the get self params
func (*GetSelfParams) WithHTTPClient ¶
func (o *GetSelfParams) WithHTTPClient(client *http.Client) *GetSelfParams
WithHTTPClient adds the HTTPClient to the get self params
func (*GetSelfParams) WithTimeout ¶
func (o *GetSelfParams) WithTimeout(timeout time.Duration) *GetSelfParams
WithTimeout adds the timeout to the get self params
func (*GetSelfParams) WriteToRequest ¶
func (o *GetSelfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSelfReader ¶
type GetSelfReader struct {
// contains filtered or unexported fields
}
GetSelfReader is a Reader for the GetSelf structure.
func (*GetSelfReader) ReadResponse ¶
func (o *GetSelfReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSelfUnauthorized ¶
type GetSelfUnauthorized struct {
}GetSelfUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewGetSelfUnauthorized ¶
func NewGetSelfUnauthorized() *GetSelfUnauthorized
NewGetSelfUnauthorized creates a GetSelfUnauthorized with default headers values
func (*GetSelfUnauthorized) Error ¶
func (o *GetSelfUnauthorized) Error() string
type GetSelfUnauthorizedBody ¶
type GetSelfUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
GetSelfUnauthorizedBody get self unauthorized body swagger:model GetSelfUnauthorizedBody
type PostCredentialsBadRequest ¶
type PostCredentialsBadRequest struct {
Payload PostCredentialsBadRequestBody
}
PostCredentialsBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewPostCredentialsBadRequest ¶
func NewPostCredentialsBadRequest() *PostCredentialsBadRequest
NewPostCredentialsBadRequest creates a PostCredentialsBadRequest with default headers values
func (*PostCredentialsBadRequest) Error ¶
func (o *PostCredentialsBadRequest) Error() string
type PostCredentialsBadRequestBody ¶
type PostCredentialsBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PostCredentialsBadRequestBody post credentials bad request body swagger:model PostCredentialsBadRequestBody
type PostCredentialsInternalServerError ¶
type PostCredentialsInternalServerError struct {
Payload PostCredentialsInternalServerErrorBody
}
PostCredentialsInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewPostCredentialsInternalServerError ¶
func NewPostCredentialsInternalServerError() *PostCredentialsInternalServerError
NewPostCredentialsInternalServerError creates a PostCredentialsInternalServerError with default headers values
func (*PostCredentialsInternalServerError) Error ¶
func (o *PostCredentialsInternalServerError) Error() string
type PostCredentialsInternalServerErrorBody ¶
type PostCredentialsInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PostCredentialsInternalServerErrorBody post credentials internal server error body swagger:model PostCredentialsInternalServerErrorBody
type PostCredentialsNotFound ¶
type PostCredentialsNotFound struct {
Payload PostCredentialsNotFoundBody
}
PostCredentialsNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewPostCredentialsNotFound ¶
func NewPostCredentialsNotFound() *PostCredentialsNotFound
NewPostCredentialsNotFound creates a PostCredentialsNotFound with default headers values
func (*PostCredentialsNotFound) Error ¶
func (o *PostCredentialsNotFound) Error() string
type PostCredentialsNotFoundBody ¶
type PostCredentialsNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PostCredentialsNotFoundBody post credentials not found body swagger:model PostCredentialsNotFoundBody
type PostCredentialsOK ¶
type PostCredentialsOK struct {
Payload *models.OAuthCredentialCreateResponse
}
PostCredentialsOK handles this case with default header values.
The created OAuth 2.0 credential pair.
func NewPostCredentialsOK ¶
func NewPostCredentialsOK() *PostCredentialsOK
NewPostCredentialsOK creates a PostCredentialsOK with default headers values
func (*PostCredentialsOK) Error ¶
func (o *PostCredentialsOK) Error() string
type PostCredentialsParams ¶
type PostCredentialsParams struct { /*Body A product id and description for the credential pair. */ Body *models.OAuthCredentialCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostCredentialsParams contains all the parameters to send to the API endpoint for the post credentials operation typically these are written to a http.Request
func NewPostCredentialsParams ¶
func NewPostCredentialsParams() *PostCredentialsParams
NewPostCredentialsParams creates a new PostCredentialsParams object with the default values initialized.
func NewPostCredentialsParamsWithContext ¶
func NewPostCredentialsParamsWithContext(ctx context.Context) *PostCredentialsParams
NewPostCredentialsParamsWithContext creates a new PostCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewPostCredentialsParamsWithHTTPClient ¶
func NewPostCredentialsParamsWithHTTPClient(client *http.Client) *PostCredentialsParams
NewPostCredentialsParamsWithHTTPClient creates a new PostCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostCredentialsParamsWithTimeout ¶
func NewPostCredentialsParamsWithTimeout(timeout time.Duration) *PostCredentialsParams
NewPostCredentialsParamsWithTimeout creates a new PostCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostCredentialsParams) SetBody ¶
func (o *PostCredentialsParams) SetBody(body *models.OAuthCredentialCreateRequest)
SetBody adds the body to the post credentials params
func (*PostCredentialsParams) SetContext ¶
func (o *PostCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the post credentials params
func (*PostCredentialsParams) SetHTTPClient ¶
func (o *PostCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post credentials params
func (*PostCredentialsParams) SetTimeout ¶
func (o *PostCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post credentials params
func (*PostCredentialsParams) WithBody ¶
func (o *PostCredentialsParams) WithBody(body *models.OAuthCredentialCreateRequest) *PostCredentialsParams
WithBody adds the body to the post credentials params
func (*PostCredentialsParams) WithContext ¶
func (o *PostCredentialsParams) WithContext(ctx context.Context) *PostCredentialsParams
WithContext adds the context to the post credentials params
func (*PostCredentialsParams) WithHTTPClient ¶
func (o *PostCredentialsParams) WithHTTPClient(client *http.Client) *PostCredentialsParams
WithHTTPClient adds the HTTPClient to the post credentials params
func (*PostCredentialsParams) WithTimeout ¶
func (o *PostCredentialsParams) WithTimeout(timeout time.Duration) *PostCredentialsParams
WithTimeout adds the timeout to the post credentials params
func (*PostCredentialsParams) WriteToRequest ¶
func (o *PostCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostCredentialsReader ¶
type PostCredentialsReader struct {
// contains filtered or unexported fields
}
PostCredentialsReader is a Reader for the PostCredentials structure.
func (*PostCredentialsReader) ReadResponse ¶
func (o *PostCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostCredentialsUnauthorized ¶
type PostCredentialsUnauthorized struct {
}PostCredentialsUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewPostCredentialsUnauthorized ¶
func NewPostCredentialsUnauthorized() *PostCredentialsUnauthorized
NewPostCredentialsUnauthorized creates a PostCredentialsUnauthorized with default headers values
func (*PostCredentialsUnauthorized) Error ¶
func (o *PostCredentialsUnauthorized) Error() string
type PostCredentialsUnauthorizedBody ¶
type PostCredentialsUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
PostCredentialsUnauthorizedBody post credentials unauthorized body swagger:model PostCredentialsUnauthorizedBody
type PostInternalCredentialsBadRequest ¶ added in v0.14.0
type PostInternalCredentialsBadRequest struct {
Payload PostInternalCredentialsBadRequestBody
}
PostInternalCredentialsBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewPostInternalCredentialsBadRequest ¶ added in v0.14.0
func NewPostInternalCredentialsBadRequest() *PostInternalCredentialsBadRequest
NewPostInternalCredentialsBadRequest creates a PostInternalCredentialsBadRequest with default headers values
func (*PostInternalCredentialsBadRequest) Error ¶ added in v0.14.0
func (o *PostInternalCredentialsBadRequest) Error() string
type PostInternalCredentialsBadRequestBody ¶ added in v0.14.0
type PostInternalCredentialsBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PostInternalCredentialsBadRequestBody post internal credentials bad request body swagger:model PostInternalCredentialsBadRequestBody
type PostInternalCredentialsInternalServerError ¶ added in v0.14.0
type PostInternalCredentialsInternalServerError struct {
Payload PostInternalCredentialsInternalServerErrorBody
}
PostInternalCredentialsInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewPostInternalCredentialsInternalServerError ¶ added in v0.14.0
func NewPostInternalCredentialsInternalServerError() *PostInternalCredentialsInternalServerError
NewPostInternalCredentialsInternalServerError creates a PostInternalCredentialsInternalServerError with default headers values
func (*PostInternalCredentialsInternalServerError) Error ¶ added in v0.14.0
func (o *PostInternalCredentialsInternalServerError) Error() string
type PostInternalCredentialsInternalServerErrorBody ¶ added in v0.14.0
type PostInternalCredentialsInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PostInternalCredentialsInternalServerErrorBody post internal credentials internal server error body swagger:model PostInternalCredentialsInternalServerErrorBody
type PostInternalCredentialsNotFound ¶ added in v0.14.0
type PostInternalCredentialsNotFound struct {
Payload PostInternalCredentialsNotFoundBody
}
PostInternalCredentialsNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewPostInternalCredentialsNotFound ¶ added in v0.14.0
func NewPostInternalCredentialsNotFound() *PostInternalCredentialsNotFound
NewPostInternalCredentialsNotFound creates a PostInternalCredentialsNotFound with default headers values
func (*PostInternalCredentialsNotFound) Error ¶ added in v0.14.0
func (o *PostInternalCredentialsNotFound) Error() string
type PostInternalCredentialsNotFoundBody ¶ added in v0.14.0
type PostInternalCredentialsNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PostInternalCredentialsNotFoundBody post internal credentials not found body swagger:model PostInternalCredentialsNotFoundBody
type PostInternalCredentialsOK ¶ added in v0.14.0
type PostInternalCredentialsOK struct {
Payload *models.OAuthCredentialCreateResponse
}
PostInternalCredentialsOK handles this case with default header values.
The created OAuth 2.0 credential pair.
func NewPostInternalCredentialsOK ¶ added in v0.14.0
func NewPostInternalCredentialsOK() *PostInternalCredentialsOK
NewPostInternalCredentialsOK creates a PostInternalCredentialsOK with default headers values
func (*PostInternalCredentialsOK) Error ¶ added in v0.14.0
func (o *PostInternalCredentialsOK) Error() string
type PostInternalCredentialsParams ¶ added in v0.14.0
type PostInternalCredentialsParams struct { /*Body A product id and description for the credential pair. */ Body *models.OAuthCredentialCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostInternalCredentialsParams contains all the parameters to send to the API endpoint for the post internal credentials operation typically these are written to a http.Request
func NewPostInternalCredentialsParams ¶ added in v0.14.0
func NewPostInternalCredentialsParams() *PostInternalCredentialsParams
NewPostInternalCredentialsParams creates a new PostInternalCredentialsParams object with the default values initialized.
func NewPostInternalCredentialsParamsWithContext ¶ added in v0.14.0
func NewPostInternalCredentialsParamsWithContext(ctx context.Context) *PostInternalCredentialsParams
NewPostInternalCredentialsParamsWithContext creates a new PostInternalCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewPostInternalCredentialsParamsWithHTTPClient ¶ added in v0.14.0
func NewPostInternalCredentialsParamsWithHTTPClient(client *http.Client) *PostInternalCredentialsParams
NewPostInternalCredentialsParamsWithHTTPClient creates a new PostInternalCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostInternalCredentialsParamsWithTimeout ¶ added in v0.14.0
func NewPostInternalCredentialsParamsWithTimeout(timeout time.Duration) *PostInternalCredentialsParams
NewPostInternalCredentialsParamsWithTimeout creates a new PostInternalCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostInternalCredentialsParams) SetBody ¶ added in v0.14.0
func (o *PostInternalCredentialsParams) SetBody(body *models.OAuthCredentialCreateRequest)
SetBody adds the body to the post internal credentials params
func (*PostInternalCredentialsParams) SetContext ¶ added in v0.14.0
func (o *PostInternalCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the post internal credentials params
func (*PostInternalCredentialsParams) SetHTTPClient ¶ added in v0.14.0
func (o *PostInternalCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post internal credentials params
func (*PostInternalCredentialsParams) SetTimeout ¶ added in v0.14.0
func (o *PostInternalCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post internal credentials params
func (*PostInternalCredentialsParams) WithBody ¶ added in v0.14.0
func (o *PostInternalCredentialsParams) WithBody(body *models.OAuthCredentialCreateRequest) *PostInternalCredentialsParams
WithBody adds the body to the post internal credentials params
func (*PostInternalCredentialsParams) WithContext ¶ added in v0.14.0
func (o *PostInternalCredentialsParams) WithContext(ctx context.Context) *PostInternalCredentialsParams
WithContext adds the context to the post internal credentials params
func (*PostInternalCredentialsParams) WithHTTPClient ¶ added in v0.14.0
func (o *PostInternalCredentialsParams) WithHTTPClient(client *http.Client) *PostInternalCredentialsParams
WithHTTPClient adds the HTTPClient to the post internal credentials params
func (*PostInternalCredentialsParams) WithTimeout ¶ added in v0.14.0
func (o *PostInternalCredentialsParams) WithTimeout(timeout time.Duration) *PostInternalCredentialsParams
WithTimeout adds the timeout to the post internal credentials params
func (*PostInternalCredentialsParams) WriteToRequest ¶ added in v0.14.0
func (o *PostInternalCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostInternalCredentialsReader ¶ added in v0.14.0
type PostInternalCredentialsReader struct {
// contains filtered or unexported fields
}
PostInternalCredentialsReader is a Reader for the PostInternalCredentials structure.
func (*PostInternalCredentialsReader) ReadResponse ¶ added in v0.14.0
func (o *PostInternalCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostInternalCredentialsUnauthorized ¶ added in v0.14.0
type PostInternalCredentialsUnauthorized struct {
}PostInternalCredentialsUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewPostInternalCredentialsUnauthorized ¶ added in v0.14.0
func NewPostInternalCredentialsUnauthorized() *PostInternalCredentialsUnauthorized
NewPostInternalCredentialsUnauthorized creates a PostInternalCredentialsUnauthorized with default headers values
func (*PostInternalCredentialsUnauthorized) Error ¶ added in v0.14.0
func (o *PostInternalCredentialsUnauthorized) Error() string
type PostInternalCredentialsUnauthorizedBody ¶ added in v0.14.0
type PostInternalCredentialsUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
PostInternalCredentialsUnauthorizedBody post internal credentials unauthorized body swagger:model PostInternalCredentialsUnauthorizedBody
type PostOauthTokensBadRequest ¶
type PostOauthTokensBadRequest struct {
Payload PostOauthTokensBadRequestBody
}
PostOauthTokensBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewPostOauthTokensBadRequest ¶
func NewPostOauthTokensBadRequest() *PostOauthTokensBadRequest
NewPostOauthTokensBadRequest creates a PostOauthTokensBadRequest with default headers values
func (*PostOauthTokensBadRequest) Error ¶
func (o *PostOauthTokensBadRequest) Error() string
type PostOauthTokensBadRequestBody ¶
type PostOauthTokensBadRequestBody struct { // The error type // Required: true Error *string `json:"error"` // Explanation of the error // Required: true ErrorDescription *string `json:"error_description"` }
PostOauthTokensBadRequestBody post oauth tokens bad request body swagger:model PostOauthTokensBadRequestBody
type PostOauthTokensCreated ¶
type PostOauthTokensCreated struct {
Payload *models.AccessToken
}
PostOauthTokensCreated handles this case with default header values.
An access token has been created
func NewPostOauthTokensCreated ¶
func NewPostOauthTokensCreated() *PostOauthTokensCreated
NewPostOauthTokensCreated creates a PostOauthTokensCreated with default headers values
func (*PostOauthTokensCreated) Error ¶
func (o *PostOauthTokensCreated) Error() string
type PostOauthTokensInternalServerError ¶
type PostOauthTokensInternalServerError struct {
Payload PostOauthTokensInternalServerErrorBody
}
PostOauthTokensInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewPostOauthTokensInternalServerError ¶
func NewPostOauthTokensInternalServerError() *PostOauthTokensInternalServerError
NewPostOauthTokensInternalServerError creates a PostOauthTokensInternalServerError with default headers values
func (*PostOauthTokensInternalServerError) Error ¶
func (o *PostOauthTokensInternalServerError) Error() string
type PostOauthTokensInternalServerErrorBody ¶
type PostOauthTokensInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PostOauthTokensInternalServerErrorBody post oauth tokens internal server error body swagger:model PostOauthTokensInternalServerErrorBody
type PostOauthTokensParams ¶
type PostOauthTokensParams struct { /*Authorization Authorization header for basic access authentication containing the OAuth2 `client_id` as user name, and OAuth2 `client_secret` as password. The `client_id` and `client_secret` may be passed either in the body of the request, or in this header. Using this header is the **preferred** way to transmit `client_id` and `client_secret`. */ Authorization *string /*Body OAuth Access Token Request Body */ Body models.AccessTokenRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostOauthTokensParams contains all the parameters to send to the API endpoint for the post oauth tokens operation typically these are written to a http.Request
func NewPostOauthTokensParams ¶
func NewPostOauthTokensParams() *PostOauthTokensParams
NewPostOauthTokensParams creates a new PostOauthTokensParams object with the default values initialized.
func NewPostOauthTokensParamsWithContext ¶
func NewPostOauthTokensParamsWithContext(ctx context.Context) *PostOauthTokensParams
NewPostOauthTokensParamsWithContext creates a new PostOauthTokensParams object with the default values initialized, and the ability to set a context for a request
func NewPostOauthTokensParamsWithHTTPClient ¶
func NewPostOauthTokensParamsWithHTTPClient(client *http.Client) *PostOauthTokensParams
NewPostOauthTokensParamsWithHTTPClient creates a new PostOauthTokensParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostOauthTokensParamsWithTimeout ¶
func NewPostOauthTokensParamsWithTimeout(timeout time.Duration) *PostOauthTokensParams
NewPostOauthTokensParamsWithTimeout creates a new PostOauthTokensParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostOauthTokensParams) SetAuthorization ¶
func (o *PostOauthTokensParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the post oauth tokens params
func (*PostOauthTokensParams) SetBody ¶
func (o *PostOauthTokensParams) SetBody(body models.AccessTokenRequest)
SetBody adds the body to the post oauth tokens params
func (*PostOauthTokensParams) SetContext ¶
func (o *PostOauthTokensParams) SetContext(ctx context.Context)
SetContext adds the context to the post oauth tokens params
func (*PostOauthTokensParams) SetHTTPClient ¶
func (o *PostOauthTokensParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post oauth tokens params
func (*PostOauthTokensParams) SetTimeout ¶
func (o *PostOauthTokensParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post oauth tokens params
func (*PostOauthTokensParams) WithAuthorization ¶
func (o *PostOauthTokensParams) WithAuthorization(authorization *string) *PostOauthTokensParams
WithAuthorization adds the authorization to the post oauth tokens params
func (*PostOauthTokensParams) WithBody ¶
func (o *PostOauthTokensParams) WithBody(body models.AccessTokenRequest) *PostOauthTokensParams
WithBody adds the body to the post oauth tokens params
func (*PostOauthTokensParams) WithContext ¶
func (o *PostOauthTokensParams) WithContext(ctx context.Context) *PostOauthTokensParams
WithContext adds the context to the post oauth tokens params
func (*PostOauthTokensParams) WithHTTPClient ¶
func (o *PostOauthTokensParams) WithHTTPClient(client *http.Client) *PostOauthTokensParams
WithHTTPClient adds the HTTPClient to the post oauth tokens params
func (*PostOauthTokensParams) WithTimeout ¶
func (o *PostOauthTokensParams) WithTimeout(timeout time.Duration) *PostOauthTokensParams
WithTimeout adds the timeout to the post oauth tokens params
func (*PostOauthTokensParams) WriteToRequest ¶
func (o *PostOauthTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostOauthTokensReader ¶
type PostOauthTokensReader struct {
// contains filtered or unexported fields
}
PostOauthTokensReader is a Reader for the PostOauthTokens structure.
func (*PostOauthTokensReader) ReadResponse ¶
func (o *PostOauthTokensReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostOauthTokensUnauthorized ¶
type PostOauthTokensUnauthorized struct {
}PostOauthTokensUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewPostOauthTokensUnauthorized ¶
func NewPostOauthTokensUnauthorized() *PostOauthTokensUnauthorized
NewPostOauthTokensUnauthorized creates a PostOauthTokensUnauthorized with default headers values
func (*PostOauthTokensUnauthorized) Error ¶
func (o *PostOauthTokensUnauthorized) Error() string
type PostOauthTokensUnauthorizedBody ¶
type PostOauthTokensUnauthorizedBody struct { // Required: true Error *string `json:"error"` // Required: true ErrorDescription *string `json:"error_description"` }
PostOauthTokensUnauthorizedBody post oauth tokens unauthorized body swagger:model PostOauthTokensUnauthorizedBody
type PostSsoBadRequest ¶
type PostSsoBadRequest struct {
Payload PostSsoBadRequestBody
}
PostSsoBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewPostSsoBadRequest ¶
func NewPostSsoBadRequest() *PostSsoBadRequest
NewPostSsoBadRequest creates a PostSsoBadRequest with default headers values
func (*PostSsoBadRequest) Error ¶
func (o *PostSsoBadRequest) Error() string
type PostSsoBadRequestBody ¶
type PostSsoBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PostSsoBadRequestBody post sso bad request body swagger:model PostSsoBadRequestBody
type PostSsoCreated ¶
type PostSsoCreated struct {
Payload *primitives.OAuthAuthorizationCode
}
PostSsoCreated handles this case with default header values.
An authorization code has been created.
func NewPostSsoCreated ¶
func NewPostSsoCreated() *PostSsoCreated
NewPostSsoCreated creates a PostSsoCreated with default headers values
func (*PostSsoCreated) Error ¶
func (o *PostSsoCreated) Error() string
type PostSsoInternalServerError ¶
type PostSsoInternalServerError struct {
Payload PostSsoInternalServerErrorBody
}
PostSsoInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewPostSsoInternalServerError ¶
func NewPostSsoInternalServerError() *PostSsoInternalServerError
NewPostSsoInternalServerError creates a PostSsoInternalServerError with default headers values
func (*PostSsoInternalServerError) Error ¶
func (o *PostSsoInternalServerError) Error() string
type PostSsoInternalServerErrorBody ¶
type PostSsoInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PostSsoInternalServerErrorBody post sso internal server error body swagger:model PostSsoInternalServerErrorBody
type PostSsoParams ¶
type PostSsoParams struct { /*Body Authorization Code Request Body */ Body *models.AuthCodeRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostSsoParams contains all the parameters to send to the API endpoint for the post sso operation typically these are written to a http.Request
func NewPostSsoParams ¶
func NewPostSsoParams() *PostSsoParams
NewPostSsoParams creates a new PostSsoParams object with the default values initialized.
func NewPostSsoParamsWithContext ¶
func NewPostSsoParamsWithContext(ctx context.Context) *PostSsoParams
NewPostSsoParamsWithContext creates a new PostSsoParams object with the default values initialized, and the ability to set a context for a request
func NewPostSsoParamsWithHTTPClient ¶
func NewPostSsoParamsWithHTTPClient(client *http.Client) *PostSsoParams
NewPostSsoParamsWithHTTPClient creates a new PostSsoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostSsoParamsWithTimeout ¶
func NewPostSsoParamsWithTimeout(timeout time.Duration) *PostSsoParams
NewPostSsoParamsWithTimeout creates a new PostSsoParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostSsoParams) SetBody ¶
func (o *PostSsoParams) SetBody(body *models.AuthCodeRequest)
SetBody adds the body to the post sso params
func (*PostSsoParams) SetContext ¶
func (o *PostSsoParams) SetContext(ctx context.Context)
SetContext adds the context to the post sso params
func (*PostSsoParams) SetHTTPClient ¶
func (o *PostSsoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post sso params
func (*PostSsoParams) SetTimeout ¶
func (o *PostSsoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post sso params
func (*PostSsoParams) WithBody ¶
func (o *PostSsoParams) WithBody(body *models.AuthCodeRequest) *PostSsoParams
WithBody adds the body to the post sso params
func (*PostSsoParams) WithContext ¶
func (o *PostSsoParams) WithContext(ctx context.Context) *PostSsoParams
WithContext adds the context to the post sso params
func (*PostSsoParams) WithHTTPClient ¶
func (o *PostSsoParams) WithHTTPClient(client *http.Client) *PostSsoParams
WithHTTPClient adds the HTTPClient to the post sso params
func (*PostSsoParams) WithTimeout ¶
func (o *PostSsoParams) WithTimeout(timeout time.Duration) *PostSsoParams
WithTimeout adds the timeout to the post sso params
func (*PostSsoParams) WriteToRequest ¶
func (o *PostSsoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostSsoReader ¶
type PostSsoReader struct {
// contains filtered or unexported fields
}
PostSsoReader is a Reader for the PostSso structure.
func (*PostSsoReader) ReadResponse ¶
func (o *PostSsoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostSsoUnauthorized ¶
type PostSsoUnauthorized struct {
}PostSsoUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewPostSsoUnauthorized ¶
func NewPostSsoUnauthorized() *PostSsoUnauthorized
NewPostSsoUnauthorized creates a PostSsoUnauthorized with default headers values
func (*PostSsoUnauthorized) Error ¶
func (o *PostSsoUnauthorized) Error() string
type PostSsoUnauthorizedBody ¶
type PostSsoUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
PostSsoUnauthorizedBody post sso unauthorized body swagger:model PostSsoUnauthorizedBody
Source Files ¶
- delete_credentials_id_parameters.go
- delete_credentials_id_responses.go
- get_credentials_parameters.go
- get_credentials_responses.go
- get_internal_credentials_id_parameters.go
- get_internal_credentials_id_responses.go
- get_self_parameters.go
- get_self_responses.go
- o_auth_client.go
- post_credentials_parameters.go
- post_credentials_responses.go
- post_internal_credentials_parameters.go
- post_internal_credentials_responses.go
- post_oauth_tokens_parameters.go
- post_oauth_tokens_responses.go
- post_sso_parameters.go
- post_sso_responses.go