authentication

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for authentication API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new authentication API client.

func (*Client) ServiceBrokerAuthCallback

func (a *Client) ServiceBrokerAuthCallback(params *ServiceBrokerAuthCallbackParams) (*ServiceBrokerAuthCallbackOK, error)

ServiceBrokerAuthCallback returns an access token and set cookie

func (*Client) ServiceBrokerAuthDeviceCodePost

func (a *Client) ServiceBrokerAuthDeviceCodePost(params *ServiceBrokerAuthDeviceCodePostParams) (*ServiceBrokerAuthDeviceCodePostOK, error)

ServiceBrokerAuthDeviceCodePost requests a authorization device code

func (*Client) ServiceBrokerAuthDeviceTokenPost

func (a *Client) ServiceBrokerAuthDeviceTokenPost(params *ServiceBrokerAuthDeviceTokenPostParams) (*ServiceBrokerAuthDeviceTokenPostOK, error)

ServiceBrokerAuthDeviceTokenPost polls for authorization device token

func (*Client) ServiceBrokerAuthInfoToken

func (a *Client) ServiceBrokerAuthInfoToken(params *ServiceBrokerAuthInfoTokenParams, authInfo runtime.ClientAuthInfoWriter) (*ServiceBrokerAuthInfoTokenOK, error)

ServiceBrokerAuthInfoToken information about current access token

func (*Client) ServiceBrokerAuthInfoUser

func (a *Client) ServiceBrokerAuthInfoUser(params *ServiceBrokerAuthInfoUserParams, authInfo runtime.ClientAuthInfoWriter) (*ServiceBrokerAuthInfoUserOK, error)

ServiceBrokerAuthInfoUser information about current user

func (*Client) ServiceBrokerAuthLogin

func (a *Client) ServiceBrokerAuthLogin(params *ServiceBrokerAuthLoginParams) (*ServiceBrokerAuthLoginOK, error)

ServiceBrokerAuthLogin logins

func (*Client) ServiceBrokerAuthLogout

func (a *Client) ServiceBrokerAuthLogout(params *ServiceBrokerAuthLogoutParams, authInfo runtime.ClientAuthInfoWriter) (*ServiceBrokerAuthLogoutOK, error)

ServiceBrokerAuthLogout logouts

func (*Client) ServiceBrokerAuthRegistration

func (a *Client) ServiceBrokerAuthRegistration(params *ServiceBrokerAuthRegistrationParams) (*ServiceBrokerAuthRegistrationOK, error)

ServiceBrokerAuthRegistration registrations of a new tenant and login

func (*Client) ServiceBrokerAuthRegistrationCallback

func (a *Client) ServiceBrokerAuthRegistrationCallback(params *ServiceBrokerAuthRegistrationCallbackParams) (*ServiceBrokerAuthRegistrationCallbackOK, error)

ServiceBrokerAuthRegistrationCallback associates the user with a tenant and returns an access token

func (*Client) ServiceBrokerAuthTokenPost

func (a *Client) ServiceBrokerAuthTokenPost(params *ServiceBrokerAuthTokenPostParams) (*ServiceBrokerAuthTokenPostOK, error)

ServiceBrokerAuthTokenPost requests a new token from a refresh token

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ServiceBrokerAuthCallbackInternalServerError

type ServiceBrokerAuthCallbackInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthCallbackInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthCallbackInternalServerError

func NewServiceBrokerAuthCallbackInternalServerError() *ServiceBrokerAuthCallbackInternalServerError

NewServiceBrokerAuthCallbackInternalServerError creates a ServiceBrokerAuthCallbackInternalServerError with default headers values

func (*ServiceBrokerAuthCallbackInternalServerError) Error

type ServiceBrokerAuthCallbackOK

type ServiceBrokerAuthCallbackOK struct {
	Payload *models.AccessToken
}

ServiceBrokerAuthCallbackOK handles this case with default header values.

OK

func NewServiceBrokerAuthCallbackOK

func NewServiceBrokerAuthCallbackOK() *ServiceBrokerAuthCallbackOK

NewServiceBrokerAuthCallbackOK creates a ServiceBrokerAuthCallbackOK with default headers values

func (*ServiceBrokerAuthCallbackOK) Error

type ServiceBrokerAuthCallbackParams

type ServiceBrokerAuthCallbackParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthCallbackParams contains all the parameters to send to the API endpoint for the service broker auth callback operation typically these are written to a http.Request

func NewServiceBrokerAuthCallbackParams

func NewServiceBrokerAuthCallbackParams() *ServiceBrokerAuthCallbackParams

NewServiceBrokerAuthCallbackParams creates a new ServiceBrokerAuthCallbackParams object with the default values initialized.

func NewServiceBrokerAuthCallbackParamsWithContext

func NewServiceBrokerAuthCallbackParamsWithContext(ctx context.Context) *ServiceBrokerAuthCallbackParams

NewServiceBrokerAuthCallbackParamsWithContext creates a new ServiceBrokerAuthCallbackParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthCallbackParamsWithHTTPClient

func NewServiceBrokerAuthCallbackParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthCallbackParams

NewServiceBrokerAuthCallbackParamsWithHTTPClient creates a new ServiceBrokerAuthCallbackParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthCallbackParamsWithTimeout

func NewServiceBrokerAuthCallbackParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthCallbackParams

NewServiceBrokerAuthCallbackParamsWithTimeout creates a new ServiceBrokerAuthCallbackParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthCallbackParams) SetContext

