public

package
v0.0.3-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 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 Client

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

Client for public API

func New

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

New creates a new public API client.

func (*Client) CompleteSelfServiceBrowserProfileManagementFlow

func (a *Client) CompleteSelfServiceBrowserProfileManagementFlow(params *CompleteSelfServiceBrowserProfileManagementFlowParams) error

CompleteSelfServiceBrowserProfileManagementFlow completes the browser based profile management flows

This endpoint completes a browser-based profile management flow. This is usually achieved by POSTing data to this endpoint.

If the provided profile data is valid against the Identity's Traits JSON Schema, the data will be updated and the browser redirected to `url.profile_ui` for further steps.

> This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...) and HTML Forms.

More information can be found at [ORY Kratos Profile Management Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-profile-management).

func (*Client) InitializeSelfServiceBrowserLoginFlow

func (a *Client) InitializeSelfServiceBrowserLoginFlow(params *InitializeSelfServiceBrowserLoginFlowParams) error

InitializeSelfServiceBrowserLoginFlow initializes browser based login user flow

This endpoint initializes a browser-based user login flow. Once initialized, the browser will be redirected to `urls.login_ui` with the request ID set as a query parameter. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`.

> This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

More information can be found at [ORY Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

func (*Client) InitializeSelfServiceBrowserLogoutFlow

func (a *Client) InitializeSelfServiceBrowserLogoutFlow(params *InitializeSelfServiceBrowserLogoutFlowParams) error

InitializeSelfServiceBrowserLogoutFlow initializes browser based logout user flow

This endpoint initializes a logout flow.

> This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

On successful logout, the browser will be redirected (HTTP 302 Found) to `urls.default_return_to`.

More information can be found at [ORY Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).

func (*Client) InitializeSelfServiceBrowserRegistrationFlow

func (a *Client) InitializeSelfServiceBrowserRegistrationFlow(params *InitializeSelfServiceBrowserRegistrationFlowParams) error

InitializeSelfServiceBrowserRegistrationFlow initializes browser based registration user flow

This endpoint initializes a browser-based user registration flow. Once initialized, the browser will be redirected to `urls.registration_ui` with the request ID set as a query parameter. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`.

> This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

