registration

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BcDeviceRegistrationBadRequest

type BcDeviceRegistrationBadRequest struct {
	Payload *models.ErrorResponse
}

BcDeviceRegistrationBadRequest handles this case with default header values.

Invalid parameters are provided to endpoint.

func NewBcDeviceRegistrationBadRequest

func NewBcDeviceRegistrationBadRequest() *BcDeviceRegistrationBadRequest

NewBcDeviceRegistrationBadRequest creates a BcDeviceRegistrationBadRequest with default headers values

func (*BcDeviceRegistrationBadRequest) Error

func (*BcDeviceRegistrationBadRequest) GetPayload

type BcDeviceRegistrationForbidden

type BcDeviceRegistrationForbidden struct {
	Payload *models.ErrorResponse
}

BcDeviceRegistrationForbidden handles this case with default header values.

Invalid details provided hence access denied.

func NewBcDeviceRegistrationForbidden

func NewBcDeviceRegistrationForbidden() *BcDeviceRegistrationForbidden

NewBcDeviceRegistrationForbidden creates a BcDeviceRegistrationForbidden with default headers values

func (*BcDeviceRegistrationForbidden) Error

func (*BcDeviceRegistrationForbidden) GetPayload

type BcDeviceRegistrationOK

type BcDeviceRegistrationOK struct {
}

BcDeviceRegistrationOK handles this case with default header values.

OK

func NewBcDeviceRegistrationOK

func NewBcDeviceRegistrationOK() *BcDeviceRegistrationOK

NewBcDeviceRegistrationOK creates a BcDeviceRegistrationOK with default headers values

func (*BcDeviceRegistrationOK) Error

func (o *BcDeviceRegistrationOK) Error() string

type BcDeviceRegistrationParams