func (o *ServiceBrokerAuthCallbackParams) SetContext(ctx context.Context)

SetContext adds the context to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) SetHTTPClient

func (o *ServiceBrokerAuthCallbackParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) SetTimeout

func (o *ServiceBrokerAuthCallbackParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) WithContext

WithContext adds the context to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) WithTimeout

WithTimeout adds the timeout to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthCallbackReader

type ServiceBrokerAuthCallbackReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthCallbackReader is a Reader for the ServiceBrokerAuthCallback structure.

func (*ServiceBrokerAuthCallbackReader) ReadResponse

func (o *ServiceBrokerAuthCallbackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthCallbackUnauthorized

type ServiceBrokerAuthCallbackUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerAuthCallbackUnauthorized handles this case with default header values.

Unauthorized

func NewServiceBrokerAuthCallbackUnauthorized

func NewServiceBrokerAuthCallbackUnauthorized() *ServiceBrokerAuthCallbackUnauthorized

NewServiceBrokerAuthCallbackUnauthorized creates a ServiceBrokerAuthCallbackUnauthorized with default headers values

func (*ServiceBrokerAuthCallbackUnauthorized) Error

type ServiceBrokerAuthDeviceCodePostForbidden

type ServiceBrokerAuthDeviceCodePostForbidden struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceCodePostForbidden handles this case with default header values.

Quota exceeded

func NewServiceBrokerAuthDeviceCodePostForbidden

func NewServiceBrokerAuthDeviceCodePostForbidden() *ServiceBrokerAuthDeviceCodePostForbidden

NewServiceBrokerAuthDeviceCodePostForbidden creates a ServiceBrokerAuthDeviceCodePostForbidden with default headers values

func (*ServiceBrokerAuthDeviceCodePostForbidden) Error

type ServiceBrokerAuthDeviceCodePostInternalServerError

type ServiceBrokerAuthDeviceCodePostInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceCodePostInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthDeviceCodePostInternalServerError

func NewServiceBrokerAuthDeviceCodePostInternalServerError() *ServiceBrokerAuthDeviceCodePostInternalServerError

NewServiceBrokerAuthDeviceCodePostInternalServerError creates a ServiceBrokerAuthDeviceCodePostInternalServerError with default headers values

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) Error

type ServiceBrokerAuthDeviceCodePostOK

type ServiceBrokerAuthDeviceCodePostOK struct {
	Payload *models.DeviceCode
}

ServiceBrokerAuthDeviceCodePostOK handles this case with default header values.

OK

func NewServiceBrokerAuthDeviceCodePostOK

func NewServiceBrokerAuthDeviceCodePostOK() *ServiceBrokerAuthDeviceCodePostOK

NewServiceBrokerAuthDeviceCodePostOK creates a ServiceBrokerAuthDeviceCodePostOK with default headers values

func (*ServiceBrokerAuthDeviceCodePostOK) Error

type ServiceBrokerAuthDeviceCodePostParams

type ServiceBrokerAuthDeviceCodePostParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthDeviceCodePostParams contains all the parameters to send to the API endpoint for the service broker auth device code post operation typically these are written to a http.Request

func NewServiceBrokerAuthDeviceCodePostParams

func NewServiceBrokerAuthDeviceCodePostParams() *ServiceBrokerAuthDeviceCodePostParams

NewServiceBrokerAuthDeviceCodePostParams creates a new ServiceBrokerAuthDeviceCodePostParams object with the default values initialized.

func NewServiceBrokerAuthDeviceCodePostParamsWithContext

func NewServiceBrokerAuthDeviceCodePostParamsWithContext(ctx context.Context) *ServiceBrokerAuthDeviceCodePostParams

NewServiceBrokerAuthDeviceCodePostParamsWithContext creates a new ServiceBrokerAuthDeviceCodePostParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthDeviceCodePostParamsWithHTTPClient

func NewServiceBrokerAuthDeviceCodePostParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceCodePostParams

NewServiceBrokerAuthDeviceCodePostParamsWithHTTPClient creates a new ServiceBrokerAuthDeviceCodePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthDeviceCodePostParamsWithTimeout

func NewServiceBrokerAuthDeviceCodePostParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceCodePostParams

NewServiceBrokerAuthDeviceCodePostParamsWithTimeout creates a new ServiceBrokerAuthDeviceCodePostParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthDeviceCodePostParams) SetContext

SetContext adds the context to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) SetHTTPClient

func (o *ServiceBrokerAuthDeviceCodePostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) SetTimeout

func (o *ServiceBrokerAuthDeviceCodePostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) WithContext

WithContext adds the context to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) WithTimeout

WithTimeout adds the timeout to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthDeviceCodePostReader

type ServiceBrokerAuthDeviceCodePostReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthDeviceCodePostReader is a Reader for the ServiceBrokerAuthDeviceCodePost structure.

func (*ServiceBrokerAuthDeviceCodePostReader) ReadResponse

func (o *ServiceBrokerAuthDeviceCodePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthDeviceTokenPostBadRequest

type ServiceBrokerAuthDeviceTokenPostBadRequest struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceTokenPostBadRequest handles this case with default header values.

Authorization pending

func NewServiceBrokerAuthDeviceTokenPostBadRequest

func NewServiceBrokerAuthDeviceTokenPostBadRequest() *ServiceBrokerAuthDeviceTokenPostBadRequest

NewServiceBrokerAuthDeviceTokenPostBadRequest creates a ServiceBrokerAuthDeviceTokenPostBadRequest with default headers values

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) Error