More information can be found at [ORY Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

func (*Client) InitializeSelfServiceProfileManagementFlow

func (a *Client) InitializeSelfServiceProfileManagementFlow(params *InitializeSelfServiceProfileManagementFlowParams) error

InitializeSelfServiceProfileManagementFlow initializes browser based profile management flow

This endpoint initializes a browser-based profile management flow. Once initialized, the browser will be redirected to `urls.profile_ui` with the request ID set as a query parameter. If no valid user session exists, a login flow will be initialized.

> This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

More information can be found at [ORY Kratos Profile Management Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-profile-management).

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Whoami

func (a *Client) Whoami(params *WhoamiParams) (*WhoamiOK, error)

Whoami checks who the current HTTP session belongs to

Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object or 401 if the credentials are invalid or no credentials were sent.

This endpoint is useful for reverse proxies and API Gateways.

type CompleteSelfServiceBrowserProfileManagementFlowFound

type CompleteSelfServiceBrowserProfileManagementFlowFound struct {
}

CompleteSelfServiceBrowserProfileManagementFlowFound handles this case with default header values.

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.

func NewCompleteSelfServiceBrowserProfileManagementFlowFound

func NewCompleteSelfServiceBrowserProfileManagementFlowFound() *CompleteSelfServiceBrowserProfileManagementFlowFound

NewCompleteSelfServiceBrowserProfileManagementFlowFound creates a CompleteSelfServiceBrowserProfileManagementFlowFound with default headers values

func (*CompleteSelfServiceBrowserProfileManagementFlowFound) Error

type CompleteSelfServiceBrowserProfileManagementFlowInternalServerError

type CompleteSelfServiceBrowserProfileManagementFlowInternalServerError struct {
	Payload *models.GenericError
}

CompleteSelfServiceBrowserProfileManagementFlowInternalServerError handles this case with default header values.

genericError

func NewCompleteSelfServiceBrowserProfileManagementFlowInternalServerError

func NewCompleteSelfServiceBrowserProfileManagementFlowInternalServerError() *CompleteSelfServiceBrowserProfileManagementFlowInternalServerError

NewCompleteSelfServiceBrowserProfileManagementFlowInternalServerError creates a CompleteSelfServiceBrowserProfileManagementFlowInternalServerError with default headers values

func (*CompleteSelfServiceBrowserProfileManagementFlowInternalServerError) Error

func (*CompleteSelfServiceBrowserProfileManagementFlowInternalServerError) GetPayload

type CompleteSelfServiceBrowserProfileManagementFlowParams

type CompleteSelfServiceBrowserProfileManagementFlowParams struct {

	/*Body*/
	Body *models.CompleteSelfServiceBrowserProfileManagementFlowPayload
	/*Request
	  Request is the request ID.

	type: string

	*/
	Request *strfmt.UUID4

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

CompleteSelfServiceBrowserProfileManagementFlowParams contains all the parameters to send to the API endpoint for the complete self service browser profile management flow operation typically these are written to a http.Request

func NewCompleteSelfServiceBrowserProfileManagementFlowParams

func NewCompleteSelfServiceBrowserProfileManagementFlowParams() *CompleteSelfServiceBrowserProfileManagementFlowParams

NewCompleteSelfServiceBrowserProfileManagementFlowParams creates a new CompleteSelfServiceBrowserProfileManagementFlowParams object with the default values initialized.

func NewCompleteSelfServiceBrowserProfileManagementFlowParamsWithContext

func NewCompleteSelfServiceBrowserProfileManagementFlowParamsWithContext(ctx context.Context) *CompleteSelfServiceBrowserProfileManagementFlowParams

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

func NewCompleteSelfServiceBrowserProfileManagementFlowParamsWithHTTPClient

func NewCompleteSelfServiceBrowserProfileManagementFlowParamsWithHTTPClient(client *http.Client) *CompleteSelfServiceBrowserProfileManagementFlowParams

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

func NewCompleteSelfServiceBrowserProfileManagementFlowParamsWithTimeout

func NewCompleteSelfServiceBrowserProfileManagementFlowParamsWithTimeout(timeout time.Duration) *CompleteSelfServiceBrowserProfileManagementFlowParams

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

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) SetBody

SetBody adds the body to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) SetContext

SetContext adds the context to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) SetRequest

SetRequest adds the request to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) SetTimeout

SetTimeout adds the timeout to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) WithBody

WithBody adds the body to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) WithContext

WithContext adds the context to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) WithRequest

WithRequest adds the request to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) WithTimeout

WithTimeout adds the timeout to the complete self service browser profile management flow params

