operations

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: May 4, 2019 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 operations API

func New

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

New creates a new operations API client.

func (*Client) GetWellKnown

func (a *Client) GetWellKnown(params *GetWellKnownParams) (*GetWellKnownOK, error)

GetWellKnown returns well known keys

This endpoint returns public keys for validating the ID tokens issued by ORY Oathkeeper.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetWellKnownForbidden

type GetWellKnownForbidden struct {
	Payload *GetWellKnownForbiddenBody
}

GetWellKnownForbidden handles this case with default header values.

The standard error format

func NewGetWellKnownForbidden

func NewGetWellKnownForbidden() *GetWellKnownForbidden

NewGetWellKnownForbidden creates a GetWellKnownForbidden with default headers values

func (*GetWellKnownForbidden) Error

func (o *GetWellKnownForbidden) Error() string

type GetWellKnownForbiddenBody

type GetWellKnownForbiddenBody struct {

	// code
	Code int64 `json:"code,omitempty"`

	// details
	Details []map[string]interface{} `json:"details"`

	// message
	Message string `json:"message,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// request
	Request string `json:"request,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

GetWellKnownForbiddenBody get well known forbidden body swagger:model GetWellKnownForbiddenBody

func (*GetWellKnownForbiddenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetWellKnownForbiddenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetWellKnownForbiddenBody) Validate

func (o *GetWellKnownForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this get well known forbidden body

type GetWellKnownOK

type GetWellKnownOK struct {
	Payload *models.SwaggerJSONWebKeySet
}

GetWellKnownOK handles this case with default header values.

jsonWebKeySet

func NewGetWellKnownOK

func NewGetWellKnownOK() *GetWellKnownOK

NewGetWellKnownOK creates a GetWellKnownOK with default headers values

func (*GetWellKnownOK) Error

func (o *GetWellKnownOK) Error() string

type GetWellKnownParams

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

GetWellKnownParams contains all the parameters to send to the API endpoint for the get well known operation typically these are written to a http.Request

func NewGetWellKnownParams

func NewGetWellKnownParams() *GetWellKnownParams

NewGetWellKnownParams creates a new GetWellKnownParams object with the default values initialized.

func NewGetWellKnownParamsWithContext

func NewGetWellKnownParamsWithContext(ctx context.Context) *GetWellKnownParams

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

func NewGetWellKnownParamsWithHTTPClient

func NewGetWellKnownParamsWithHTTPClient(client *http.Client) *GetWellKnownParams

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

func NewGetWellKnownParamsWithTimeout

func NewGetWellKnownParamsWithTimeout(timeout time.Duration) *GetWellKnownParams

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

func (*GetWellKnownParams) SetContext

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

SetContext adds the context to the get well known params

func (*GetWellKnownParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get well known params

func (*GetWellKnownParams) SetTimeout

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

SetTimeout adds the timeout to the get well known params

func (*GetWellKnownParams) WithContext

WithContext adds the context to the get well known params

func (*GetWellKnownParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get well known params

func (*GetWellKnownParams) WithTimeout

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

WithTimeout adds the timeout to the get well known params

func (*GetWellKnownParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetWellKnownReader

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

GetWellKnownReader is a Reader for the GetWellKnown structure.

func (*GetWellKnownReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWellKnownUnauthorized

type GetWellKnownUnauthorized struct {
	Payload *GetWellKnownUnauthorizedBody
}

GetWellKnownUnauthorized handles this case with default header values.

The standard error format

func NewGetWellKnownUnauthorized

func NewGetWellKnownUnauthorized() *GetWellKnownUnauthorized

NewGetWellKnownUnauthorized creates a GetWellKnownUnauthorized with default headers values

func (*GetWellKnownUnauthorized) Error

func (o *GetWellKnownUnauthorized) Error() string

type GetWellKnownUnauthorizedBody

type GetWellKnownUnauthorizedBody struct {

	// code
	Code int64 `json:"code,omitempty"`

	// details
	Details []map[string]interface{} `json:"details"`

	// message
	Message string `json:"message,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// request
	Request string `json:"request,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

GetWellKnownUnauthorizedBody get well known unauthorized body swagger:model GetWellKnownUnauthorizedBody

func (*GetWellKnownUnauthorizedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetWellKnownUnauthorizedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetWellKnownUnauthorizedBody) Validate

func (o *GetWellKnownUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get well known unauthorized body

Jump to

Keyboard shortcuts

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