type ServiceBrokerAuthDeviceTokenPostBody

type ServiceBrokerAuthDeviceTokenPostBody struct {

	// The deviceCode that the authorization server returned
	DeviceCode string `json:"deviceCode,omitempty"`
}

ServiceBrokerAuthDeviceTokenPostBody service broker auth device token post body swagger:model ServiceBrokerAuthDeviceTokenPostBody

func (*ServiceBrokerAuthDeviceTokenPostBody) MarshalBinary

func (o *ServiceBrokerAuthDeviceTokenPostBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBrokerAuthDeviceTokenPostBody) UnmarshalBinary

func (o *ServiceBrokerAuthDeviceTokenPostBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBrokerAuthDeviceTokenPostBody) Validate

Validate validates this service broker auth device token post body

type ServiceBrokerAuthDeviceTokenPostForbidden

type ServiceBrokerAuthDeviceTokenPostForbidden struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceTokenPostForbidden handles this case with default header values.

User refused grant

func NewServiceBrokerAuthDeviceTokenPostForbidden

func NewServiceBrokerAuthDeviceTokenPostForbidden() *ServiceBrokerAuthDeviceTokenPostForbidden

NewServiceBrokerAuthDeviceTokenPostForbidden creates a ServiceBrokerAuthDeviceTokenPostForbidden with default headers values

func (*ServiceBrokerAuthDeviceTokenPostForbidden) Error

type ServiceBrokerAuthDeviceTokenPostInternalServerError

type ServiceBrokerAuthDeviceTokenPostInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceTokenPostInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthDeviceTokenPostInternalServerError

func NewServiceBrokerAuthDeviceTokenPostInternalServerError() *ServiceBrokerAuthDeviceTokenPostInternalServerError

NewServiceBrokerAuthDeviceTokenPostInternalServerError creates a ServiceBrokerAuthDeviceTokenPostInternalServerError with default headers values

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) Error

type ServiceBrokerAuthDeviceTokenPostOK

type ServiceBrokerAuthDeviceTokenPostOK struct {
	Payload *models.Token
}

ServiceBrokerAuthDeviceTokenPostOK handles this case with default header values.

OK

func NewServiceBrokerAuthDeviceTokenPostOK

func NewServiceBrokerAuthDeviceTokenPostOK() *ServiceBrokerAuthDeviceTokenPostOK

NewServiceBrokerAuthDeviceTokenPostOK creates a ServiceBrokerAuthDeviceTokenPostOK with default headers values

func (*ServiceBrokerAuthDeviceTokenPostOK) Error

type ServiceBrokerAuthDeviceTokenPostParams

type ServiceBrokerAuthDeviceTokenPostParams struct {

	/*Body
	  Parameters for polling authorization device code

	*/
	Body ServiceBrokerAuthDeviceTokenPostBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthDeviceTokenPostParams contains all the parameters to send to the API endpoint for the service broker auth device token post operation typically these are written to a http.Request

func NewServiceBrokerAuthDeviceTokenPostParams

func NewServiceBrokerAuthDeviceTokenPostParams() *ServiceBrokerAuthDeviceTokenPostParams

NewServiceBrokerAuthDeviceTokenPostParams creates a new ServiceBrokerAuthDeviceTokenPostParams object with the default values initialized.

func NewServiceBrokerAuthDeviceTokenPostParamsWithContext

func NewServiceBrokerAuthDeviceTokenPostParamsWithContext(ctx context.Context) *ServiceBrokerAuthDeviceTokenPostParams

NewServiceBrokerAuthDeviceTokenPostParamsWithContext creates a new ServiceBrokerAuthDeviceTokenPostParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthDeviceTokenPostParamsWithHTTPClient

func NewServiceBrokerAuthDeviceTokenPostParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceTokenPostParams

NewServiceBrokerAuthDeviceTokenPostParamsWithHTTPClient creates a new ServiceBrokerAuthDeviceTokenPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthDeviceTokenPostParamsWithTimeout

func NewServiceBrokerAuthDeviceTokenPostParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceTokenPostParams

NewServiceBrokerAuthDeviceTokenPostParamsWithTimeout creates a new ServiceBrokerAuthDeviceTokenPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthDeviceTokenPostParams) SetBody

SetBody adds the body to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) SetContext

SetContext adds the context to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) SetHTTPClient

func (o *ServiceBrokerAuthDeviceTokenPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) SetTimeout

