client

package
v0.0.0-...-b9360c4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateOidcPath

func AuthenticateOidcPath() string

AuthenticateOidcPath returns the URL path to the oidc service authenticate HTTP endpoint.

func BuildAuthenticatePayload

func BuildAuthenticatePayload(oidcAuthenticateState string, oidcAuthenticateSessionState string, oidcAuthenticateCode string) (*oidc.AuthenticatePayload, error)

BuildAuthenticatePayload builds the payload for the oidc authenticate endpoint from CLI flags.

func BuildRequiredPayload

func BuildRequiredPayload(oidcRequiredAfter string, oidcRequiredFollow string, oidcRequiredToken string) (*oidc.RequiredPayload, error)

BuildRequiredPayload builds the payload for the oidc required endpoint from CLI flags.

func BuildURLPayload

func BuildURLPayload(oidcURLAfter string, oidcURLFollow string, oidcURLToken string) (*oidc.URLPayload, error)

BuildURLPayload builds the payload for the oidc url endpoint from CLI flags.

func DecodeAuthenticateResponse

func DecodeAuthenticateResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeAuthenticateResponse returns a decoder for responses returned by the oidc authenticate endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAuthenticateResponse may return the following errors:

  • "user-unverified" (type *goa.ServiceError): http.StatusForbidden
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeRequiredResponse

func DecodeRequiredResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeRequiredResponse returns a decoder for responses returned by the oidc required endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeRequiredResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeURLResponse

func DecodeURLResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeURLResponse returns a decoder for responses returned by the oidc url endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeURLResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func EncodeAuthenticateRequest

func EncodeAuthenticateRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeAuthenticateRequest returns an encoder for requests sent to the oidc authenticate server.

func EncodeRequiredRequest

func EncodeRequiredRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeRequiredRequest returns an encoder for requests sent to the oidc required server.

func EncodeURLRequest

func EncodeURLRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeURLRequest returns an encoder for requests sent to the oidc url server.

func NewAuthenticateBadRequest

func NewAuthenticateBadRequest(body *AuthenticateBadRequestResponseBody) *goa.ServiceError

NewAuthenticateBadRequest builds a oidc service authenticate endpoint bad-request error.

func NewAuthenticateForbidden

func NewAuthenticateForbidden(body *AuthenticateForbiddenResponseBody) *goa.ServiceError

NewAuthenticateForbidden builds a oidc service authenticate endpoint forbidden error.

func NewAuthenticateNotFound

func NewAuthenticateNotFound(body *AuthenticateNotFoundResponseBody) *goa.ServiceError

NewAuthenticateNotFound builds a oidc service authenticate endpoint not-found error.

func NewAuthenticateResultOK

func NewAuthenticateResultOK(body *AuthenticateResponseBody) *oidc.AuthenticateResult

NewAuthenticateResultOK builds a "oidc" service "authenticate" endpoint result from a HTTP "OK" response.

func NewAuthenticateUnauthorized

func NewAuthenticateUnauthorized(body *AuthenticateUnauthorizedResponseBody) *goa.ServiceError

NewAuthenticateUnauthorized builds a oidc service authenticate endpoint unauthorized error.

func NewAuthenticateUserUnverified

func NewAuthenticateUserUnverified(body *AuthenticateUserUnverifiedResponseBody) *goa.ServiceError

NewAuthenticateUserUnverified builds a oidc service authenticate endpoint user-unverified error.

func NewRequiredBadRequest

func NewRequiredBadRequest(body *RequiredBadRequestResponseBody) *goa.ServiceError

NewRequiredBadRequest builds a oidc service required endpoint bad-request error.

func NewRequiredForbidden

func NewRequiredForbidden(body *RequiredForbiddenResponseBody) *goa.ServiceError

NewRequiredForbidden builds a oidc service required endpoint forbidden error.

func NewRequiredNotFound

func NewRequiredNotFound(body *RequiredNotFoundResponseBody) *goa.ServiceError

NewRequiredNotFound builds a oidc service required endpoint not-found error.

func NewRequiredResultTemporaryRedirect

func NewRequiredResultTemporaryRedirect(location string) *oidc.RequiredResult

NewRequiredResultTemporaryRedirect builds a "oidc" service "required" endpoint result from a HTTP "TemporaryRedirect" response.

func NewRequiredUnauthorized

func NewRequiredUnauthorized(body *RequiredUnauthorizedResponseBody) *goa.ServiceError

NewRequiredUnauthorized builds a oidc service required endpoint unauthorized error.

func NewURLBadRequest

func NewURLBadRequest(body *URLBadRequestResponseBody) *goa.ServiceError

NewURLBadRequest builds a oidc service url endpoint bad-request error.

func NewURLForbidden

func NewURLForbidden(body *URLForbiddenResponseBody) *goa.ServiceError

NewURLForbidden builds a oidc service url endpoint forbidden error.