func (*CompleteSelfServiceBrowserProfileManagementFlowParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteSelfServiceBrowserProfileManagementFlowReader

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

CompleteSelfServiceBrowserProfileManagementFlowReader is a Reader for the CompleteSelfServiceBrowserProfileManagementFlow structure.

func (*CompleteSelfServiceBrowserProfileManagementFlowReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InitializeSelfServiceBrowserLoginFlowFound

type InitializeSelfServiceBrowserLoginFlowFound struct {
}

InitializeSelfServiceBrowserLoginFlowFound handles this case with default header values.

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.

func NewInitializeSelfServiceBrowserLoginFlowFound

func NewInitializeSelfServiceBrowserLoginFlowFound() *InitializeSelfServiceBrowserLoginFlowFound

NewInitializeSelfServiceBrowserLoginFlowFound creates a InitializeSelfServiceBrowserLoginFlowFound with default headers values

func (*InitializeSelfServiceBrowserLoginFlowFound) Error

type InitializeSelfServiceBrowserLoginFlowInternalServerError

type InitializeSelfServiceBrowserLoginFlowInternalServerError struct {
	Payload *models.GenericError
}

InitializeSelfServiceBrowserLoginFlowInternalServerError handles this case with default header values.

genericError

func NewInitializeSelfServiceBrowserLoginFlowInternalServerError

func NewInitializeSelfServiceBrowserLoginFlowInternalServerError() *InitializeSelfServiceBrowserLoginFlowInternalServerError

NewInitializeSelfServiceBrowserLoginFlowInternalServerError creates a InitializeSelfServiceBrowserLoginFlowInternalServerError with default headers values

func (*InitializeSelfServiceBrowserLoginFlowInternalServerError) Error

func (*InitializeSelfServiceBrowserLoginFlowInternalServerError) GetPayload

type InitializeSelfServiceBrowserLoginFlowParams

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

InitializeSelfServiceBrowserLoginFlowParams contains all the parameters to send to the API endpoint for the initialize self service browser login flow operation typically these are written to a http.Request

func NewInitializeSelfServiceBrowserLoginFlowParams

func NewInitializeSelfServiceBrowserLoginFlowParams() *InitializeSelfServiceBrowserLoginFlowParams

NewInitializeSelfServiceBrowserLoginFlowParams creates a new InitializeSelfServiceBrowserLoginFlowParams object with the default values initialized.

func NewInitializeSelfServiceBrowserLoginFlowParamsWithContext

func NewInitializeSelfServiceBrowserLoginFlowParamsWithContext(ctx context.Context) *InitializeSelfServiceBrowserLoginFlowParams

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

func NewInitializeSelfServiceBrowserLoginFlowParamsWithHTTPClient

func NewInitializeSelfServiceBrowserLoginFlowParamsWithHTTPClient(client *http.Client) *InitializeSelfServiceBrowserLoginFlowParams

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

func NewInitializeSelfServiceBrowserLoginFlowParamsWithTimeout

func NewInitializeSelfServiceBrowserLoginFlowParamsWithTimeout(timeout time.Duration) *InitializeSelfServiceBrowserLoginFlowParams

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

func (*InitializeSelfServiceBrowserLoginFlowParams) SetContext

SetContext adds the context to the initialize self service browser login flow params

func (*InitializeSelfServiceBrowserLoginFlowParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the initialize self service browser login flow params

func (*InitializeSelfServiceBrowserLoginFlowParams) SetTimeout

SetTimeout adds the timeout to the initialize self service browser login flow params

func (*InitializeSelfServiceBrowserLoginFlowParams) WithContext

WithContext adds the context to the initialize self service browser login flow params

func (*InitializeSelfServiceBrowserLoginFlowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the initialize self service browser login flow params

func (*InitializeSelfServiceBrowserLoginFlowParams) WithTimeout

WithTimeout adds the timeout to the initialize self service browser login flow params

func (*InitializeSelfServiceBrowserLoginFlowParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InitializeSelfServiceBrowserLoginFlowReader

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

InitializeSelfServiceBrowserLoginFlowReader is a Reader for the InitializeSelfServiceBrowserLoginFlow structure.

func (*InitializeSelfServiceBrowserLoginFlowReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InitializeSelfServiceBrowserLogoutFlowFound

type InitializeSelfServiceBrowserLogoutFlowFound struct {
}

InitializeSelfServiceBrowserLogoutFlowFound handles this case with default header values.

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.

func NewInitializeSelfServiceBrowserLogoutFlowFound

func NewInitializeSelfServiceBrowserLogoutFlowFound() *InitializeSelfServiceBrowserLogoutFlowFound

NewInitializeSelfServiceBrowserLogoutFlowFound creates a InitializeSelfServiceBrowserLogoutFlowFound with default headers values

func (*InitializeSelfServiceBrowserLogoutFlowFound) Error

type InitializeSelfServiceBrowserLogoutFlowInternalServerError

type InitializeSelfServiceBrowserLogoutFlowInternalServerError struct {
	Payload *models.GenericError
}

InitializeSelfServiceBrowserLogoutFlowInternalServerError handles this case with default header values.

genericError

func NewInitializeSelfServiceBrowserLogoutFlowInternalServerError

func NewInitializeSelfServiceBrowserLogoutFlowInternalServerError() *InitializeSelfServiceBrowserLogoutFlowInternalServerError

NewInitializeSelfServiceBrowserLogoutFlowInternalServerError creates a InitializeSelfServiceBrowserLogoutFlowInternalServerError with default headers values

func (*InitializeSelfServiceBrowserLogoutFlowInternalServerError) Error

func (*InitializeSelfServiceBrowserLogoutFlowInternalServerError) GetPayload

type InitializeSelfServiceBrowserLogoutFlowParams

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

InitializeSelfServiceBrowserLogoutFlowParams contains all the parameters to send to the API endpoint for the initialize self service browser logout flow operation typically these are written to a http.Request

func NewInitializeSelfServiceBrowserLogoutFlowParams

func NewInitializeSelfServiceBrowserLogoutFlowParams() *InitializeSelfServiceBrowserLogoutFlowParams

NewInitializeSelfServiceBrowserLogoutFlowParams creates a new InitializeSelfServiceBrowserLogoutFlowParams object with the default values initialized.

func NewInitializeSelfServiceBrowserLogoutFlowParamsWithContext

func NewInitializeSelfServiceBrowserLogoutFlowParamsWithContext(ctx context.Context) *InitializeSelfServiceBrowserLogoutFlowParams

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

func NewInitializeSelfServiceBrowserLogoutFlowParamsWithHTTPClient

func NewInitializeSelfServiceBrowserLogoutFlowParamsWithHTTPClient(client *http.Client) *InitializeSelfServiceBrowserLogoutFlowParams

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

func NewInitializeSelfServiceBrowserLogoutFlowParamsWithTimeout

func NewInitializeSelfServiceBrowserLogoutFlowParamsWithTimeout(timeout time.Duration) *InitializeSelfServiceBrowserLogoutFlowParams

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

func (*InitializeSelfServiceBrowserLogoutFlowParams) SetContext

SetContext adds the context to the initialize self service browser logout flow params

func (*InitializeSelfServiceBrowserLogoutFlowParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the initialize self service browser logout flow params

func (*InitializeSelfServiceBrowserLogoutFlowParams) SetTimeout

SetTimeout adds the timeout to the initialize self service browser logout flow params

func (*InitializeSelfServiceBrowserLogoutFlowParams) WithContext

WithContext adds the context to the initialize self service browser logout flow params

func (*InitializeSelfServiceBrowserLogoutFlowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the initialize self service browser logout flow params

func (*InitializeSelfServiceBrowserLogoutFlowParams) WithTimeout

WithTimeout adds the timeout to the initialize self service browser logout flow params

func (*InitializeSelfServiceBrowserLogoutFlowParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InitializeSelfServiceBrowserLogoutFlowReader

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

InitializeSelfServiceBrowserLogoutFlowReader is a Reader for the InitializeSelfServiceBrowserLogoutFlow structure.

func (*InitializeSelfServiceBrowserLogoutFlowReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InitializeSelfServiceBrowserRegistrationFlowFound

type InitializeSelfServiceBrowserRegistrationFlowFound struct {
}

InitializeSelfServiceBrowserRegistrationFlowFound handles this case with default header values.

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.

func NewInitializeSelfServiceBrowserRegistrationFlowFound

func NewInitializeSelfServiceBrowserRegistrationFlowFound() *InitializeSelfServiceBrowserRegistrationFlowFound

NewInitializeSelfServiceBrowserRegistrationFlowFound creates a InitializeSelfServiceBrowserRegistrationFlowFound with default headers values

func (*InitializeSelfServiceBrowserRegistrationFlowFound) Error

type InitializeSelfServiceBrowserRegistrationFlowInternalServerError

type InitializeSelfServiceBrowserRegistrationFlowInternalServerError struct {
	Payload *models.GenericError
}

InitializeSelfServiceBrowserRegistrationFlowInternalServerError handles this case with default header values.

genericError

func NewInitializeSelfServiceBrowserRegistrationFlowInternalServerError

func NewInitializeSelfServiceBrowserRegistrationFlowInternalServerError() *InitializeSelfServiceBrowserRegistrationFlowInternalServerError

NewInitializeSelfServiceBrowserRegistrationFlowInternalServerError creates a InitializeSelfServiceBrowserRegistrationFlowInternalServerError with default headers values

func (*InitializeSelfServiceBrowserRegistrationFlowInternalServerError) Error

func (*InitializeSelfServiceBrowserRegistrationFlowInternalServerError) GetPayload

type InitializeSelfServiceBrowserRegistrationFlowParams

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

InitializeSelfServiceBrowserRegistrationFlowParams contains all the parameters to send to the API endpoint for the initialize self service browser registration flow operation typically these are written to a http.Request

func NewInitializeSelfServiceBrowserRegistrationFlowParams

func NewInitializeSelfServiceBrowserRegistrationFlowParams() *InitializeSelfServiceBrowserRegistrationFlowParams

NewInitializeSelfServiceBrowserRegistrationFlowParams creates a new InitializeSelfServiceBrowserRegistrationFlowParams object with the default values initialized.

func NewInitializeSelfServiceBrowserRegistrationFlowParamsWithContext

func NewInitializeSelfServiceBrowserRegistrationFlowParamsWithContext(ctx context.Context) *InitializeSelfServiceBrowserRegistrationFlowParams

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

func NewInitializeSelfServiceBrowserRegistrationFlowParamsWithHTTPClient

func NewInitializeSelfServiceBrowserRegistrationFlowParamsWithHTTPClient(client *http.Client) *InitializeSelfServiceBrowserRegistrationFlowParams

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

func NewInitializeSelfServiceBrowserRegistrationFlowParamsWithTimeout

func NewInitializeSelfServiceBrowserRegistrationFlowParamsWithTimeout(timeout time.Duration) *InitializeSelfServiceBrowserRegistrationFlowParams

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

func (*InitializeSelfServiceBrowserRegistrationFlowParams) SetContext

SetContext adds the context to the initialize self service browser registration flow params

func (*InitializeSelfServiceBrowserRegistrationFlowParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the initialize self service browser registration flow params

func (*InitializeSelfServiceBrowserRegistrationFlowParams) SetTimeout

SetTimeout adds the timeout to the initialize self service browser registration flow params

func (*InitializeSelfServiceBrowserRegistrationFlowParams) WithContext

WithContext adds the context to the initialize self service browser registration flow params

func (*InitializeSelfServiceBrowserRegistrationFlowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the initialize self service browser registration flow params

func (*InitializeSelfServiceBrowserRegistrationFlowParams) WithTimeout

WithTimeout adds the timeout to the initialize self service browser registration flow params

func (*InitializeSelfServiceBrowserRegistrationFlowParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InitializeSelfServiceBrowserRegistrationFlowReader

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

InitializeSelfServiceBrowserRegistrationFlowReader is a Reader for the InitializeSelfServiceBrowserRegistrationFlow structure.

func (*InitializeSelfServiceBrowserRegistrationFlowReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InitializeSelfServiceProfileManagementFlowFound

type InitializeSelfServiceProfileManagementFlowFound struct {
}

InitializeSelfServiceProfileManagementFlowFound handles this case with default header values.

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.

func NewInitializeSelfServiceProfileManagementFlowFound

func NewInitializeSelfServiceProfileManagementFlowFound() *InitializeSelfServiceProfileManagementFlowFound

NewInitializeSelfServiceProfileManagementFlowFound creates a InitializeSelfServiceProfileManagementFlowFound with default headers values

func (*InitializeSelfServiceProfileManagementFlowFound) Error

type InitializeSelfServiceProfileManagementFlowInternalServerError

type InitializeSelfServiceProfileManagementFlowInternalServerError struct {
	Payload *models.GenericError
}

InitializeSelfServiceProfileManagementFlowInternalServerError handles this case with default header values.

genericError

func NewInitializeSelfServiceProfileManagementFlowInternalServerError

func NewInitializeSelfServiceProfileManagementFlowInternalServerError() *InitializeSelfServiceProfileManagementFlowInternalServerError

NewInitializeSelfServiceProfileManagementFlowInternalServerError creates a InitializeSelfServiceProfileManagementFlowInternalServerError with default headers values

func (*InitializeSelfServiceProfileManagementFlowInternalServerError) Error

func (*InitializeSelfServiceProfileManagementFlowInternalServerError) GetPayload

type InitializeSelfServiceProfileManagementFlowParams

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

InitializeSelfServiceProfileManagementFlowParams contains all the parameters to send to the API endpoint for the initialize self service profile management flow operation typically these are written to a http.Request

func NewInitializeSelfServiceProfileManagementFlowParams

func NewInitializeSelfServiceProfileManagementFlowParams() *InitializeSelfServiceProfileManagementFlowParams

NewInitializeSelfServiceProfileManagementFlowParams creates a new InitializeSelfServiceProfileManagementFlowParams object with the default values initialized.

func NewInitializeSelfServiceProfileManagementFlowParamsWithContext

func NewInitializeSelfServiceProfileManagementFlowParamsWithContext(ctx context.Context) *InitializeSelfServiceProfileManagementFlowParams

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

func NewInitializeSelfServiceProfileManagementFlowParamsWithHTTPClient

func NewInitializeSelfServiceProfileManagementFlowParamsWithHTTPClient(client *http.Client) *InitializeSelfServiceProfileManagementFlowParams

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

func NewInitializeSelfServiceProfileManagementFlowParamsWithTimeout

func NewInitializeSelfServiceProfileManagementFlowParamsWithTimeout(timeout time.Duration) *InitializeSelfServiceProfileManagementFlowParams

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

func (*InitializeSelfServiceProfileManagementFlowParams) SetContext

SetContext adds the context to the initialize self service profile management flow params

func (*InitializeSelfServiceProfileManagementFlowParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the initialize self service profile management flow params

func (*InitializeSelfServiceProfileManagementFlowParams) SetTimeout

SetTimeout adds the timeout to the initialize self service profile management flow params

func (*InitializeSelfServiceProfileManagementFlowParams) WithContext

WithContext adds the context to the initialize self service profile management flow params

func (*InitializeSelfServiceProfileManagementFlowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the initialize self service profile management flow params

func (*InitializeSelfServiceProfileManagementFlowParams) WithTimeout

WithTimeout adds the timeout to the initialize self service profile management flow params

func (*InitializeSelfServiceProfileManagementFlowParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InitializeSelfServiceProfileManagementFlowReader

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

InitializeSelfServiceProfileManagementFlowReader is a Reader for the InitializeSelfServiceProfileManagementFlow structure.

func (*InitializeSelfServiceProfileManagementFlowReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WhoamiForbidden

type WhoamiForbidden struct {
	Payload *models.GenericError
}

WhoamiForbidden handles this case with default header values.

genericError

func NewWhoamiForbidden

func NewWhoamiForbidden() *WhoamiForbidden

NewWhoamiForbidden creates a WhoamiForbidden with default headers values

func (*WhoamiForbidden) Error

func (o *WhoamiForbidden) Error() string

func (*WhoamiForbidden) GetPayload

func (o *WhoamiForbidden) GetPayload() *models.GenericError

type WhoamiInternalServerError

type WhoamiInternalServerError struct {
	Payload *models.GenericError
}

WhoamiInternalServerError handles this case with default header values.

genericError

func NewWhoamiInternalServerError

func NewWhoamiInternalServerError() *WhoamiInternalServerError

NewWhoamiInternalServerError creates a WhoamiInternalServerError with default headers values

func (*WhoamiInternalServerError) Error

func (o *WhoamiInternalServerError) Error() string

func (*WhoamiInternalServerError) GetPayload

type WhoamiOK

type WhoamiOK struct {
	Payload *models.Session
}

WhoamiOK handles this case with default header values.

session

func NewWhoamiOK

func NewWhoamiOK() *WhoamiOK

NewWhoamiOK creates a WhoamiOK with default headers values

func (*WhoamiOK) Error

func (o *WhoamiOK) Error() string

func (*WhoamiOK) GetPayload

func (o *WhoamiOK) GetPayload() *models.Session

type WhoamiParams

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

WhoamiParams contains all the parameters to send to the API endpoint for the whoami operation typically these are written to a http.Request

func NewWhoamiParams

func NewWhoamiParams() *WhoamiParams

NewWhoamiParams creates a new WhoamiParams object with the default values initialized.

func NewWhoamiParamsWithContext

func NewWhoamiParamsWithContext(ctx context.Context) *WhoamiParams

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

func NewWhoamiParamsWithHTTPClient

func NewWhoamiParamsWithHTTPClient(client *http.Client) *WhoamiParams

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

func NewWhoamiParamsWithTimeout

func NewWhoamiParamsWithTimeout(timeout time.Duration) *WhoamiParams

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

func (*WhoamiParams) SetContext

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

SetContext adds the context to the whoami params

func (*WhoamiParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the whoami params

func (*WhoamiParams) SetTimeout

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

SetTimeout adds the timeout to the whoami params

func (*WhoamiParams) WithContext

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

WithContext adds the context to the whoami params

func (*WhoamiParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the whoami params

func (*WhoamiParams) WithTimeout

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

WithTimeout adds the timeout to the whoami params

func (*WhoamiParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type WhoamiReader

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

WhoamiReader is a Reader for the Whoami structure.

func (*WhoamiReader) ReadResponse

func (o *WhoamiReader) 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