func (o *ServiceBrokerAuthDeviceTokenPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WithBody

WithBody adds the body to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WithContext

WithContext adds the context to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WithTimeout

WithTimeout adds the timeout to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthDeviceTokenPostReader

type ServiceBrokerAuthDeviceTokenPostReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthDeviceTokenPostReader is a Reader for the ServiceBrokerAuthDeviceTokenPost structure.

func (*ServiceBrokerAuthDeviceTokenPostReader) ReadResponse

func (o *ServiceBrokerAuthDeviceTokenPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthDeviceTokenPostTooManyRequests

type ServiceBrokerAuthDeviceTokenPostTooManyRequests struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceTokenPostTooManyRequests handles this case with default header values.

Polling too frequently

func NewServiceBrokerAuthDeviceTokenPostTooManyRequests

func NewServiceBrokerAuthDeviceTokenPostTooManyRequests() *ServiceBrokerAuthDeviceTokenPostTooManyRequests

NewServiceBrokerAuthDeviceTokenPostTooManyRequests creates a ServiceBrokerAuthDeviceTokenPostTooManyRequests with default headers values

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) Error

type ServiceBrokerAuthInfoTokenInternalServerError

type ServiceBrokerAuthInfoTokenInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthInfoTokenInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthInfoTokenInternalServerError

func NewServiceBrokerAuthInfoTokenInternalServerError() *ServiceBrokerAuthInfoTokenInternalServerError

NewServiceBrokerAuthInfoTokenInternalServerError creates a ServiceBrokerAuthInfoTokenInternalServerError with default headers values

func (*ServiceBrokerAuthInfoTokenInternalServerError) Error

type ServiceBrokerAuthInfoTokenOK

type ServiceBrokerAuthInfoTokenOK struct {
	Payload *models.TokenExtra
}

ServiceBrokerAuthInfoTokenOK handles this case with default header values.

OK

func NewServiceBrokerAuthInfoTokenOK

func NewServiceBrokerAuthInfoTokenOK() *ServiceBrokerAuthInfoTokenOK

NewServiceBrokerAuthInfoTokenOK creates a ServiceBrokerAuthInfoTokenOK with default headers values

func (*ServiceBrokerAuthInfoTokenOK) Error

type ServiceBrokerAuthInfoTokenParams

type ServiceBrokerAuthInfoTokenParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthInfoTokenParams contains all the parameters to send to the API endpoint for the service broker auth info token operation typically these are written to a http.Request

func NewServiceBrokerAuthInfoTokenParams

func NewServiceBrokerAuthInfoTokenParams() *ServiceBrokerAuthInfoTokenParams

NewServiceBrokerAuthInfoTokenParams creates a new ServiceBrokerAuthInfoTokenParams object with the default values initialized.

func NewServiceBrokerAuthInfoTokenParamsWithContext

func NewServiceBrokerAuthInfoTokenParamsWithContext(ctx context.Context) *ServiceBrokerAuthInfoTokenParams

NewServiceBrokerAuthInfoTokenParamsWithContext creates a new ServiceBrokerAuthInfoTokenParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthInfoTokenParamsWithHTTPClient

func NewServiceBrokerAuthInfoTokenParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoTokenParams

NewServiceBrokerAuthInfoTokenParamsWithHTTPClient creates a new ServiceBrokerAuthInfoTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthInfoTokenParamsWithTimeout

func NewServiceBrokerAuthInfoTokenParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoTokenParams

NewServiceBrokerAuthInfoTokenParamsWithTimeout creates a new ServiceBrokerAuthInfoTokenParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthInfoTokenParams) SetContext

SetContext adds the context to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) SetHTTPClient

func (o *ServiceBrokerAuthInfoTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) SetTimeout

func (o *ServiceBrokerAuthInfoTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) WithContext

WithContext adds the context to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) WithTimeout

WithTimeout adds the timeout to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthInfoTokenReader

type ServiceBrokerAuthInfoTokenReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthInfoTokenReader is a Reader for the ServiceBrokerAuthInfoToken structure.

func (*ServiceBrokerAuthInfoTokenReader) ReadResponse

func (o *ServiceBrokerAuthInfoTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthInfoUserInternalServerError

type ServiceBrokerAuthInfoUserInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthInfoUserInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthInfoUserInternalServerError

func NewServiceBrokerAuthInfoUserInternalServerError() *ServiceBrokerAuthInfoUserInternalServerError

NewServiceBrokerAuthInfoUserInternalServerError creates a ServiceBrokerAuthInfoUserInternalServerError with default headers values

func (*ServiceBrokerAuthInfoUserInternalServerError) Error

type ServiceBrokerAuthInfoUserOK

type ServiceBrokerAuthInfoUserOK struct {
	Payload *models.UserInfo
}

ServiceBrokerAuthInfoUserOK handles this case with default header values.

OK

func NewServiceBrokerAuthInfoUserOK

func NewServiceBrokerAuthInfoUserOK() *ServiceBrokerAuthInfoUserOK

NewServiceBrokerAuthInfoUserOK creates a ServiceBrokerAuthInfoUserOK with default headers values

func (*ServiceBrokerAuthInfoUserOK) Error

type ServiceBrokerAuthInfoUserParams

type ServiceBrokerAuthInfoUserParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthInfoUserParams contains all the parameters to send to the API endpoint for the service broker auth info user operation typically these are written to a http.Request

func NewServiceBrokerAuthInfoUserParams

func NewServiceBrokerAuthInfoUserParams() *ServiceBrokerAuthInfoUserParams

NewServiceBrokerAuthInfoUserParams creates a new ServiceBrokerAuthInfoUserParams object with the default values initialized.

func NewServiceBrokerAuthInfoUserParamsWithContext

func NewServiceBrokerAuthInfoUserParamsWithContext(ctx context.Context) *ServiceBrokerAuthInfoUserParams

NewServiceBrokerAuthInfoUserParamsWithContext creates a new ServiceBrokerAuthInfoUserParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthInfoUserParamsWithHTTPClient

func NewServiceBrokerAuthInfoUserParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoUserParams

NewServiceBrokerAuthInfoUserParamsWithHTTPClient creates a new ServiceBrokerAuthInfoUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthInfoUserParamsWithTimeout

func NewServiceBrokerAuthInfoUserParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoUserParams

NewServiceBrokerAuthInfoUserParamsWithTimeout creates a new ServiceBrokerAuthInfoUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthInfoUserParams) SetContext