type BcDeviceRegistrationParams struct {

	/*DeviceRegistrationToken
	  OAuth 2.0 Client Identifier valid at the Authorization Serve

	*/
	DeviceRegistrationToken string
	/*IDTokenHint
	  An ID Token previously issued to the Client by the OpenID Provider being passed back as a hint to identify the end-user for whom the device registration is being requested.

	*/
	IDTokenHint string

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

BcDeviceRegistrationParams contains all the parameters to send to the API endpoint for the bc device registration operation typically these are written to a http.Request

func NewBcDeviceRegistrationParams

func NewBcDeviceRegistrationParams() *BcDeviceRegistrationParams

NewBcDeviceRegistrationParams creates a new BcDeviceRegistrationParams object with the default values initialized.

func NewBcDeviceRegistrationParamsWithContext

func NewBcDeviceRegistrationParamsWithContext(ctx context.Context) *BcDeviceRegistrationParams

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

func NewBcDeviceRegistrationParamsWithHTTPClient

func NewBcDeviceRegistrationParamsWithHTTPClient(client *http.Client) *BcDeviceRegistrationParams

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

func NewBcDeviceRegistrationParamsWithTimeout

func NewBcDeviceRegistrationParamsWithTimeout(timeout time.Duration) *BcDeviceRegistrationParams

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

func (*BcDeviceRegistrationParams) SetContext

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

SetContext adds the context to the bc device registration params

func (*BcDeviceRegistrationParams) SetDeviceRegistrationToken

func (o *BcDeviceRegistrationParams) SetDeviceRegistrationToken(deviceRegistrationToken string)

SetDeviceRegistrationToken adds the deviceRegistrationToken to the bc device registration params

func (*BcDeviceRegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bc device registration params

func (*BcDeviceRegistrationParams) SetIDTokenHint

func (o *BcDeviceRegistrationParams) SetIDTokenHint(iDTokenHint string)

SetIDTokenHint adds the idTokenHint to the bc device registration params

func (*BcDeviceRegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the bc device registration params

func (*BcDeviceRegistrationParams) WithContext

WithContext adds the context to the bc device registration params

func (*BcDeviceRegistrationParams) WithDeviceRegistrationToken

func (o *BcDeviceRegistrationParams) WithDeviceRegistrationToken(deviceRegistrationToken string) *BcDeviceRegistrationParams

WithDeviceRegistrationToken adds the deviceRegistrationToken to the bc device registration params

func (*BcDeviceRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bc device registration params

func (*BcDeviceRegistrationParams) WithIDTokenHint

func (o *BcDeviceRegistrationParams) WithIDTokenHint(iDTokenHint string) *BcDeviceRegistrationParams

WithIDTokenHint adds the iDTokenHint to the bc device registration params

func (*BcDeviceRegistrationParams) WithTimeout

WithTimeout adds the timeout to the bc device registration params

func (*BcDeviceRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BcDeviceRegistrationReader

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

BcDeviceRegistrationReader is a Reader for the BcDeviceRegistration structure.

func (*BcDeviceRegistrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for registration API

func (*Client) BcDeviceRegistration

func (a *Client) BcDeviceRegistration(params *BcDeviceRegistrationParams) (*BcDeviceRegistrationOK, error)

BcDeviceRegistration bcs device registration

Performs backchannel device registration.

func (*Client) GetRegister

func (a *Client) GetRegister(params *GetRegisterParams) (*GetRegisterOK, error)

GetRegister gets register

Get client information for a previously registered client.

func (*Client) PostRegister

func (a *Client) PostRegister(params *PostRegisterParams) (*PostRegisterOK, error)

PostRegister posts register

The Client Registration Endpoint is an OAuth 2.0 Protected Resource through which a new Client registration can be requested.

func (*Client) PutRegister

func (a *Client) PutRegister(params *PutRegisterParams) (*PutRegisterOK, error)

PutRegister puts register

Update Client Metadata for a registered client.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	BcDeviceRegistration(params *BcDeviceRegistrationParams) (*BcDeviceRegistrationOK, error)

	GetRegister(params *GetRegisterParams) (*GetRegisterOK, error)

	PostRegister(params *PostRegisterParams) (*PostRegisterOK, error)

	PutRegister(params *PutRegisterParams) (*PutRegisterOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new registration API client.

type GetRegisterBadRequest

type GetRegisterBadRequest struct {
	Payload *models.ErrorResponse
}

GetRegisterBadRequest handles this case with default header values.

Invalid parameters provided to endpoint.

func NewGetRegisterBadRequest

func NewGetRegisterBadRequest() *GetRegisterBadRequest

NewGetRegisterBadRequest creates a GetRegisterBadRequest with default headers values

func (*GetRegisterBadRequest) Error

func (o *GetRegisterBadRequest) Error() string

func (*GetRegisterBadRequest) GetPayload

func (o *GetRegisterBadRequest) GetPayload() *models.ErrorResponse

type GetRegisterInternalServerError

type GetRegisterInternalServerError struct {
	Payload *models.ErrorResponse
}

GetRegisterInternalServerError handles this case with default header values.

Internal error occured. Please check log file for details.

func NewGetRegisterInternalServerError

func NewGetRegisterInternalServerError() *GetRegisterInternalServerError

NewGetRegisterInternalServerError creates a GetRegisterInternalServerError with default headers values

func (*GetRegisterInternalServerError) Error

func (*GetRegisterInternalServerError) GetPayload

type GetRegisterOK

type GetRegisterOK struct {
	Payload *models.ClientResponse
}

GetRegisterOK handles this case with default header values.

OK

func NewGetRegisterOK

func NewGetRegisterOK() *GetRegisterOK

NewGetRegisterOK creates a GetRegisterOK with default headers values

func (*GetRegisterOK) Error

func (o *GetRegisterOK) Error() string

func (*GetRegisterOK) GetPayload

func (o *GetRegisterOK) GetPayload() *models.ClientResponse

type GetRegisterParams

type GetRegisterParams struct {

	/*Authorization
	  Authorization header carrying \"registration_access_token\" issued before as a Bearer token

	*/
	Authorization string
	/*ClientID
	  Client ID that identifies client.

	*/
	ClientID string

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

GetRegisterParams contains all the parameters to send to the API endpoint for the get register operation typically these are written to a http.Request

func NewGetRegisterParams

func NewGetRegisterParams() *GetRegisterParams

NewGetRegisterParams creates a new GetRegisterParams object with the default values initialized.

func NewGetRegisterParamsWithContext

func NewGetRegisterParamsWithContext(ctx context.Context) *GetRegisterParams

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

func NewGetRegisterParamsWithHTTPClient

func NewGetRegisterParamsWithHTTPClient(client *http.Client) *GetRegisterParams

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

func NewGetRegisterParamsWithTimeout

func NewGetRegisterParamsWithTimeout(timeout time.Duration) *GetRegisterParams

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

func (*GetRegisterParams) SetAuthorization

func (o *GetRegisterParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get register params

func (*GetRegisterParams) SetClientID

func (o *GetRegisterParams) SetClientID(clientID string)

SetClientID adds the clientId to the get register params

func (*GetRegisterParams) SetContext

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

SetContext adds the context to the get register params

func (*GetRegisterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get register params

func (*GetRegisterParams) SetTimeout

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

SetTimeout adds the timeout to the get register params

func (*GetRegisterParams) WithAuthorization

func (o *GetRegisterParams) WithAuthorization(authorization string) *GetRegisterParams

WithAuthorization adds the authorization to the get register params

func (*GetRegisterParams) WithClientID

func (o *GetRegisterParams) WithClientID(clientID string) *GetRegisterParams

WithClientID adds the clientID to the get register params

func (*GetRegisterParams) WithContext

func (o *GetRegisterParams) WithContext(ctx context.Context) *GetRegisterParams

WithContext adds the context to the get register params

func (*GetRegisterParams) WithHTTPClient

func (o *GetRegisterParams) WithHTTPClient(client *http.Client) *GetRegisterParams

WithHTTPClient adds the HTTPClient to the get register params

func (*GetRegisterParams) WithTimeout

func (o *GetRegisterParams) WithTimeout(timeout time.Duration) *GetRegisterParams

WithTimeout adds the timeout to the get register params

func (*GetRegisterParams) WriteToRequest

func (o *GetRegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRegisterReader

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

GetRegisterReader is a Reader for the GetRegister structure.

func (*GetRegisterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRegisterUnauthorized

type GetRegisterUnauthorized struct {
	Payload *models.ErrorResponse
}

GetRegisterUnauthorized handles this case with default header values.

Invalid parameters are provided to endpoint.

func NewGetRegisterUnauthorized

func NewGetRegisterUnauthorized() *GetRegisterUnauthorized

NewGetRegisterUnauthorized creates a GetRegisterUnauthorized with default headers values

func (*GetRegisterUnauthorized) Error

func (o *GetRegisterUnauthorized) Error() string

func (*GetRegisterUnauthorized) GetPayload

func (o *GetRegisterUnauthorized) GetPayload() *models.ErrorResponse

type PostRegisterBadRequest

type PostRegisterBadRequest struct {
	Payload *models.ErrorResponse
}

PostRegisterBadRequest handles this case with default header values.

Invalid parameters provided to endpoint.

func NewPostRegisterBadRequest

func NewPostRegisterBadRequest() *PostRegisterBadRequest

NewPostRegisterBadRequest creates a PostRegisterBadRequest with default headers values

func (*PostRegisterBadRequest) Error

func (o *PostRegisterBadRequest) Error() string

func (*PostRegisterBadRequest) GetPayload

func (o *PostRegisterBadRequest) GetPayload() *models.ErrorResponse

type PostRegisterInternalServerError

type PostRegisterInternalServerError struct {
	Payload *models.ErrorResponse
}

PostRegisterInternalServerError handles this case with default header values.

Internal error occured. Please check log file for details.

func NewPostRegisterInternalServerError

func NewPostRegisterInternalServerError() *PostRegisterInternalServerError

NewPostRegisterInternalServerError creates a PostRegisterInternalServerError with default headers values

func (*PostRegisterInternalServerError) Error

func (*PostRegisterInternalServerError) GetPayload

type PostRegisterOK

type PostRegisterOK struct {
	Payload *models.RegisterResponseParam
}

PostRegisterOK handles this case with default header values.

OK

func NewPostRegisterOK

func NewPostRegisterOK() *PostRegisterOK

NewPostRegisterOK creates a PostRegisterOK with default headers values

func (*PostRegisterOK) Error

func (o *PostRegisterOK) Error() string

func (*PostRegisterOK) GetPayload

func (o *PostRegisterOK) GetPayload() *models.RegisterResponseParam

type PostRegisterParams

type PostRegisterParams struct {

	/*Body*/
	Body *models.RegisterParams

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

PostRegisterParams contains all the parameters to send to the API endpoint for the post register operation typically these are written to a http.Request

func NewPostRegisterParams

func NewPostRegisterParams() *PostRegisterParams

NewPostRegisterParams creates a new PostRegisterParams object with the default values initialized.

func NewPostRegisterParamsWithContext

func NewPostRegisterParamsWithContext(ctx context.Context) *PostRegisterParams

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

func NewPostRegisterParamsWithHTTPClient

func NewPostRegisterParamsWithHTTPClient(client *http.Client) *PostRegisterParams

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

func NewPostRegisterParamsWithTimeout

func NewPostRegisterParamsWithTimeout(timeout time.Duration) *PostRegisterParams

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

func (*PostRegisterParams) SetBody

func (o *PostRegisterParams) SetBody(body *models.RegisterParams)

SetBody adds the body to the post register params

func (*PostRegisterParams) SetContext

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

SetContext adds the context to the post register params

func (*PostRegisterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post register params

func (*PostRegisterParams) SetTimeout

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

SetTimeout adds the timeout to the post register params

func (*PostRegisterParams) WithBody

WithBody adds the body to the post register params

func (*PostRegisterParams) WithContext

WithContext adds the context to the post register params

func (*PostRegisterParams) WithHTTPClient

func (o *PostRegisterParams) WithHTTPClient(client *http.Client) *PostRegisterParams

WithHTTPClient adds the HTTPClient to the post register params

func (*PostRegisterParams) WithTimeout

func (o *PostRegisterParams) WithTimeout(timeout time.Duration) *PostRegisterParams

WithTimeout adds the timeout to the post register params

func (*PostRegisterParams) WriteToRequest

func (o *PostRegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostRegisterReader

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

PostRegisterReader is a Reader for the PostRegister structure.

func (*PostRegisterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutRegisterBadRequest

type PutRegisterBadRequest struct {
	Payload *models.ErrorResponse
}

PutRegisterBadRequest handles this case with default header values.

Invalid parameters provided to endpoint.

func NewPutRegisterBadRequest

func NewPutRegisterBadRequest() *PutRegisterBadRequest

NewPutRegisterBadRequest creates a PutRegisterBadRequest with default headers values

func (*PutRegisterBadRequest) Error

func (o *PutRegisterBadRequest) Error() string

func (*PutRegisterBadRequest) GetPayload

func (o *PutRegisterBadRequest) GetPayload() *models.ErrorResponse

type PutRegisterInternalServerError

type PutRegisterInternalServerError struct {
	Payload *models.ErrorResponse
}

PutRegisterInternalServerError handles this case with default header values.

Internal error occured. Please check log file for details.

func NewPutRegisterInternalServerError

func NewPutRegisterInternalServerError() *PutRegisterInternalServerError

NewPutRegisterInternalServerError creates a PutRegisterInternalServerError with default headers values

func (*PutRegisterInternalServerError) Error

func (*PutRegisterInternalServerError) GetPayload

type PutRegisterOK

type PutRegisterOK struct {
	Payload *models.RegisterResponseParam
}

PutRegisterOK handles this case with default header values.

OK

func NewPutRegisterOK

func NewPutRegisterOK() *PutRegisterOK

NewPutRegisterOK creates a PutRegisterOK with default headers values

func (*PutRegisterOK) Error

func (o *PutRegisterOK) Error() string

func (*PutRegisterOK) GetPayload

func (o *PutRegisterOK) GetPayload() *models.RegisterResponseParam

type PutRegisterParams

type PutRegisterParams struct {

	/*Authorization
	  Authorization header carrying \"registration_access_token\" issued before as a Bearer token

	*/
	Authorization string
	/*Body*/
	Body *models.RegisterParams
	/*ClientID
	  Client ID that identifies client that must be updated by this request.

	*/
	ClientID string

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

PutRegisterParams contains all the parameters to send to the API endpoint for the put register operation typically these are written to a http.Request

func NewPutRegisterParams

func NewPutRegisterParams() *PutRegisterParams

NewPutRegisterParams creates a new PutRegisterParams object with the default values initialized.

func NewPutRegisterParamsWithContext

func NewPutRegisterParamsWithContext(ctx context.Context) *PutRegisterParams

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

func NewPutRegisterParamsWithHTTPClient

func NewPutRegisterParamsWithHTTPClient(client *http.Client) *PutRegisterParams

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

func NewPutRegisterParamsWithTimeout

func NewPutRegisterParamsWithTimeout(timeout time.Duration) *PutRegisterParams

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

func (*PutRegisterParams) SetAuthorization

func (o *PutRegisterParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the put register params

func (*PutRegisterParams) SetBody

func (o *PutRegisterParams) SetBody(body *models.RegisterParams)

SetBody adds the body to the put register params

func (*PutRegisterParams) SetClientID

func (o *PutRegisterParams) SetClientID(clientID string)

SetClientID adds the clientId to the put register params

func (*PutRegisterParams) SetContext

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

SetContext adds the context to the put register params

func (*PutRegisterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put register params

func (*PutRegisterParams) SetTimeout

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

SetTimeout adds the timeout to the put register params

func (*PutRegisterParams) WithAuthorization

func (o *PutRegisterParams) WithAuthorization(authorization string) *PutRegisterParams

WithAuthorization adds the authorization to the put register params

func (*PutRegisterParams) WithBody

WithBody adds the body to the put register params

func (*PutRegisterParams) WithClientID

func (o *PutRegisterParams) WithClientID(clientID string) *PutRegisterParams

WithClientID adds the clientID to the put register params

func (*PutRegisterParams) WithContext

func (o *PutRegisterParams) WithContext(ctx context.Context) *PutRegisterParams

WithContext adds the context to the put register params

func (*PutRegisterParams) WithHTTPClient

func (o *PutRegisterParams) WithHTTPClient(client *http.Client) *PutRegisterParams

WithHTTPClient adds the HTTPClient to the put register params

func (*PutRegisterParams) WithTimeout

func (o *PutRegisterParams) WithTimeout(timeout time.Duration) *PutRegisterParams

WithTimeout adds the timeout to the put register params

func (*PutRegisterParams) WriteToRequest

func (o *PutRegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutRegisterReader

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

PutRegisterReader is a Reader for the PutRegister structure.

func (*PutRegisterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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