func NewURLNotFound

func NewURLNotFound(body *URLNotFoundResponseBody) *goa.ServiceError

NewURLNotFound builds a oidc service url endpoint not-found error.

func NewURLResultOK

func NewURLResultOK(body *URLResponseBody) *oidc.URLResult

NewURLResultOK builds a "oidc" service "url" endpoint result from a HTTP "OK" response.

func NewURLUnauthorized

func NewURLUnauthorized(body *URLUnauthorizedResponseBody) *goa.ServiceError

NewURLUnauthorized builds a oidc service url endpoint unauthorized error.

func RequiredOidcPath

func RequiredOidcPath() string

RequiredOidcPath returns the URL path to the oidc service required HTTP endpoint.

func URLOidcPath

func URLOidcPath() string

URLOidcPath returns the URL path to the oidc service url HTTP endpoint.

func ValidateAuthenticateBadRequestResponseBody

func ValidateAuthenticateBadRequestResponseBody(body *AuthenticateBadRequestResponseBody) (err error)

ValidateAuthenticateBadRequestResponseBody runs the validations defined on authenticate_bad-request_response_body

func ValidateAuthenticateForbiddenResponseBody

func ValidateAuthenticateForbiddenResponseBody(body *AuthenticateForbiddenResponseBody) (err error)

ValidateAuthenticateForbiddenResponseBody runs the validations defined on authenticate_forbidden_response_body

func ValidateAuthenticateNotFoundResponseBody

func ValidateAuthenticateNotFoundResponseBody(body *AuthenticateNotFoundResponseBody) (err error)

ValidateAuthenticateNotFoundResponseBody runs the validations defined on authenticate_not-found_response_body

func ValidateAuthenticateResponseBody

func ValidateAuthenticateResponseBody(body *AuthenticateResponseBody) (err error)

ValidateAuthenticateResponseBody runs the validations defined on AuthenticateResponseBody

func ValidateAuthenticateUnauthorizedResponseBody

func ValidateAuthenticateUnauthorizedResponseBody(body *AuthenticateUnauthorizedResponseBody) (err error)

ValidateAuthenticateUnauthorizedResponseBody runs the validations defined on authenticate_unauthorized_response_body

func ValidateAuthenticateUserUnverifiedResponseBody

func ValidateAuthenticateUserUnverifiedResponseBody(body *AuthenticateUserUnverifiedResponseBody) (err error)

ValidateAuthenticateUserUnverifiedResponseBody runs the validations defined on authenticate_user-unverified_response_body

func ValidateRequiredBadRequestResponseBody

func ValidateRequiredBadRequestResponseBody(body *RequiredBadRequestResponseBody) (err error)

ValidateRequiredBadRequestResponseBody runs the validations defined on required_bad-request_response_body

func ValidateRequiredForbiddenResponseBody

func ValidateRequiredForbiddenResponseBody(body *RequiredForbiddenResponseBody) (err error)

ValidateRequiredForbiddenResponseBody runs the validations defined on required_forbidden_response_body

func ValidateRequiredNotFoundResponseBody

func ValidateRequiredNotFoundResponseBody(body *RequiredNotFoundResponseBody) (err error)

ValidateRequiredNotFoundResponseBody runs the validations defined on required_not-found_response_body

func ValidateRequiredUnauthorizedResponseBody

func ValidateRequiredUnauthorizedResponseBody(body *RequiredUnauthorizedResponseBody) (err error)

ValidateRequiredUnauthorizedResponseBody runs the validations defined on required_unauthorized_response_body

func ValidateURLBadRequestResponseBody

func ValidateURLBadRequestResponseBody(body *URLBadRequestResponseBody) (err error)

ValidateURLBadRequestResponseBody runs the validations defined on url_bad-request_response_body

func ValidateURLForbiddenResponseBody

func ValidateURLForbiddenResponseBody(body *URLForbiddenResponseBody) (err error)

ValidateURLForbiddenResponseBody runs the validations defined on url_forbidden_response_body

func ValidateURLNotFoundResponseBody

func ValidateURLNotFoundResponseBody(body *URLNotFoundResponseBody) (err error)

ValidateURLNotFoundResponseBody runs the validations defined on url_not-found_response_body

func ValidateURLResponseBody

func ValidateURLResponseBody(body *URLResponseBody) (err error)

ValidateURLResponseBody runs the validations defined on UrlResponseBody

func ValidateURLUnauthorizedResponseBody

func ValidateURLUnauthorizedResponseBody(body *URLUnauthorizedResponseBody) (err error)

ValidateURLUnauthorizedResponseBody runs the validations defined on url_unauthorized_response_body

Types

type AuthenticateBadRequestResponseBody

type AuthenticateBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AuthenticateBadRequestResponseBody is the type of the "oidc" service "authenticate" endpoint HTTP response body for the "bad-request" error.

type AuthenticateForbiddenResponseBody

type AuthenticateForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AuthenticateForbiddenResponseBody is the type of the "oidc" service "authenticate" endpoint HTTP response body for the "forbidden" error.

type AuthenticateNotFoundResponseBody

type AuthenticateNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AuthenticateNotFoundResponseBody is the type of the "oidc" service "authenticate" endpoint HTTP response body for the "not-found" error.

type AuthenticateResponseBody

type AuthenticateResponseBody struct {
	Location *string `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	Token    *string `form:"token,omitempty" json:"token,omitempty" xml:"token,omitempty"`
	Header   *string `form:"header,omitempty" json:"header,omitempty" xml:"header,omitempty"`
}

AuthenticateResponseBody is the type of the "oidc" service "authenticate" endpoint HTTP response body.

type AuthenticateUnauthorizedResponseBody

type AuthenticateUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AuthenticateUnauthorizedResponseBody is the type of the "oidc" service "authenticate" endpoint HTTP response body for the "unauthorized" error.

type AuthenticateUserUnverifiedResponseBody

type AuthenticateUserUnverifiedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AuthenticateUserUnverifiedResponseBody is the type of the "oidc" service "authenticate" endpoint HTTP response body for the "user-unverified" error.

type Client

type Client struct {
	// Required Doer is the HTTP client used to make requests to the required
	// endpoint.
	RequiredDoer goahttp.Doer

	// URL Doer is the HTTP client used to make requests to the url endpoint.
	URLDoer goahttp.Doer

	// Authenticate Doer is the HTTP client used to make requests to the
	// authenticate endpoint.
	AuthenticateDoer goahttp.Doer

	// CORS Doer is the HTTP client used to make requests to the  endpoint.
	CORSDoer goahttp.Doer

	// RestoreResponseBody controls whether the response bodies are reset after
	// decoding so they can be read again.
	RestoreResponseBody bool
	// contains filtered or unexported fields
}

Client lists the oidc service endpoint HTTP clients.

func NewClient

func NewClient(
	scheme string,
	host string,
	doer goahttp.Doer,
	enc func(*http.Request) goahttp.Encoder,
	dec func(*http.Response) goahttp.Decoder,
	restoreBody bool,
) *Client

NewClient instantiates HTTP clients for all the oidc service servers.

func (*Client) Authenticate

func (c *Client) Authenticate() goa.Endpoint

Authenticate returns an endpoint that makes HTTP requests to the oidc service authenticate server.

func (*Client) BuildAuthenticateRequest

func (c *Client) BuildAuthenticateRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildAuthenticateRequest instantiates a HTTP request object with method and path set to call the "oidc" service "authenticate" endpoint

func (*Client) BuildRequiredRequest

func (c *Client) BuildRequiredRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildRequiredRequest instantiates a HTTP request object with method and path set to call the "oidc" service "required" endpoint

func (*Client) BuildURLRequest

func (c *Client) BuildURLRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildURLRequest instantiates a HTTP request object with method and path set to call the "oidc" service "url" endpoint

func (*Client) Required

func (c *Client) Required() goa.Endpoint

Required returns an endpoint that makes HTTP requests to the oidc service required server.

func (*Client) URL

func (c *Client) URL() goa.Endpoint

URL returns an endpoint that makes HTTP requests to the oidc service url server.

type RequiredBadRequestResponseBody

type RequiredBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RequiredBadRequestResponseBody is the type of the "oidc" service "required" endpoint HTTP response body for the "bad-request" error.

type RequiredForbiddenResponseBody

type RequiredForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RequiredForbiddenResponseBody is the type of the "oidc" service "required" endpoint HTTP response body for the "forbidden" error.

type RequiredNotFoundResponseBody

type RequiredNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RequiredNotFoundResponseBody is the type of the "oidc" service "required" endpoint HTTP response body for the "not-found" error.

type RequiredUnauthorizedResponseBody

type RequiredUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RequiredUnauthorizedResponseBody is the type of the "oidc" service "required" endpoint HTTP response body for the "unauthorized" error.

type URLBadRequestResponseBody

type URLBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

URLBadRequestResponseBody is the type of the "oidc" service "url" endpoint HTTP response body for the "bad-request" error.

type URLForbiddenResponseBody

type URLForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

URLForbiddenResponseBody is the type of the "oidc" service "url" endpoint HTTP response body for the "forbidden" error.

type URLNotFoundResponseBody

type URLNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

URLNotFoundResponseBody is the type of the "oidc" service "url" endpoint HTTP response body for the "not-found" error.

type URLResponseBody

type URLResponseBody struct {
	Location *string `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
}

URLResponseBody is the type of the "oidc" service "url" endpoint HTTP response body.

type URLUnauthorizedResponseBody

type URLUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

URLUnauthorizedResponseBody is the type of the "oidc" service "url" endpoint HTTP response body for the "unauthorized" error.

Jump to

Keyboard shortcuts

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