func (o *ServiceBrokerAuthInfoUserParams) SetContext(ctx context.Context)

SetContext adds the context to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) SetHTTPClient

func (o *ServiceBrokerAuthInfoUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) SetTimeout

func (o *ServiceBrokerAuthInfoUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) WithContext

WithContext adds the context to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) WithTimeout

WithTimeout adds the timeout to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthInfoUserReader

type ServiceBrokerAuthInfoUserReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthInfoUserReader is a Reader for the ServiceBrokerAuthInfoUser structure.

func (*ServiceBrokerAuthInfoUserReader) ReadResponse

func (o *ServiceBrokerAuthInfoUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthLoginInternalServerError

type ServiceBrokerAuthLoginInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthLoginInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthLoginInternalServerError

func NewServiceBrokerAuthLoginInternalServerError() *ServiceBrokerAuthLoginInternalServerError

NewServiceBrokerAuthLoginInternalServerError creates a ServiceBrokerAuthLoginInternalServerError with default headers values

func (*ServiceBrokerAuthLoginInternalServerError) Error

type ServiceBrokerAuthLoginOK

type ServiceBrokerAuthLoginOK struct {
	Payload *models.AccessToken
}

ServiceBrokerAuthLoginOK handles this case with default header values.

OK

func NewServiceBrokerAuthLoginOK

func NewServiceBrokerAuthLoginOK() *ServiceBrokerAuthLoginOK

NewServiceBrokerAuthLoginOK creates a ServiceBrokerAuthLoginOK with default headers values

func (*ServiceBrokerAuthLoginOK) Error

func (o *ServiceBrokerAuthLoginOK) Error() string

type ServiceBrokerAuthLoginParams

type ServiceBrokerAuthLoginParams struct {

	/*AccessType
	  Determines if a refresh token is returned

	*/
	AccessType *string
	/*RedirectURL
	  The URL to redirect to after login/registration

	*/
	RedirectURL *string
	/*UserID
	  The user id of the user

	*/
	UserID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthLoginParams contains all the parameters to send to the API endpoint for the service broker auth login operation typically these are written to a http.Request

func NewServiceBrokerAuthLoginParams

func NewServiceBrokerAuthLoginParams() *ServiceBrokerAuthLoginParams

NewServiceBrokerAuthLoginParams creates a new ServiceBrokerAuthLoginParams object with the default values initialized.

func NewServiceBrokerAuthLoginParamsWithContext

func NewServiceBrokerAuthLoginParamsWithContext(ctx context.Context) *ServiceBrokerAuthLoginParams

NewServiceBrokerAuthLoginParamsWithContext creates a new ServiceBrokerAuthLoginParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthLoginParamsWithHTTPClient

func NewServiceBrokerAuthLoginParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthLoginParams

NewServiceBrokerAuthLoginParamsWithHTTPClient creates a new ServiceBrokerAuthLoginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthLoginParamsWithTimeout

func NewServiceBrokerAuthLoginParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthLoginParams

NewServiceBrokerAuthLoginParamsWithTimeout creates a new ServiceBrokerAuthLoginParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthLoginParams) SetAccessType

func (o *ServiceBrokerAuthLoginParams) SetAccessType(accessType *string)

SetAccessType adds the accessType to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetContext

func (o *ServiceBrokerAuthLoginParams) SetContext(ctx context.Context)

SetContext adds the context to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetHTTPClient

func (o *ServiceBrokerAuthLoginParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetRedirectURL

func (o *ServiceBrokerAuthLoginParams) SetRedirectURL(redirectURL *string)

SetRedirectURL adds the redirectUrl to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetTimeout

func (o *ServiceBrokerAuthLoginParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetUserID

func (o *ServiceBrokerAuthLoginParams) SetUserID(userID *string)

SetUserID adds the userId to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithAccessType

func (o *ServiceBrokerAuthLoginParams) WithAccessType(accessType *string) *ServiceBrokerAuthLoginParams

WithAccessType adds the accessType to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithContext

WithContext adds the context to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithRedirectURL

func (o *ServiceBrokerAuthLoginParams) WithRedirectURL(redirectURL *string) *ServiceBrokerAuthLoginParams

WithRedirectURL adds the redirectURL to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithTimeout

WithTimeout adds the timeout to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithUserID

WithUserID adds the userID to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthLoginReader

type ServiceBrokerAuthLoginReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthLoginReader is a Reader for the ServiceBrokerAuthLogin structure.

func (*ServiceBrokerAuthLoginReader) ReadResponse

func (o *ServiceBrokerAuthLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthLoginUnauthorized

type ServiceBrokerAuthLoginUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerAuthLoginUnauthorized handles this case with default header values.

Unauthorized

func NewServiceBrokerAuthLoginUnauthorized

func NewServiceBrokerAuthLoginUnauthorized() *ServiceBrokerAuthLoginUnauthorized

NewServiceBrokerAuthLoginUnauthorized creates a ServiceBrokerAuthLoginUnauthorized with default headers values

func (*ServiceBrokerAuthLoginUnauthorized) Error

type ServiceBrokerAuthLogoutInternalServerError

type ServiceBrokerAuthLogoutInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthLogoutInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthLogoutInternalServerError

func NewServiceBrokerAuthLogoutInternalServerError() *ServiceBrokerAuthLogoutInternalServerError

NewServiceBrokerAuthLogoutInternalServerError creates a ServiceBrokerAuthLogoutInternalServerError with default headers values

func (*ServiceBrokerAuthLogoutInternalServerError) Error

type ServiceBrokerAuthLogoutOK

type ServiceBrokerAuthLogoutOK struct {
	Payload models.Object
}

ServiceBrokerAuthLogoutOK handles this case with default header values.

OK

func NewServiceBrokerAuthLogoutOK

func NewServiceBrokerAuthLogoutOK() *ServiceBrokerAuthLogoutOK

NewServiceBrokerAuthLogoutOK creates a ServiceBrokerAuthLogoutOK with default headers values

func (*ServiceBrokerAuthLogoutOK) Error

func (o *ServiceBrokerAuthLogoutOK) Error() string

type ServiceBrokerAuthLogoutParams

type ServiceBrokerAuthLogoutParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthLogoutParams contains all the parameters to send to the API endpoint for the service broker auth logout operation typically these are written to a http.Request

func NewServiceBrokerAuthLogoutParams

func NewServiceBrokerAuthLogoutParams() *ServiceBrokerAuthLogoutParams

NewServiceBrokerAuthLogoutParams creates a new ServiceBrokerAuthLogoutParams object with the default values initialized.

func NewServiceBrokerAuthLogoutParamsWithContext

func NewServiceBrokerAuthLogoutParamsWithContext(ctx context.Context) *ServiceBrokerAuthLogoutParams

NewServiceBrokerAuthLogoutParamsWithContext creates a new ServiceBrokerAuthLogoutParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthLogoutParamsWithHTTPClient

func NewServiceBrokerAuthLogoutParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthLogoutParams

NewServiceBrokerAuthLogoutParamsWithHTTPClient creates a new ServiceBrokerAuthLogoutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthLogoutParamsWithTimeout

func NewServiceBrokerAuthLogoutParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthLogoutParams

NewServiceBrokerAuthLogoutParamsWithTimeout creates a new ServiceBrokerAuthLogoutParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthLogoutParams) SetContext

func (o *ServiceBrokerAuthLogoutParams) SetContext(ctx context.Context)

SetContext adds the context to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) SetHTTPClient

func (o *ServiceBrokerAuthLogoutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) SetTimeout

func (o *ServiceBrokerAuthLogoutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) WithContext

WithContext adds the context to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) WithTimeout

WithTimeout adds the timeout to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthLogoutReader

type ServiceBrokerAuthLogoutReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthLogoutReader is a Reader for the ServiceBrokerAuthLogout structure.

func (*ServiceBrokerAuthLogoutReader) ReadResponse

func (o *ServiceBrokerAuthLogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthRegistrationCallbackInternalServerError

type ServiceBrokerAuthRegistrationCallbackInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthRegistrationCallbackInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthRegistrationCallbackInternalServerError

func NewServiceBrokerAuthRegistrationCallbackInternalServerError() *ServiceBrokerAuthRegistrationCallbackInternalServerError

NewServiceBrokerAuthRegistrationCallbackInternalServerError creates a ServiceBrokerAuthRegistrationCallbackInternalServerError with default headers values

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) Error

type ServiceBrokerAuthRegistrationCallbackOK

type ServiceBrokerAuthRegistrationCallbackOK struct {
	Payload *models.AccessToken
}

ServiceBrokerAuthRegistrationCallbackOK handles this case with default header values.

OK

func NewServiceBrokerAuthRegistrationCallbackOK

func NewServiceBrokerAuthRegistrationCallbackOK() *ServiceBrokerAuthRegistrationCallbackOK

NewServiceBrokerAuthRegistrationCallbackOK creates a ServiceBrokerAuthRegistrationCallbackOK with default headers values

func (*ServiceBrokerAuthRegistrationCallbackOK) Error

type ServiceBrokerAuthRegistrationCallbackParams

type ServiceBrokerAuthRegistrationCallbackParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthRegistrationCallbackParams contains all the parameters to send to the API endpoint for the service broker auth registration callback operation typically these are written to a http.Request

func NewServiceBrokerAuthRegistrationCallbackParams

func NewServiceBrokerAuthRegistrationCallbackParams() *ServiceBrokerAuthRegistrationCallbackParams

NewServiceBrokerAuthRegistrationCallbackParams creates a new ServiceBrokerAuthRegistrationCallbackParams object with the default values initialized.

func NewServiceBrokerAuthRegistrationCallbackParamsWithContext

func NewServiceBrokerAuthRegistrationCallbackParamsWithContext(ctx context.Context) *ServiceBrokerAuthRegistrationCallbackParams

NewServiceBrokerAuthRegistrationCallbackParamsWithContext creates a new ServiceBrokerAuthRegistrationCallbackParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthRegistrationCallbackParamsWithHTTPClient

func NewServiceBrokerAuthRegistrationCallbackParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationCallbackParams

NewServiceBrokerAuthRegistrationCallbackParamsWithHTTPClient creates a new ServiceBrokerAuthRegistrationCallbackParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthRegistrationCallbackParamsWithTimeout

func NewServiceBrokerAuthRegistrationCallbackParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationCallbackParams

NewServiceBrokerAuthRegistrationCallbackParamsWithTimeout creates a new ServiceBrokerAuthRegistrationCallbackParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthRegistrationCallbackParams) SetContext

SetContext adds the context to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) SetHTTPClient

func (o *ServiceBrokerAuthRegistrationCallbackParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) SetTimeout

SetTimeout adds the timeout to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) WithContext

WithContext adds the context to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) WithTimeout

WithTimeout adds the timeout to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthRegistrationCallbackReader

type ServiceBrokerAuthRegistrationCallbackReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthRegistrationCallbackReader is a Reader for the ServiceBrokerAuthRegistrationCallback structure.

func (*ServiceBrokerAuthRegistrationCallbackReader) ReadResponse

func (o *ServiceBrokerAuthRegistrationCallbackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthRegistrationCallbackUnauthorized

type ServiceBrokerAuthRegistrationCallbackUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerAuthRegistrationCallbackUnauthorized handles this case with default header values.

Unauthorized

func NewServiceBrokerAuthRegistrationCallbackUnauthorized

func NewServiceBrokerAuthRegistrationCallbackUnauthorized() *ServiceBrokerAuthRegistrationCallbackUnauthorized

NewServiceBrokerAuthRegistrationCallbackUnauthorized creates a ServiceBrokerAuthRegistrationCallbackUnauthorized with default headers values

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) Error

type ServiceBrokerAuthRegistrationInternalServerError

type ServiceBrokerAuthRegistrationInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthRegistrationInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthRegistrationInternalServerError

func NewServiceBrokerAuthRegistrationInternalServerError() *ServiceBrokerAuthRegistrationInternalServerError

NewServiceBrokerAuthRegistrationInternalServerError creates a ServiceBrokerAuthRegistrationInternalServerError with default headers values

func (*ServiceBrokerAuthRegistrationInternalServerError) Error

type ServiceBrokerAuthRegistrationOK

type ServiceBrokerAuthRegistrationOK struct {
	Payload *models.AccessToken
}

ServiceBrokerAuthRegistrationOK handles this case with default header values.

OK

func NewServiceBrokerAuthRegistrationOK

func NewServiceBrokerAuthRegistrationOK() *ServiceBrokerAuthRegistrationOK

NewServiceBrokerAuthRegistrationOK creates a ServiceBrokerAuthRegistrationOK with default headers values

func (*ServiceBrokerAuthRegistrationOK) Error

type ServiceBrokerAuthRegistrationParams

type ServiceBrokerAuthRegistrationParams struct {

	/*EntitlementID
	  Entitlement ID of for this tenant

	*/
	EntitlementID string
	/*Icn
	  IBM Customer Number (ICN) for this tenant

	*/
	Icn string
	/*Plan
	  Plan for this tenant and entitlement

	*/
	Plan string
	/*RedirectURL
	  The URL to redirect to after login/registration

	*/
	RedirectURL *string
	/*Regions
	  An array of regions matching the number of cloud-instances in the plan

	*/
	Regions []string
	/*TenantID
	  Tenant ID of a pcloud tenant

	*/
	TenantID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthRegistrationParams contains all the parameters to send to the API endpoint for the service broker auth registration operation typically these are written to a http.Request

func NewServiceBrokerAuthRegistrationParams

func NewServiceBrokerAuthRegistrationParams() *ServiceBrokerAuthRegistrationParams

NewServiceBrokerAuthRegistrationParams creates a new ServiceBrokerAuthRegistrationParams object with the default values initialized.

func NewServiceBrokerAuthRegistrationParamsWithContext

func NewServiceBrokerAuthRegistrationParamsWithContext(ctx context.Context) *ServiceBrokerAuthRegistrationParams

NewServiceBrokerAuthRegistrationParamsWithContext creates a new ServiceBrokerAuthRegistrationParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthRegistrationParamsWithHTTPClient

func NewServiceBrokerAuthRegistrationParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationParams

NewServiceBrokerAuthRegistrationParamsWithHTTPClient creates a new ServiceBrokerAuthRegistrationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthRegistrationParamsWithTimeout

func NewServiceBrokerAuthRegistrationParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationParams

NewServiceBrokerAuthRegistrationParamsWithTimeout creates a new ServiceBrokerAuthRegistrationParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthRegistrationParams) SetContext

SetContext adds the context to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetEntitlementID

func (o *ServiceBrokerAuthRegistrationParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetHTTPClient

func (o *ServiceBrokerAuthRegistrationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetIcn

SetIcn adds the icn to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetPlan

SetPlan adds the plan to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetRedirectURL

func (o *ServiceBrokerAuthRegistrationParams) SetRedirectURL(redirectURL *string)

SetRedirectURL adds the redirectUrl to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetRegions

func (o *ServiceBrokerAuthRegistrationParams) SetRegions(regions []string)

SetRegions adds the regions to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetTenantID

func (o *ServiceBrokerAuthRegistrationParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetTimeout

func (o *ServiceBrokerAuthRegistrationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithContext

WithContext adds the context to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithEntitlementID

WithEntitlementID adds the entitlementID to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithIcn

WithIcn adds the icn to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithPlan

WithPlan adds the plan to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithRedirectURL

WithRedirectURL adds the redirectURL to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithRegions

WithRegions adds the regions to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithTenantID

WithTenantID adds the tenantID to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithTimeout

WithTimeout adds the timeout to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthRegistrationReader

type ServiceBrokerAuthRegistrationReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthRegistrationReader is a Reader for the ServiceBrokerAuthRegistration structure.

func (*ServiceBrokerAuthRegistrationReader) ReadResponse

func (o *ServiceBrokerAuthRegistrationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthRegistrationUnauthorized

type ServiceBrokerAuthRegistrationUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerAuthRegistrationUnauthorized handles this case with default header values.

Unauthorized

func NewServiceBrokerAuthRegistrationUnauthorized

func NewServiceBrokerAuthRegistrationUnauthorized() *ServiceBrokerAuthRegistrationUnauthorized

NewServiceBrokerAuthRegistrationUnauthorized creates a ServiceBrokerAuthRegistrationUnauthorized with default headers values

func (*ServiceBrokerAuthRegistrationUnauthorized) Error

type ServiceBrokerAuthTokenPostBadRequest

type ServiceBrokerAuthTokenPostBadRequest struct {
	Payload *models.Error
}

ServiceBrokerAuthTokenPostBadRequest handles this case with default header values.

Authorization pending

func NewServiceBrokerAuthTokenPostBadRequest

func NewServiceBrokerAuthTokenPostBadRequest() *ServiceBrokerAuthTokenPostBadRequest

NewServiceBrokerAuthTokenPostBadRequest creates a ServiceBrokerAuthTokenPostBadRequest with default headers values

func (*ServiceBrokerAuthTokenPostBadRequest) Error

type ServiceBrokerAuthTokenPostForbidden

type ServiceBrokerAuthTokenPostForbidden struct {
	Payload *models.Error
}

ServiceBrokerAuthTokenPostForbidden handles this case with default header values.

User refused grant

func NewServiceBrokerAuthTokenPostForbidden

func NewServiceBrokerAuthTokenPostForbidden() *ServiceBrokerAuthTokenPostForbidden

NewServiceBrokerAuthTokenPostForbidden creates a ServiceBrokerAuthTokenPostForbidden with default headers values

func (*ServiceBrokerAuthTokenPostForbidden) Error

type ServiceBrokerAuthTokenPostInternalServerError

type ServiceBrokerAuthTokenPostInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthTokenPostInternalServerError handles this case with default header values.

Internal Server Error

func NewServiceBrokerAuthTokenPostInternalServerError

func NewServiceBrokerAuthTokenPostInternalServerError() *ServiceBrokerAuthTokenPostInternalServerError

NewServiceBrokerAuthTokenPostInternalServerError creates a ServiceBrokerAuthTokenPostInternalServerError with default headers values

func (*ServiceBrokerAuthTokenPostInternalServerError) Error

type ServiceBrokerAuthTokenPostOK

type ServiceBrokerAuthTokenPostOK struct {
	Payload *models.Token
}

ServiceBrokerAuthTokenPostOK handles this case with default header values.

OK

func NewServiceBrokerAuthTokenPostOK

func NewServiceBrokerAuthTokenPostOK() *ServiceBrokerAuthTokenPostOK

NewServiceBrokerAuthTokenPostOK creates a ServiceBrokerAuthTokenPostOK with default headers values

func (*ServiceBrokerAuthTokenPostOK) Error

type ServiceBrokerAuthTokenPostParams

type ServiceBrokerAuthTokenPostParams struct {

	/*Body
	  Parameters for requesting a new Token from a Refresh Token

	*/
	Body *models.TokenRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthTokenPostParams contains all the parameters to send to the API endpoint for the service broker auth token post operation typically these are written to a http.Request

func NewServiceBrokerAuthTokenPostParams

func NewServiceBrokerAuthTokenPostParams() *ServiceBrokerAuthTokenPostParams

NewServiceBrokerAuthTokenPostParams creates a new ServiceBrokerAuthTokenPostParams object with the default values initialized.

func NewServiceBrokerAuthTokenPostParamsWithContext

func NewServiceBrokerAuthTokenPostParamsWithContext(ctx context.Context) *ServiceBrokerAuthTokenPostParams

NewServiceBrokerAuthTokenPostParamsWithContext creates a new ServiceBrokerAuthTokenPostParams object with the default values initialized, and the ability to set a context for a request

func NewServiceBrokerAuthTokenPostParamsWithHTTPClient

func NewServiceBrokerAuthTokenPostParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthTokenPostParams

NewServiceBrokerAuthTokenPostParamsWithHTTPClient creates a new ServiceBrokerAuthTokenPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServiceBrokerAuthTokenPostParamsWithTimeout

func NewServiceBrokerAuthTokenPostParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthTokenPostParams

NewServiceBrokerAuthTokenPostParamsWithTimeout creates a new ServiceBrokerAuthTokenPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServiceBrokerAuthTokenPostParams) SetBody

SetBody adds the body to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) SetContext

SetContext adds the context to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) SetHTTPClient

func (o *ServiceBrokerAuthTokenPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) SetTimeout

func (o *ServiceBrokerAuthTokenPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WithBody

WithBody adds the body to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WithContext

WithContext adds the context to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WithTimeout

WithTimeout adds the timeout to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthTokenPostReader

type ServiceBrokerAuthTokenPostReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerAuthTokenPostReader is a Reader for the ServiceBrokerAuthTokenPost structure.

func (*ServiceBrokerAuthTokenPostReader) ReadResponse

func (o *ServiceBrokerAuthTokenPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthTokenPostTooManyRequests

type ServiceBrokerAuthTokenPostTooManyRequests struct {
	Payload *models.Error
}

ServiceBrokerAuthTokenPostTooManyRequests handles this case with default header values.

Polling too frequently

func NewServiceBrokerAuthTokenPostTooManyRequests

func NewServiceBrokerAuthTokenPostTooManyRequests() *ServiceBrokerAuthTokenPostTooManyRequests

NewServiceBrokerAuthTokenPostTooManyRequests creates a ServiceBrokerAuthTokenPostTooManyRequests with default headers values

func (*ServiceBrokerAuthTokenPostTooManyRequests) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL