openapi

package
v0.2.44 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 6

Documentation

Overview

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

View Source
const (
	Oauth2AuthenticationScopes = "oauth2Authentication.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewDeleteApiV1OrganizationsOrganizationIDGroupsGroupidRequest

func NewDeleteApiV1OrganizationsOrganizationIDGroupsGroupidRequest(server string, organizationID OrganizationIDParameter, groupid GroupidParameter) (*http.Request, error)

NewDeleteApiV1OrganizationsOrganizationIDGroupsGroupidRequest generates requests for DeleteApiV1OrganizationsOrganizationIDGroupsGroupid

func NewDeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequest

func NewDeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequest(server string, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter) (*http.Request, error)

NewDeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequest generates requests for DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID

func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDRequest

func NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter) (*http.Request, error)

NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDRequest generates requests for DeleteApiV1OrganizationsOrganizationIDProjectsProjectID

func NewGetApiV1Oauth2providersRequest

func NewGetApiV1Oauth2providersRequest(server string) (*http.Request, error)

NewGetApiV1Oauth2providersRequest generates requests for GetApiV1Oauth2providers

func NewGetApiV1OrganizationsOrganizationIDAclRequest

func NewGetApiV1OrganizationsOrganizationIDAclRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDAclRequest generates requests for GetApiV1OrganizationsOrganizationIDAcl

func NewGetApiV1OrganizationsOrganizationIDAvailableGroupsRequest

func NewGetApiV1OrganizationsOrganizationIDAvailableGroupsRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDAvailableGroupsRequest generates requests for GetApiV1OrganizationsOrganizationIDAvailableGroups

func NewGetApiV1OrganizationsOrganizationIDGroupsGroupidRequest

func NewGetApiV1OrganizationsOrganizationIDGroupsGroupidRequest(server string, organizationID OrganizationIDParameter, groupid GroupidParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDGroupsGroupidRequest generates requests for GetApiV1OrganizationsOrganizationIDGroupsGroupid

func NewGetApiV1OrganizationsOrganizationIDGroupsRequest

func NewGetApiV1OrganizationsOrganizationIDGroupsRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDGroupsRequest generates requests for GetApiV1OrganizationsOrganizationIDGroups

func NewGetApiV1OrganizationsOrganizationIDOauth2providersRequest

func NewGetApiV1OrganizationsOrganizationIDOauth2providersRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDOauth2providersRequest generates requests for GetApiV1OrganizationsOrganizationIDOauth2providers

func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDRequest

func NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDRequest generates requests for GetApiV1OrganizationsOrganizationIDProjectsProjectID

func NewGetApiV1OrganizationsOrganizationIDProjectsRequest

func NewGetApiV1OrganizationsOrganizationIDProjectsRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDProjectsRequest generates requests for GetApiV1OrganizationsOrganizationIDProjects

func NewGetApiV1OrganizationsOrganizationIDRequest

func NewGetApiV1OrganizationsOrganizationIDRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDRequest generates requests for GetApiV1OrganizationsOrganizationID

func NewGetApiV1OrganizationsOrganizationIDRolesRequest

func NewGetApiV1OrganizationsOrganizationIDRolesRequest(server string, organizationID OrganizationIDParameter) (*http.Request, error)

NewGetApiV1OrganizationsOrganizationIDRolesRequest generates requests for GetApiV1OrganizationsOrganizationIDRoles

func NewGetApiV1OrganizationsRequest

func NewGetApiV1OrganizationsRequest(server string) (*http.Request, error)

NewGetApiV1OrganizationsRequest generates requests for GetApiV1Organizations

func NewGetOauth2V2AuthorizationRequest

func NewGetOauth2V2AuthorizationRequest(server string) (*http.Request, error)

NewGetOauth2V2AuthorizationRequest generates requests for GetOauth2V2Authorization

func NewGetOauth2V2JwksRequest

func NewGetOauth2V2JwksRequest(server string) (*http.Request, error)

NewGetOauth2V2JwksRequest generates requests for GetOauth2V2Jwks

func NewGetOauth2V2UserinfoRequest

func NewGetOauth2V2UserinfoRequest(server string) (*http.Request, error)

NewGetOauth2V2UserinfoRequest generates requests for GetOauth2V2Userinfo

func NewGetOidcCallbackRequest

func NewGetOidcCallbackRequest(server string) (*http.Request, error)

NewGetOidcCallbackRequest generates requests for GetOidcCallback

func NewGetWellKnownOpenidConfigurationRequest

func NewGetWellKnownOpenidConfigurationRequest(server string) (*http.Request, error)

NewGetWellKnownOpenidConfigurationRequest generates requests for GetWellKnownOpenidConfiguration

func NewPostApiV1OrganizationsOrganizationIDGroupsRequest

func NewPostApiV1OrganizationsOrganizationIDGroupsRequest(server string, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDGroupsJSONRequestBody) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDGroupsRequest calls the generic PostApiV1OrganizationsOrganizationIDGroups builder with application/json body

func NewPostApiV1OrganizationsOrganizationIDGroupsRequestWithBody

func NewPostApiV1OrganizationsOrganizationIDGroupsRequestWithBody(server string, organizationID OrganizationIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDGroupsRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDGroups with any type of body

func NewPostApiV1OrganizationsOrganizationIDOauth2providersRequest

func NewPostApiV1OrganizationsOrganizationIDOauth2providersRequest(server string, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDOauth2providersJSONRequestBody) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDOauth2providersRequest calls the generic PostApiV1OrganizationsOrganizationIDOauth2providers builder with application/json body

func NewPostApiV1OrganizationsOrganizationIDOauth2providersRequestWithBody

func NewPostApiV1OrganizationsOrganizationIDOauth2providersRequestWithBody(server string, organizationID OrganizationIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDOauth2providersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDOauth2providers with any type of body

func NewPostApiV1OrganizationsOrganizationIDProjectsRequest

func NewPostApiV1OrganizationsOrganizationIDProjectsRequest(server string, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsJSONRequestBody) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDProjectsRequest calls the generic PostApiV1OrganizationsOrganizationIDProjects builder with application/json body

func NewPostApiV1OrganizationsOrganizationIDProjectsRequestWithBody

func NewPostApiV1OrganizationsOrganizationIDProjectsRequestWithBody(server string, organizationID OrganizationIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPostApiV1OrganizationsOrganizationIDProjectsRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDProjects with any type of body

func NewPostOauth2V2LoginRequestWithBody

func NewPostOauth2V2LoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostOauth2V2LoginRequestWithBody generates requests for PostOauth2V2Login with any type of body

func NewPostOauth2V2LoginRequestWithFormdataBody

func NewPostOauth2V2LoginRequestWithFormdataBody(server string, body PostOauth2V2LoginFormdataRequestBody) (*http.Request, error)

NewPostOauth2V2LoginRequestWithFormdataBody calls the generic PostOauth2V2Login builder with application/x-www-form-urlencoded body

func NewPostOauth2V2TokenRequestWithBody

func NewPostOauth2V2TokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostOauth2V2TokenRequestWithBody generates requests for PostOauth2V2Token with any type of body

func NewPostOauth2V2TokenRequestWithFormdataBody

func NewPostOauth2V2TokenRequestWithFormdataBody(server string, body PostOauth2V2TokenFormdataRequestBody) (*http.Request, error)

NewPostOauth2V2TokenRequestWithFormdataBody calls the generic PostOauth2V2Token builder with application/x-www-form-urlencoded body

func NewPutApiV1OrganizationsOrganizationIDGroupsGroupidRequest

func NewPutApiV1OrganizationsOrganizationIDGroupsGroupidRequest(server string, organizationID OrganizationIDParameter, groupid GroupidParameter, body PutApiV1OrganizationsOrganizationIDGroupsGroupidJSONRequestBody) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDGroupsGroupidRequest calls the generic PutApiV1OrganizationsOrganizationIDGroupsGroupid builder with application/json body

func NewPutApiV1OrganizationsOrganizationIDGroupsGroupidRequestWithBody

func NewPutApiV1OrganizationsOrganizationIDGroupsGroupidRequestWithBody(server string, organizationID OrganizationIDParameter, groupid GroupidParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDGroupsGroupidRequestWithBody generates requests for PutApiV1OrganizationsOrganizationIDGroupsGroupid with any type of body

func NewPutApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequest

func NewPutApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequest(server string, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, body PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDJSONRequestBody) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequest calls the generic PutApiV1OrganizationsOrganizationIDOauth2providersProviderID builder with application/json body

func NewPutApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequestWithBody

func NewPutApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequestWithBody(server string, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequestWithBody generates requests for PutApiV1OrganizationsOrganizationIDOauth2providersProviderID with any type of body

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDRequest

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDRequest(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDJSONRequestBody) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDRequest calls the generic PutApiV1OrganizationsOrganizationIDProjectsProjectID builder with application/json body

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDRequestWithBody

func NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDRequestWithBody(server string, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDRequestWithBody generates requests for PutApiV1OrganizationsOrganizationIDProjectsProjectID with any type of body

func NewPutApiV1OrganizationsOrganizationIDRequest

func NewPutApiV1OrganizationsOrganizationIDRequest(server string, organizationID OrganizationIDParameter, body PutApiV1OrganizationsOrganizationIDJSONRequestBody) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDRequest calls the generic PutApiV1OrganizationsOrganizationID builder with application/json body

func NewPutApiV1OrganizationsOrganizationIDRequestWithBody

func NewPutApiV1OrganizationsOrganizationIDRequestWithBody(server string, organizationID OrganizationIDParameter, contentType string, body io.Reader) (*http.Request, error)

NewPutApiV1OrganizationsOrganizationIDRequestWithBody generates requests for PutApiV1OrganizationsOrganizationID with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type Acl

type Acl struct {
	// Global A list of access control scopes.
	Global *AclEndpoints `json:"global,omitempty"`

	// Organization Resource scoped endpoint permissions.
	Organization *AclScopedEndpoints `json:"organization,omitempty"`

	// Projects A list of resource scoped endpoint permissions.
	Projects *AclScopedEndpointsList `json:"projects,omitempty"`
}

Acl A list of access control scopes and permissions.

type AclEndpoint added in v0.2.20

type AclEndpoint struct {
	// Name The resource name
	Name string `json:"name"`

	// Operations A list of access control operations.
	Operations AclOperations `json:"operations"`
}

AclEndpoint A set of access control permissions for a resource type.

type AclEndpoints added in v0.2.20

type AclEndpoints = []AclEndpoint

AclEndpoints A list of access control scopes.

type AclOperation added in v0.2.20

type AclOperation string

AclOperation An access control operation.

const (
	Create AclOperation = "create"
	Delete AclOperation = "delete"
	Read   AclOperation = "read"
	Update AclOperation = "update"
)

Defines values for AclOperation.

type AclOperations added in v0.2.20

type AclOperations = []AclOperation

AclOperations A list of access control operations.

type AclResponse

type AclResponse = Acl

AclResponse A list of access control scopes and permissions.

type AclScopedEndpoints added in v0.2.20

type AclScopedEndpoints struct {
	// Endpoints A list of access control scopes.
	Endpoints AclEndpoints `json:"endpoints"`

	// Id The resource ID this scope applies to.
	Id string `json:"id"`
}

AclScopedEndpoints Resource scoped endpoint permissions.

type AclScopedEndpointsList added in v0.2.20

type AclScopedEndpointsList = []AclScopedEndpoints

AclScopedEndpointsList A list of resource scoped endpoint permissions.

type AuthMethod

type AuthMethod string

AuthMethod Supported authentication methods.

const (
	ClientSecretBasic AuthMethod = "client_secret_basic"
	ClientSecretPost  AuthMethod = "client_secret_post"
	TlsClientAuth     AuthMethod = "tls_client_auth"
)

Defines values for AuthMethod.

type AvailableGroup

type AvailableGroup struct {
	// DisplayName A human readable group name.
	DisplayName *string `json:"displayName,omitempty"`

	// Name The canonical group name.
	Name string `json:"name"`
}

AvailableGroup An IdP group

type AvailableGroups

type AvailableGroups = []AvailableGroup

AvailableGroups A list of IdP groups.

type AvailableGroupsResponse

type AvailableGroupsResponse = AvailableGroups

AvailableGroupsResponse A list of IdP groups.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type Claim

type Claim string

Claim Supported claims.

const (
	ClaimAud           Claim = "aud"
	ClaimEmail         Claim = "email"
	ClaimEmailVerified Claim = "email_verified"
	ClaimExp           Claim = "exp"
	ClaimFamilyName    Claim = "family_name"
	ClaimGivenName     Claim = "given_name"
	ClaimIat           Claim = "iat"
	ClaimIss           Claim = "iss"
	ClaimLocale        Claim = "locale"
	ClaimName          Claim = "name"
	ClaimPicture       Claim = "picture"
	ClaimSub           Claim = "sub"
)

Defines values for Claim.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) DeleteApiV1OrganizationsOrganizationIDGroupsGroupid

func (c *Client) DeleteApiV1OrganizationsOrganizationIDGroupsGroupid(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID

func (c *Client) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteApiV1OrganizationsOrganizationIDProjectsProjectID

func (c *Client) DeleteApiV1OrganizationsOrganizationIDProjectsProjectID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1Oauth2providers

func (c *Client) GetApiV1Oauth2providers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1Organizations

func (c *Client) GetApiV1Organizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationID

func (c *Client) GetApiV1OrganizationsOrganizationID(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationIDAcl

func (c *Client) GetApiV1OrganizationsOrganizationIDAcl(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationIDAvailableGroups

func (c *Client) GetApiV1OrganizationsOrganizationIDAvailableGroups(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationIDGroups

func (c *Client) GetApiV1OrganizationsOrganizationIDGroups(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationIDGroupsGroupid

func (c *Client) GetApiV1OrganizationsOrganizationIDGroupsGroupid(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationIDOauth2providers

func (c *Client) GetApiV1OrganizationsOrganizationIDOauth2providers(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationIDProjects

func (c *Client) GetApiV1OrganizationsOrganizationIDProjects(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationIDProjectsProjectID

func (c *Client) GetApiV1OrganizationsOrganizationIDProjectsProjectID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiV1OrganizationsOrganizationIDRoles

func (c *Client) GetApiV1OrganizationsOrganizationIDRoles(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOauth2V2Authorization

func (c *Client) GetOauth2V2Authorization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOauth2V2Jwks

func (c *Client) GetOauth2V2Jwks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOauth2V2Userinfo

func (c *Client) GetOauth2V2Userinfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOidcCallback

func (c *Client) GetOidcCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWellKnownOpenidConfiguration

func (c *Client) GetWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDGroups

func (c *Client) PostApiV1OrganizationsOrganizationIDGroups(ctx context.Context, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDGroupsWithBody

func (c *Client) PostApiV1OrganizationsOrganizationIDGroupsWithBody(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDOauth2providers

func (c *Client) PostApiV1OrganizationsOrganizationIDOauth2providers(ctx context.Context, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDOauth2providersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDOauth2providersWithBody

func (c *Client) PostApiV1OrganizationsOrganizationIDOauth2providersWithBody(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDProjects

func (c *Client) PostApiV1OrganizationsOrganizationIDProjects(ctx context.Context, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApiV1OrganizationsOrganizationIDProjectsWithBody

func (c *Client) PostApiV1OrganizationsOrganizationIDProjectsWithBody(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostOauth2V2LoginWithBody

func (c *Client) PostOauth2V2LoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostOauth2V2LoginWithFormdataBody

func (c *Client) PostOauth2V2LoginWithFormdataBody(ctx context.Context, body PostOauth2V2LoginFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostOauth2V2TokenWithBody

func (c *Client) PostOauth2V2TokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostOauth2V2TokenWithFormdataBody

func (c *Client) PostOauth2V2TokenWithFormdataBody(ctx context.Context, body PostOauth2V2TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1OrganizationsOrganizationID

func (c *Client) PutApiV1OrganizationsOrganizationID(ctx context.Context, organizationID OrganizationIDParameter, body PutApiV1OrganizationsOrganizationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1OrganizationsOrganizationIDGroupsGroupid

func (c *Client) PutApiV1OrganizationsOrganizationIDGroupsGroupid(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, body PutApiV1OrganizationsOrganizationIDGroupsGroupidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1OrganizationsOrganizationIDGroupsGroupidWithBody

func (c *Client) PutApiV1OrganizationsOrganizationIDGroupsGroupidWithBody(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithBody

func (c *Client) PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1OrganizationsOrganizationIDProjectsProjectID

func (c *Client) PutApiV1OrganizationsOrganizationIDProjectsProjectID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithBody

func (c *Client) PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutApiV1OrganizationsOrganizationIDWithBody

func (c *Client) PutApiV1OrganizationsOrganizationIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetWellKnownOpenidConfiguration request
	GetWellKnownOpenidConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1Oauth2providers request
	GetApiV1Oauth2providers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1Organizations request
	GetApiV1Organizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationID request
	GetApiV1OrganizationsOrganizationID(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiV1OrganizationsOrganizationIDWithBody request with any body
	PutApiV1OrganizationsOrganizationIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiV1OrganizationsOrganizationID(ctx context.Context, organizationID OrganizationIDParameter, body PutApiV1OrganizationsOrganizationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDAcl request
	GetApiV1OrganizationsOrganizationIDAcl(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDAvailableGroups request
	GetApiV1OrganizationsOrganizationIDAvailableGroups(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDGroups request
	GetApiV1OrganizationsOrganizationIDGroups(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV1OrganizationsOrganizationIDGroupsWithBody request with any body
	PostApiV1OrganizationsOrganizationIDGroupsWithBody(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApiV1OrganizationsOrganizationIDGroups(ctx context.Context, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiV1OrganizationsOrganizationIDGroupsGroupid request
	DeleteApiV1OrganizationsOrganizationIDGroupsGroupid(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDGroupsGroupid request
	GetApiV1OrganizationsOrganizationIDGroupsGroupid(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiV1OrganizationsOrganizationIDGroupsGroupidWithBody request with any body
	PutApiV1OrganizationsOrganizationIDGroupsGroupidWithBody(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiV1OrganizationsOrganizationIDGroupsGroupid(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, body PutApiV1OrganizationsOrganizationIDGroupsGroupidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDOauth2providers request
	GetApiV1OrganizationsOrganizationIDOauth2providers(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV1OrganizationsOrganizationIDOauth2providersWithBody request with any body
	PostApiV1OrganizationsOrganizationIDOauth2providersWithBody(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApiV1OrganizationsOrganizationIDOauth2providers(ctx context.Context, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDOauth2providersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID request
	DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithBody request with any body
	PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiV1OrganizationsOrganizationIDOauth2providersProviderID(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, body PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDProjects request
	GetApiV1OrganizationsOrganizationIDProjects(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiV1OrganizationsOrganizationIDProjectsWithBody request with any body
	PostApiV1OrganizationsOrganizationIDProjectsWithBody(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApiV1OrganizationsOrganizationIDProjects(ctx context.Context, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiV1OrganizationsOrganizationIDProjectsProjectID request
	DeleteApiV1OrganizationsOrganizationIDProjectsProjectID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDProjectsProjectID request
	GetApiV1OrganizationsOrganizationIDProjectsProjectID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithBody request with any body
	PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithBody(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutApiV1OrganizationsOrganizationIDProjectsProjectID(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiV1OrganizationsOrganizationIDRoles request
	GetApiV1OrganizationsOrganizationIDRoles(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOauth2V2Authorization request
	GetOauth2V2Authorization(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOauth2V2Jwks request
	GetOauth2V2Jwks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostOauth2V2LoginWithBody request with any body
	PostOauth2V2LoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostOauth2V2LoginWithFormdataBody(ctx context.Context, body PostOauth2V2LoginFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostOauth2V2TokenWithBody request with any body
	PostOauth2V2TokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostOauth2V2TokenWithFormdataBody(ctx context.Context, body PostOauth2V2TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOauth2V2Userinfo request
	GetOauth2V2Userinfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOidcCallback request
	GetOidcCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse

func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

DeleteApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse request returning *DeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse

func (*ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse

func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse, error)

DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse request returning *DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse

func (*ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse

func (c *ClientWithResponses) DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse request returning *DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse

func (*ClientWithResponses) GetApiV1Oauth2providersWithResponse

func (c *ClientWithResponses) GetApiV1Oauth2providersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1Oauth2providersResponse, error)

GetApiV1Oauth2providersWithResponse request returning *GetApiV1Oauth2providersResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDAclWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDAclWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDAclResponse, error)

GetApiV1OrganizationsOrganizationIDAclWithResponse request returning *GetApiV1OrganizationsOrganizationIDAclResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDAvailableGroupsWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDAvailableGroupsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDAvailableGroupsResponse, error)

GetApiV1OrganizationsOrganizationIDAvailableGroupsWithResponse request returning *GetApiV1OrganizationsOrganizationIDAvailableGroupsResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

GetApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse request returning *GetApiV1OrganizationsOrganizationIDGroupsGroupidResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDGroupsWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDGroupsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDGroupsResponse, error)

GetApiV1OrganizationsOrganizationIDGroupsWithResponse request returning *GetApiV1OrganizationsOrganizationIDGroupsResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDOauth2providersWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDOauth2providersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDOauth2providersResponse, error)

GetApiV1OrganizationsOrganizationIDOauth2providersWithResponse request returning *GetApiV1OrganizationsOrganizationIDOauth2providersResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

GetApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse request returning *GetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDProjectsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsResponse, error)

GetApiV1OrganizationsOrganizationIDProjectsWithResponse request returning *GetApiV1OrganizationsOrganizationIDProjectsResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDRolesWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDRolesWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDRolesResponse, error)

GetApiV1OrganizationsOrganizationIDRolesWithResponse request returning *GetApiV1OrganizationsOrganizationIDRolesResponse

func (*ClientWithResponses) GetApiV1OrganizationsOrganizationIDWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsOrganizationIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDResponse, error)

GetApiV1OrganizationsOrganizationIDWithResponse request returning *GetApiV1OrganizationsOrganizationIDResponse

func (*ClientWithResponses) GetApiV1OrganizationsWithResponse

func (c *ClientWithResponses) GetApiV1OrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsResponse, error)

GetApiV1OrganizationsWithResponse request returning *GetApiV1OrganizationsResponse

func (*ClientWithResponses) GetOauth2V2AuthorizationWithResponse

func (c *ClientWithResponses) GetOauth2V2AuthorizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauth2V2AuthorizationResponse, error)

GetOauth2V2AuthorizationWithResponse request returning *GetOauth2V2AuthorizationResponse

func (*ClientWithResponses) GetOauth2V2JwksWithResponse

func (c *ClientWithResponses) GetOauth2V2JwksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauth2V2JwksResponse, error)

GetOauth2V2JwksWithResponse request returning *GetOauth2V2JwksResponse

func (*ClientWithResponses) GetOauth2V2UserinfoWithResponse

func (c *ClientWithResponses) GetOauth2V2UserinfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauth2V2UserinfoResponse, error)

GetOauth2V2UserinfoWithResponse request returning *GetOauth2V2UserinfoResponse

func (*ClientWithResponses) GetOidcCallbackWithResponse

func (c *ClientWithResponses) GetOidcCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOidcCallbackResponse, error)

GetOidcCallbackWithResponse request returning *GetOidcCallbackResponse

func (*ClientWithResponses) GetWellKnownOpenidConfigurationWithResponse

func (c *ClientWithResponses) GetWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationResponse, error)

GetWellKnownOpenidConfigurationWithResponse request returning *GetWellKnownOpenidConfigurationResponse

func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDGroupsWithBodyWithResponse

func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDGroupsWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDGroupsResponse, error)

PostApiV1OrganizationsOrganizationIDGroupsWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationIDGroupsResponse

func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDOauth2providersWithBodyWithResponse

func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDOauth2providersWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDOauth2providersResponse, error)

PostApiV1OrganizationsOrganizationIDOauth2providersWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationIDOauth2providersResponse

func (*ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsWithBodyWithResponse

func (c *ClientWithResponses) PostApiV1OrganizationsOrganizationIDProjectsWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsResponse, error)

PostApiV1OrganizationsOrganizationIDProjectsWithBodyWithResponse request with arbitrary body returning *PostApiV1OrganizationsOrganizationIDProjectsResponse

func (*ClientWithResponses) PostOauth2V2LoginWithBodyWithResponse

func (c *ClientWithResponses) PostOauth2V2LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOauth2V2LoginResponse, error)

PostOauth2V2LoginWithBodyWithResponse request with arbitrary body returning *PostOauth2V2LoginResponse

func (*ClientWithResponses) PostOauth2V2LoginWithFormdataBodyWithResponse

func (c *ClientWithResponses) PostOauth2V2LoginWithFormdataBodyWithResponse(ctx context.Context, body PostOauth2V2LoginFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostOauth2V2LoginResponse, error)

func (*ClientWithResponses) PostOauth2V2TokenWithBodyWithResponse

func (c *ClientWithResponses) PostOauth2V2TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOauth2V2TokenResponse, error)

PostOauth2V2TokenWithBodyWithResponse request with arbitrary body returning *PostOauth2V2TokenResponse

func (*ClientWithResponses) PostOauth2V2TokenWithFormdataBodyWithResponse

func (c *ClientWithResponses) PostOauth2V2TokenWithFormdataBodyWithResponse(ctx context.Context, body PostOauth2V2TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostOauth2V2TokenResponse, error)

func (*ClientWithResponses) PutApiV1OrganizationsOrganizationIDGroupsGroupidWithBodyWithResponse

func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDGroupsGroupidWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

PutApiV1OrganizationsOrganizationIDGroupsGroupidWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationIDGroupsGroupidResponse

func (*ClientWithResponses) PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithBodyWithResponse

func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse, error)

PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse

func (*ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithBodyWithResponse

func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse

func (*ClientWithResponses) PutApiV1OrganizationsOrganizationIDWithBodyWithResponse

func (c *ClientWithResponses) PutApiV1OrganizationsOrganizationIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDResponse, error)

PutApiV1OrganizationsOrganizationIDWithBodyWithResponse request with arbitrary body returning *PutApiV1OrganizationsOrganizationIDResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetWellKnownOpenidConfigurationWithResponse request
	GetWellKnownOpenidConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWellKnownOpenidConfigurationResponse, error)

	// GetApiV1Oauth2providersWithResponse request
	GetApiV1Oauth2providersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1Oauth2providersResponse, error)

	// GetApiV1OrganizationsWithResponse request
	GetApiV1OrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsResponse, error)

	// GetApiV1OrganizationsOrganizationIDWithResponse request
	GetApiV1OrganizationsOrganizationIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDResponse, error)

	// PutApiV1OrganizationsOrganizationIDWithBodyWithResponse request with any body
	PutApiV1OrganizationsOrganizationIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDResponse, error)

	PutApiV1OrganizationsOrganizationIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, body PutApiV1OrganizationsOrganizationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDResponse, error)

	// GetApiV1OrganizationsOrganizationIDAclWithResponse request
	GetApiV1OrganizationsOrganizationIDAclWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDAclResponse, error)

	// GetApiV1OrganizationsOrganizationIDAvailableGroupsWithResponse request
	GetApiV1OrganizationsOrganizationIDAvailableGroupsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDAvailableGroupsResponse, error)

	// GetApiV1OrganizationsOrganizationIDGroupsWithResponse request
	GetApiV1OrganizationsOrganizationIDGroupsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDGroupsResponse, error)

	// PostApiV1OrganizationsOrganizationIDGroupsWithBodyWithResponse request with any body
	PostApiV1OrganizationsOrganizationIDGroupsWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDGroupsResponse, error)

	PostApiV1OrganizationsOrganizationIDGroupsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDGroupsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDGroupsResponse, error)

	// DeleteApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse request
	DeleteApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

	// GetApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse request
	GetApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

	// PutApiV1OrganizationsOrganizationIDGroupsGroupidWithBodyWithResponse request with any body
	PutApiV1OrganizationsOrganizationIDGroupsGroupidWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

	PutApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse(ctx context.Context, organizationID OrganizationIDParameter, groupid GroupidParameter, body PutApiV1OrganizationsOrganizationIDGroupsGroupidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

	// GetApiV1OrganizationsOrganizationIDOauth2providersWithResponse request
	GetApiV1OrganizationsOrganizationIDOauth2providersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDOauth2providersResponse, error)

	// PostApiV1OrganizationsOrganizationIDOauth2providersWithBodyWithResponse request with any body
	PostApiV1OrganizationsOrganizationIDOauth2providersWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDOauth2providersResponse, error)

	PostApiV1OrganizationsOrganizationIDOauth2providersWithResponse(ctx context.Context, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDOauth2providersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDOauth2providersResponse, error)

	// DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse request
	DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse, error)

	// PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithBodyWithResponse request with any body
	PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse, error)

	PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter, body PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse, error)

	// GetApiV1OrganizationsOrganizationIDProjectsWithResponse request
	GetApiV1OrganizationsOrganizationIDProjectsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsResponse, error)

	// PostApiV1OrganizationsOrganizationIDProjectsWithBodyWithResponse request with any body
	PostApiV1OrganizationsOrganizationIDProjectsWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsResponse, error)

	PostApiV1OrganizationsOrganizationIDProjectsWithResponse(ctx context.Context, organizationID OrganizationIDParameter, body PostApiV1OrganizationsOrganizationIDProjectsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiV1OrganizationsOrganizationIDProjectsResponse, error)

	// DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse request
	DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, reqEditors ...RequestEditorFn) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

	// GetApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse request
	GetApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

	// PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithBodyWithResponse request with any body
	PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithBodyWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

	PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse(ctx context.Context, organizationID OrganizationIDParameter, projectID ProjectIDParameter, body PutApiV1OrganizationsOrganizationIDProjectsProjectIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

	// GetApiV1OrganizationsOrganizationIDRolesWithResponse request
	GetApiV1OrganizationsOrganizationIDRolesWithResponse(ctx context.Context, organizationID OrganizationIDParameter, reqEditors ...RequestEditorFn) (*GetApiV1OrganizationsOrganizationIDRolesResponse, error)

	// GetOauth2V2AuthorizationWithResponse request
	GetOauth2V2AuthorizationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauth2V2AuthorizationResponse, error)

	// GetOauth2V2JwksWithResponse request
	GetOauth2V2JwksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauth2V2JwksResponse, error)

	// PostOauth2V2LoginWithBodyWithResponse request with any body
	PostOauth2V2LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOauth2V2LoginResponse, error)

	PostOauth2V2LoginWithFormdataBodyWithResponse(ctx context.Context, body PostOauth2V2LoginFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostOauth2V2LoginResponse, error)

	// PostOauth2V2TokenWithBodyWithResponse request with any body
	PostOauth2V2TokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOauth2V2TokenResponse, error)

	PostOauth2V2TokenWithFormdataBodyWithResponse(ctx context.Context, body PostOauth2V2TokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*PostOauth2V2TokenResponse, error)

	// GetOauth2V2UserinfoWithResponse request
	GetOauth2V2UserinfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOauth2V2UserinfoResponse, error)

	// GetOidcCallbackWithResponse request
	GetOidcCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOidcCallbackResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CodeChallengeMethod

type CodeChallengeMethod string

CodeChallengeMethod Supported code challenge methods.

const (
	Plain CodeChallengeMethod = "plain"
	S256  CodeChallengeMethod = "S256"
)

Defines values for CodeChallengeMethod.

type CreateGroupRequest

type CreateGroupRequest = GroupWrite

CreateGroupRequest A group when created or updated.

type CreateProjectRequest

type CreateProjectRequest = ProjectWrite

CreateProjectRequest A project when created or updated.

type DeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse

type DeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseDeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse

func ParseDeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

ParseDeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse call

func (DeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse

type DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseDeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse

func ParseDeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse, error)

ParseDeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse call

func (DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse

type DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse

func ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse(rsp *http.Response) (*DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse call

func (DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1Oauth2providersResponse

type GetApiV1Oauth2providersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SystemOauth2ProvidersResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1Oauth2providersResponse

func ParseGetApiV1Oauth2providersResponse(rsp *http.Response) (*GetApiV1Oauth2providersResponse, error)

ParseGetApiV1Oauth2providersResponse parses an HTTP response from a GetApiV1Oauth2providersWithResponse call

func (GetApiV1Oauth2providersResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1Oauth2providersResponse) StatusCode

func (r GetApiV1Oauth2providersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDAclResponse

type GetApiV1OrganizationsOrganizationIDAclResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AclResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDAclResponse

func ParseGetApiV1OrganizationsOrganizationIDAclResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDAclResponse, error)

ParseGetApiV1OrganizationsOrganizationIDAclResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDAclWithResponse call

func (GetApiV1OrganizationsOrganizationIDAclResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDAclResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDAvailableGroupsResponse

type GetApiV1OrganizationsOrganizationIDAvailableGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AvailableGroupsResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDAvailableGroupsResponse

func ParseGetApiV1OrganizationsOrganizationIDAvailableGroupsResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDAvailableGroupsResponse, error)

ParseGetApiV1OrganizationsOrganizationIDAvailableGroupsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDAvailableGroupsWithResponse call

func (GetApiV1OrganizationsOrganizationIDAvailableGroupsResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDAvailableGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDGroupsGroupidResponse

type GetApiV1OrganizationsOrganizationIDGroupsGroupidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GroupResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDGroupsGroupidResponse

func ParseGetApiV1OrganizationsOrganizationIDGroupsGroupidResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

ParseGetApiV1OrganizationsOrganizationIDGroupsGroupidResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse call

func (GetApiV1OrganizationsOrganizationIDGroupsGroupidResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDGroupsGroupidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDGroupsResponse

type GetApiV1OrganizationsOrganizationIDGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GroupsResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDGroupsResponse

func ParseGetApiV1OrganizationsOrganizationIDGroupsResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDGroupsResponse, error)

ParseGetApiV1OrganizationsOrganizationIDGroupsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDGroupsWithResponse call

func (GetApiV1OrganizationsOrganizationIDGroupsResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDOauth2providersResponse

type GetApiV1OrganizationsOrganizationIDOauth2providersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Oauth2ProvidersResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDOauth2providersResponse

func ParseGetApiV1OrganizationsOrganizationIDOauth2providersResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDOauth2providersResponse, error)

ParseGetApiV1OrganizationsOrganizationIDOauth2providersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDOauth2providersWithResponse call

func (GetApiV1OrganizationsOrganizationIDOauth2providersResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDOauth2providersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse

type GetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse

func ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse call

func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDProjectsResponse

type GetApiV1OrganizationsOrganizationIDProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectsResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDProjectsResponse

func ParseGetApiV1OrganizationsOrganizationIDProjectsResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDProjectsResponse, error)

ParseGetApiV1OrganizationsOrganizationIDProjectsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDProjectsWithResponse call

func (GetApiV1OrganizationsOrganizationIDProjectsResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDProjectsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDResponse

type GetApiV1OrganizationsOrganizationIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDResponse

func ParseGetApiV1OrganizationsOrganizationIDResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDResponse, error)

ParseGetApiV1OrganizationsOrganizationIDResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDWithResponse call

func (GetApiV1OrganizationsOrganizationIDResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsOrganizationIDRolesResponse

type GetApiV1OrganizationsOrganizationIDRolesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RolesResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsOrganizationIDRolesResponse

func ParseGetApiV1OrganizationsOrganizationIDRolesResponse(rsp *http.Response) (*GetApiV1OrganizationsOrganizationIDRolesResponse, error)

ParseGetApiV1OrganizationsOrganizationIDRolesResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDRolesWithResponse call

func (GetApiV1OrganizationsOrganizationIDRolesResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsOrganizationIDRolesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetApiV1OrganizationsResponse

type GetApiV1OrganizationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationsResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetApiV1OrganizationsResponse

func ParseGetApiV1OrganizationsResponse(rsp *http.Response) (*GetApiV1OrganizationsResponse, error)

ParseGetApiV1OrganizationsResponse parses an HTTP response from a GetApiV1OrganizationsWithResponse call

func (GetApiV1OrganizationsResponse) Status

Status returns HTTPResponse.Status

func (GetApiV1OrganizationsResponse) StatusCode

func (r GetApiV1OrganizationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOauth2V2AuthorizationResponse

type GetOauth2V2AuthorizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetOauth2V2AuthorizationResponse

func ParseGetOauth2V2AuthorizationResponse(rsp *http.Response) (*GetOauth2V2AuthorizationResponse, error)

ParseGetOauth2V2AuthorizationResponse parses an HTTP response from a GetOauth2V2AuthorizationWithResponse call

func (GetOauth2V2AuthorizationResponse) Status

Status returns HTTPResponse.Status

func (GetOauth2V2AuthorizationResponse) StatusCode

func (r GetOauth2V2AuthorizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOauth2V2JwksResponse

type GetOauth2V2JwksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JwksResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetOauth2V2JwksResponse

func ParseGetOauth2V2JwksResponse(rsp *http.Response) (*GetOauth2V2JwksResponse, error)

ParseGetOauth2V2JwksResponse parses an HTTP response from a GetOauth2V2JwksWithResponse call

func (GetOauth2V2JwksResponse) Status

func (r GetOauth2V2JwksResponse) Status() string

Status returns HTTPResponse.Status

func (GetOauth2V2JwksResponse) StatusCode

func (r GetOauth2V2JwksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOauth2V2UserinfoResponse

type GetOauth2V2UserinfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UserinfoResponse
	JSON401      *externalRef0.UnauthorizedResponse
}

func ParseGetOauth2V2UserinfoResponse

func ParseGetOauth2V2UserinfoResponse(rsp *http.Response) (*GetOauth2V2UserinfoResponse, error)

ParseGetOauth2V2UserinfoResponse parses an HTTP response from a GetOauth2V2UserinfoWithResponse call

func (GetOauth2V2UserinfoResponse) Status

Status returns HTTPResponse.Status

func (GetOauth2V2UserinfoResponse) StatusCode

func (r GetOauth2V2UserinfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOidcCallbackResponse

type GetOidcCallbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParseGetOidcCallbackResponse

func ParseGetOidcCallbackResponse(rsp *http.Response) (*GetOidcCallbackResponse, error)

ParseGetOidcCallbackResponse parses an HTTP response from a GetOidcCallbackWithResponse call

func (GetOidcCallbackResponse) Status

func (r GetOidcCallbackResponse) Status() string

Status returns HTTPResponse.Status

func (GetOidcCallbackResponse) StatusCode

func (r GetOidcCallbackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWellKnownOpenidConfigurationResponse

type GetWellKnownOpenidConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OpenidConfigurationResponse
}

func ParseGetWellKnownOpenidConfigurationResponse

func ParseGetWellKnownOpenidConfigurationResponse(rsp *http.Response) (*GetWellKnownOpenidConfigurationResponse, error)

ParseGetWellKnownOpenidConfigurationResponse parses an HTTP response from a GetWellKnownOpenidConfigurationWithResponse call

func (GetWellKnownOpenidConfigurationResponse) Status

Status returns HTTPResponse.Status

func (GetWellKnownOpenidConfigurationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GrantType

type GrantType string

GrantType Supported grant type.

const (
	AuthorizationCode GrantType = "authorization_code"
	ClientCredentials GrantType = "client_credentials"
	RefreshToken      GrantType = "refresh_token"
)

Defines values for GrantType.

type GroupIDs

type GroupIDs = []string

GroupIDs A list of group IDs.

type GroupRead

type GroupRead struct {
	Metadata externalRef0.OrganizationScopedResourceReadMetadata `json:"metadata"`

	// Spec A group.
	Spec GroupSpec `json:"spec"`
}

GroupRead A group when read.

type GroupResponse

type GroupResponse = GroupRead

GroupResponse A group when read.

type GroupSpec

type GroupSpec struct {
	// ProviderGroups A list of provider groups.
	ProviderGroups *ProviderGroupList `json:"providerGroups,omitempty"`

	// RoleIDs A list of strings.
	RoleIDs StringList `json:"roleIDs"`

	// Users A list of strings.
	Users *StringList `json:"users,omitempty"`
}

GroupSpec A group.

type GroupWrite

type GroupWrite struct {
	// Metadata Resource metadata valid for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`

	// Spec A group.
	Spec GroupSpec `json:"spec"`
}

GroupWrite A group when created or updated.

type GroupidParameter

type GroupidParameter = string

GroupidParameter defines model for groupidParameter.

type Groups

type Groups = []GroupRead

Groups A list of groups.

type GroupsResponse

type GroupsResponse = Groups

GroupsResponse A list of groups.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type JsonWebKey

type JsonWebKey = map[string]interface{}

JsonWebKey JSON web key. See the relevant JWKS documentation for further details.

type JsonWebKeySet

type JsonWebKeySet struct {
	Keys *[]JsonWebKey `json:"keys,omitempty"`
}

JsonWebKeySet JSON web key set. This data type is defined by an external 3rd party standards committee. Consult the relevant documentation for further details.

type JwksResponse

type JwksResponse = JsonWebKeySet

JwksResponse JSON web key set. This data type is defined by an external 3rd party standards committee. Consult the relevant documentation for further details.

type LoginRequestOptions

type LoginRequestOptions struct {
	// Email The user's email address.
	Email *string `json:"email"`

	// Provider The explcit provider type.
	Provider *string `json:"provider"`

	// State The state string supplied by the authorization endpoint.
	State string `json:"state"`
}

LoginRequestOptions Login request options.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type Oauth2ProvderIDParameter

type Oauth2ProvderIDParameter = string

Oauth2ProvderIDParameter defines model for oauth2ProvderIDParameter.

type Oauth2ProviderRead

type Oauth2ProviderRead struct {
	Metadata externalRef0.OrganizationScopedResourceReadMetadata `json:"metadata"`

	// Spec An oauth2 provider.
	Spec Oauth2ProviderSpec `json:"spec"`
}

Oauth2ProviderRead An OAuth2 provider when read.

type Oauth2ProviderRequest

type Oauth2ProviderRequest = Oauth2ProviderWrite

Oauth2ProviderRequest An OAuth2 provider when created or updated.

type Oauth2ProviderResponse added in v0.2.28

type Oauth2ProviderResponse = Oauth2ProviderRead

Oauth2ProviderResponse An OAuth2 provider when read.

type Oauth2ProviderSpec

type Oauth2ProviderSpec struct {
	// ClientID The client identification, only shown for super admin or organization owned providers
	// that you are an admin for.
	ClientID string `json:"clientID"`

	// ClientSecret The client secret, only shown for super admin or organization owned providers
	// that you are an admin for.
	ClientSecret *string `json:"clientSecret,omitempty"`

	// Issuer The OIDC issuer, typically where to perform auto discovery relative to.
	Issuer string `json:"issuer"`

	// Type The type of identity provider.
	Type *Oauth2ProviderType `json:"type,omitempty"`
}

Oauth2ProviderSpec An oauth2 provider.

type Oauth2ProviderType

type Oauth2ProviderType string

Oauth2ProviderType The type of identity provider.

const (
	Google    Oauth2ProviderType = "google"
	Microsoft Oauth2ProviderType = "microsoft"
)

Defines values for Oauth2ProviderType.

type Oauth2ProviderWrite

type Oauth2ProviderWrite struct {
	// Metadata Resource metadata valid for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`

	// Spec An oauth2 provider.
	Spec Oauth2ProviderSpec `json:"spec"`
}

Oauth2ProviderWrite An OAuth2 provider when created or updated.

type Oauth2Providers

type Oauth2Providers = []Oauth2ProviderRead

Oauth2Providers A list of oauth2 providers.

type Oauth2ProvidersResponse

type Oauth2ProvidersResponse = Oauth2Providers

Oauth2ProvidersResponse A list of oauth2 providers.

type OpenidConfiguration

type OpenidConfiguration struct {
	// AuthorizationEndpoint The oauth2 endpoint that initiates authentication.
	AuthorizationEndpoint string `json:"authorization_endpoint"`

	// ClaimsSupported A list of supported claims
	ClaimsSupported []Claim `json:"claims_supported"`

	// CodeChallengeMethodsSupported A list of code challenge methods supported.
	CodeChallengeMethodsSupported []CodeChallengeMethod `json:"code_challenge_methods_supported"`

	// GrantTypesSupported A list of supported grants for the token endpoint.
	GrantTypesSupported []GrantType `json:"grant_types_supported"`

	// IdTokenSigningAlgValuesSupported A list of signing algorithms supported for ID tokens.
	IdTokenSigningAlgValuesSupported []SigningAlgorithm `json:"id_token_signing_alg_values_supported"`

	// Issuer The OpenID Issuer (iss field).
	Issuer string `json:"issuer"`

	// JwksUri The oauth2 endpoint that exposes public signing keys for token validation.
	JwksUri string `json:"jwks_uri"`

	// ResponseTypesSupported A list of supported response types that can be requested for the authorization endpoint.
	ResponseTypesSupported []ResponseType `json:"response_types_supported"`

	// ScopesSupported A list of supported oauth2 scopes.
	ScopesSupported []Scope `json:"scopes_supported"`

	// TokenEndpoint The oauth2 endpoint that is used to exchange an authentication code for tokens.
	TokenEndpoint string `json:"token_endpoint"`

	// TokenEndpointAuthMethodsSupported A list of supported authentication methods for the token endpoint.
	TokenEndpointAuthMethodsSupported []AuthMethod `json:"token_endpoint_auth_methods_supported"`

	// UserinfoEndpoint The oidc endpoint used to get information about an access token's user.
	UserinfoEndpoint string `json:"userinfo_endpoint"`
}

OpenidConfiguration OpenID configuration.

type OpenidConfigurationResponse

type OpenidConfigurationResponse = OpenidConfiguration

OpenidConfigurationResponse OpenID configuration.

type OrganizationIDParameter

type OrganizationIDParameter = string

OrganizationIDParameter defines model for organizationIDParameter.

type OrganizationRead

type OrganizationRead struct {
	// Metadata Resource metadata valid for all reads.
	Metadata externalRef0.ResourceReadMetadata `json:"metadata"`

	// Spec An organization.
	Spec OrganizationSpec `json:"spec"`
}

OrganizationRead An organization when read.

type OrganizationResponse

type OrganizationResponse = OrganizationRead

OrganizationResponse An organization when read.

type OrganizationSpec

type OrganizationSpec struct {
	// Domain The email domain of the organization.
	Domain *string `json:"domain,omitempty"`

	// GoogleCustomerID When set this identifies the customer ID for the google managed organization.
	// This enables the access to, and use of, Google groups as a source of truth
	// for RBAC.
	GoogleCustomerID *string `json:"googleCustomerID,omitempty"`

	// OrganizationType Describes the authntication menthod of the organization.  Adhoc authentication
	// means that users are exclusively added via explicit group membership  And must
	// use a 'sign-in via' option.  Domain authentication means that users may login
	// via their email address, must in the case of custom identity providers, that
	// maps from domain to an identity provider.  This enables authentication options
	// such as implicit group mappings for RBAC.
	OrganizationType OrganizationType `json:"organizationType"`

	// ProviderID The ID of the provider to use, the scope is determined by useCustomProvider.
	// If false, this refers to a built in provider, if true, then to an organization
	// specific one.
	ProviderID *string `json:"providerID,omitempty"`

	// ProviderScope Describes how to lookup the provider, when global, use a built in generic provider
	// e.g. Google/Microsoft, when organization, us an organization scoped provider.
	ProviderScope *ProviderScope `json:"providerScope,omitempty"`
}

OrganizationSpec An organization.

type OrganizationType

type OrganizationType string

OrganizationType Describes the authntication menthod of the organization. Adhoc authentication means that users are exclusively added via explicit group membership And must use a 'sign-in via' option. Domain authentication means that users may login via their email address, must in the case of custom identity providers, that maps from domain to an identity provider. This enables authentication options such as implicit group mappings for RBAC.

const (
	Adhoc  OrganizationType = "adhoc"
	Domain OrganizationType = "domain"
)

Defines values for OrganizationType.

type OrganizationWrite

type OrganizationWrite struct {
	// Metadata Resource metadata valid for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`

	// Spec An organization.
	Spec OrganizationSpec `json:"spec"`
}

OrganizationWrite An organization when created or updated.

type Organizations

type Organizations = []OrganizationRead

Organizations A list of organizations.

type OrganizationsResponse

type OrganizationsResponse = Organizations

OrganizationsResponse A list of organizations.

type PostApiV1OrganizationsOrganizationIDGroupsJSONRequestBody

type PostApiV1OrganizationsOrganizationIDGroupsJSONRequestBody = GroupWrite

PostApiV1OrganizationsOrganizationIDGroupsJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDGroups for application/json ContentType.

type PostApiV1OrganizationsOrganizationIDGroupsResponse

type PostApiV1OrganizationsOrganizationIDGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *GroupResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON409      *externalRef0.ConflictResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV1OrganizationsOrganizationIDGroupsResponse

func ParsePostApiV1OrganizationsOrganizationIDGroupsResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDGroupsResponse, error)

ParsePostApiV1OrganizationsOrganizationIDGroupsResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDGroupsWithResponse call

func (PostApiV1OrganizationsOrganizationIDGroupsResponse) Status

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostApiV1OrganizationsOrganizationIDOauth2providersJSONRequestBody

type PostApiV1OrganizationsOrganizationIDOauth2providersJSONRequestBody = Oauth2ProviderWrite

PostApiV1OrganizationsOrganizationIDOauth2providersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDOauth2providers for application/json ContentType.

type PostApiV1OrganizationsOrganizationIDOauth2providersResponse

type PostApiV1OrganizationsOrganizationIDOauth2providersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Oauth2ProviderResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON409      *externalRef0.ConflictResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV1OrganizationsOrganizationIDOauth2providersResponse

func ParsePostApiV1OrganizationsOrganizationIDOauth2providersResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDOauth2providersResponse, error)

ParsePostApiV1OrganizationsOrganizationIDOauth2providersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDOauth2providersWithResponse call

func (PostApiV1OrganizationsOrganizationIDOauth2providersResponse) Status

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDOauth2providersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostApiV1OrganizationsOrganizationIDProjectsJSONRequestBody

type PostApiV1OrganizationsOrganizationIDProjectsJSONRequestBody = ProjectWrite

PostApiV1OrganizationsOrganizationIDProjectsJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDProjects for application/json ContentType.

type PostApiV1OrganizationsOrganizationIDProjectsResponse

type PostApiV1OrganizationsOrganizationIDProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *ProjectResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON409      *externalRef0.ConflictResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostApiV1OrganizationsOrganizationIDProjectsResponse

func ParsePostApiV1OrganizationsOrganizationIDProjectsResponse(rsp *http.Response) (*PostApiV1OrganizationsOrganizationIDProjectsResponse, error)

ParsePostApiV1OrganizationsOrganizationIDProjectsResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsWithResponse call

func (PostApiV1OrganizationsOrganizationIDProjectsResponse) Status

Status returns HTTPResponse.Status

func (PostApiV1OrganizationsOrganizationIDProjectsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostOauth2V2LoginFormdataRequestBody

type PostOauth2V2LoginFormdataRequestBody = LoginRequestOptions

PostOauth2V2LoginFormdataRequestBody defines body for PostOauth2V2Login for application/x-www-form-urlencoded ContentType.

type PostOauth2V2LoginResponse

type PostOauth2V2LoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostOauth2V2LoginResponse

func ParsePostOauth2V2LoginResponse(rsp *http.Response) (*PostOauth2V2LoginResponse, error)

ParsePostOauth2V2LoginResponse parses an HTTP response from a PostOauth2V2LoginWithResponse call

func (PostOauth2V2LoginResponse) Status

func (r PostOauth2V2LoginResponse) Status() string

Status returns HTTPResponse.Status

func (PostOauth2V2LoginResponse) StatusCode

func (r PostOauth2V2LoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostOauth2V2TokenFormdataRequestBody

type PostOauth2V2TokenFormdataRequestBody = TokenRequestOptions

PostOauth2V2TokenFormdataRequestBody defines body for PostOauth2V2Token for application/x-www-form-urlencoded ContentType.

type PostOauth2V2TokenResponse

type PostOauth2V2TokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TokenResponse
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePostOauth2V2TokenResponse

func ParsePostOauth2V2TokenResponse(rsp *http.Response) (*PostOauth2V2TokenResponse, error)

ParsePostOauth2V2TokenResponse parses an HTTP response from a PostOauth2V2TokenWithResponse call

func (PostOauth2V2TokenResponse) Status

func (r PostOauth2V2TokenResponse) Status() string

Status returns HTTPResponse.Status

func (PostOauth2V2TokenResponse) StatusCode

func (r PostOauth2V2TokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectIDParameter

type ProjectIDParameter = string

ProjectIDParameter defines model for projectIDParameter.

type ProjectRead

type ProjectRead struct {
	Metadata externalRef0.OrganizationScopedResourceReadMetadata `json:"metadata"`

	// Spec A project.
	Spec ProjectSpec `json:"spec"`
}

ProjectRead A project when read.

type ProjectResponse

type ProjectResponse = ProjectRead

ProjectResponse A project when read.

type ProjectSpec

type ProjectSpec struct {
	// GroupIDs A list of group IDs.
	GroupIDs *GroupIDs `json:"groupIDs,omitempty"`
}

ProjectSpec A project.

type ProjectWrite

type ProjectWrite struct {
	// Metadata Resource metadata valid for all API resource reads and writes.
	Metadata externalRef0.ResourceWriteMetadata `json:"metadata"`

	// Spec A project.
	Spec ProjectSpec `json:"spec"`
}

ProjectWrite A project when created or updated.

type Projects

type Projects = []ProjectRead

Projects A list of projects.

type ProjectsResponse

type ProjectsResponse = Projects

ProjectsResponse A list of projects.

type ProviderGroupList

type ProviderGroupList = []string

ProviderGroupList A list of provider groups.

type ProviderScope

type ProviderScope string

ProviderScope Describes how to lookup the provider, when global, use a built in generic provider e.g. Google/Microsoft, when organization, us an organization scoped provider.

const (
	Global       ProviderScope = "global"
	Organization ProviderScope = "organization"
)

Defines values for ProviderScope.

type PutApiV1OrganizationsOrganizationIDGroupsGroupidJSONRequestBody

type PutApiV1OrganizationsOrganizationIDGroupsGroupidJSONRequestBody = GroupWrite

PutApiV1OrganizationsOrganizationIDGroupsGroupidJSONRequestBody defines body for PutApiV1OrganizationsOrganizationIDGroupsGroupid for application/json ContentType.

type PutApiV1OrganizationsOrganizationIDGroupsGroupidResponse

type PutApiV1OrganizationsOrganizationIDGroupsGroupidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePutApiV1OrganizationsOrganizationIDGroupsGroupidResponse

func ParsePutApiV1OrganizationsOrganizationIDGroupsGroupidResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationIDGroupsGroupidResponse, error)

ParsePutApiV1OrganizationsOrganizationIDGroupsGroupidResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse call

func (PutApiV1OrganizationsOrganizationIDGroupsGroupidResponse) Status

Status returns HTTPResponse.Status

func (PutApiV1OrganizationsOrganizationIDGroupsGroupidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutApiV1OrganizationsOrganizationIDJSONRequestBody

type PutApiV1OrganizationsOrganizationIDJSONRequestBody = OrganizationWrite

PutApiV1OrganizationsOrganizationIDJSONRequestBody defines body for PutApiV1OrganizationsOrganizationID for application/json ContentType.

type PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDJSONRequestBody

type PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDJSONRequestBody = Oauth2ProviderWrite

PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDJSONRequestBody defines body for PutApiV1OrganizationsOrganizationIDOauth2providersProviderID for application/json ContentType.

type PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse

type PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse

func ParsePutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse, error)

ParsePutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse call

func (PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse) Status

Status returns HTTPResponse.Status

func (PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDJSONRequestBody

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDJSONRequestBody = ProjectWrite

PutApiV1OrganizationsOrganizationIDProjectsProjectIDJSONRequestBody defines body for PutApiV1OrganizationsOrganizationIDProjectsProjectID for application/json ContentType.

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse

type PutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *externalRef0.BadRequestResponse
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON404      *externalRef0.NotFoundResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse

func ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse, error)

ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse call

func (PutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse) Status

Status returns HTTPResponse.Status

func (PutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutApiV1OrganizationsOrganizationIDResponse

type PutApiV1OrganizationsOrganizationIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *externalRef0.UnauthorizedResponse
	JSON403      *externalRef0.ForbiddenResponse
	JSON500      *externalRef0.InternalServerErrorResponse
}

func ParsePutApiV1OrganizationsOrganizationIDResponse

func ParsePutApiV1OrganizationsOrganizationIDResponse(rsp *http.Response) (*PutApiV1OrganizationsOrganizationIDResponse, error)

ParsePutApiV1OrganizationsOrganizationIDResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDWithResponse call

func (PutApiV1OrganizationsOrganizationIDResponse) Status

Status returns HTTPResponse.Status

func (PutApiV1OrganizationsOrganizationIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResponseType

type ResponseType string

ResponseType Supported response types.

const (
	ResponseTypeCode             ResponseType = "code"
	ResponseTypeCodeIdToken      ResponseType = "code id_token"
	ResponseTypeCodeToken        ResponseType = "code token"
	ResponseTypeCodeTokenIdToken ResponseType = "code token id_token"
	ResponseTypeIdToken          ResponseType = "id_token"
	ResponseTypeNone             ResponseType = "none"
	ResponseTypeToken            ResponseType = "token"
	ResponseTypeTokenIdToken     ResponseType = "token id_token"
)

Defines values for ResponseType.

type RoleRead added in v0.2.20

type RoleRead struct {
	// Metadata Resource metadata valid for all reads.
	Metadata externalRef0.ResourceReadMetadata `json:"metadata"`
}

RoleRead A role.

type Roles added in v0.2.20

type Roles = []RoleRead

Roles A list of roles.

type RolesResponse

type RolesResponse = Roles

RolesResponse A list of roles.

type Scope

type Scope string

Scope Supported scopes.

const (
	ScopeEmail   Scope = "email"
	ScopeOpenid  Scope = "openid"
	ScopeProfile Scope = "profile"
)

Defines values for Scope.

type ServerInterface

type ServerInterface interface {

	// (GET /.well-known/openid-configuration)
	GetWellKnownOpenidConfiguration(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/oauth2providers)
	GetApiV1Oauth2providers(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/organizations)
	GetApiV1Organizations(w http.ResponseWriter, r *http.Request)

	// (GET /api/v1/organizations/{organizationID})
	GetApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (PUT /api/v1/organizations/{organizationID})
	PutApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (GET /api/v1/organizations/{organizationID}/acl)
	GetApiV1OrganizationsOrganizationIDAcl(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (GET /api/v1/organizations/{organizationID}/available-groups)
	GetApiV1OrganizationsOrganizationIDAvailableGroups(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (GET /api/v1/organizations/{organizationID}/groups)
	GetApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (POST /api/v1/organizations/{organizationID}/groups)
	PostApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (DELETE /api/v1/organizations/{organizationID}/groups/{groupid})
	DeleteApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, groupid GroupidParameter)

	// (GET /api/v1/organizations/{organizationID}/groups/{groupid})
	GetApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, groupid GroupidParameter)

	// (PUT /api/v1/organizations/{organizationID}/groups/{groupid})
	PutApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, groupid GroupidParameter)

	// (GET /api/v1/organizations/{organizationID}/oauth2providers)
	GetApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (POST /api/v1/organizations/{organizationID}/oauth2providers)
	PostApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (DELETE /api/v1/organizations/{organizationID}/oauth2providers/{providerID})
	DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter)

	// (PUT /api/v1/organizations/{organizationID}/oauth2providers/{providerID})
	PutApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter)

	// (GET /api/v1/organizations/{organizationID}/projects)
	GetApiV1OrganizationsOrganizationIDProjects(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (POST /api/v1/organizations/{organizationID}/projects)
	PostApiV1OrganizationsOrganizationIDProjects(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (DELETE /api/v1/organizations/{organizationID}/projects/{projectID})
	DeleteApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

	// (GET /api/v1/organizations/{organizationID}/projects/{projectID})
	GetApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

	// (PUT /api/v1/organizations/{organizationID}/projects/{projectID})
	PutApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

	// (GET /api/v1/organizations/{organizationID}/roles)
	GetApiV1OrganizationsOrganizationIDRoles(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

	// (GET /oauth2/v2/authorization)
	GetOauth2V2Authorization(w http.ResponseWriter, r *http.Request)

	// (GET /oauth2/v2/jwks)
	GetOauth2V2Jwks(w http.ResponseWriter, r *http.Request)

	// (POST /oauth2/v2/login)
	PostOauth2V2Login(w http.ResponseWriter, r *http.Request)

	// (POST /oauth2/v2/token)
	PostOauth2V2Token(w http.ResponseWriter, r *http.Request)

	// (GET /oauth2/v2/userinfo)
	GetOauth2V2Userinfo(w http.ResponseWriter, r *http.Request)

	// (GET /oidc/callback)
	GetOidcCallback(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDGroupsGroupid

func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request)

DeleteApiV1OrganizationsOrganizationIDGroupsGroupid operation middleware

func (*ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID

func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request)

DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID operation middleware

func (*ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDProjectsProjectID

func (siw *ServerInterfaceWrapper) DeleteApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request)

DeleteApiV1OrganizationsOrganizationIDProjectsProjectID operation middleware

func (*ServerInterfaceWrapper) GetApiV1Oauth2providers

func (siw *ServerInterfaceWrapper) GetApiV1Oauth2providers(w http.ResponseWriter, r *http.Request)

GetApiV1Oauth2providers operation middleware

func (*ServerInterfaceWrapper) GetApiV1Organizations

func (siw *ServerInterfaceWrapper) GetApiV1Organizations(w http.ResponseWriter, r *http.Request)

GetApiV1Organizations operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationID

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationID operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDAcl

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDAcl(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDAcl operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDAvailableGroups

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDAvailableGroups(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDAvailableGroups operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDGroups

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDGroups operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDGroupsGroupid

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDGroupsGroupid operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDOauth2providers

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDOauth2providers operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjects

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjects(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDProjects operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectID

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDProjectsProjectID operation middleware

func (*ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRoles

func (siw *ServerInterfaceWrapper) GetApiV1OrganizationsOrganizationIDRoles(w http.ResponseWriter, r *http.Request)

GetApiV1OrganizationsOrganizationIDRoles operation middleware

func (*ServerInterfaceWrapper) GetOauth2V2Authorization

func (siw *ServerInterfaceWrapper) GetOauth2V2Authorization(w http.ResponseWriter, r *http.Request)

GetOauth2V2Authorization operation middleware

func (*ServerInterfaceWrapper) GetOauth2V2Jwks

func (siw *ServerInterfaceWrapper) GetOauth2V2Jwks(w http.ResponseWriter, r *http.Request)

GetOauth2V2Jwks operation middleware

func (*ServerInterfaceWrapper) GetOauth2V2Userinfo

func (siw *ServerInterfaceWrapper) GetOauth2V2Userinfo(w http.ResponseWriter, r *http.Request)

GetOauth2V2Userinfo operation middleware

func (*ServerInterfaceWrapper) GetOidcCallback

func (siw *ServerInterfaceWrapper) GetOidcCallback(w http.ResponseWriter, r *http.Request)

GetOidcCallback operation middleware

func (*ServerInterfaceWrapper) GetWellKnownOpenidConfiguration

func (siw *ServerInterfaceWrapper) GetWellKnownOpenidConfiguration(w http.ResponseWriter, r *http.Request)

GetWellKnownOpenidConfiguration operation middleware

func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDGroups

func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request)

PostApiV1OrganizationsOrganizationIDGroups operation middleware

func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDOauth2providers

func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request)

PostApiV1OrganizationsOrganizationIDOauth2providers operation middleware

func (*ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjects

func (siw *ServerInterfaceWrapper) PostApiV1OrganizationsOrganizationIDProjects(w http.ResponseWriter, r *http.Request)

PostApiV1OrganizationsOrganizationIDProjects operation middleware

func (*ServerInterfaceWrapper) PostOauth2V2Login

func (siw *ServerInterfaceWrapper) PostOauth2V2Login(w http.ResponseWriter, r *http.Request)

PostOauth2V2Login operation middleware

func (*ServerInterfaceWrapper) PostOauth2V2Token

func (siw *ServerInterfaceWrapper) PostOauth2V2Token(w http.ResponseWriter, r *http.Request)

PostOauth2V2Token operation middleware

func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationID

func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request)

PutApiV1OrganizationsOrganizationID operation middleware

func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDGroupsGroupid

func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request)

PutApiV1OrganizationsOrganizationIDGroupsGroupid operation middleware

func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDOauth2providersProviderID

func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request)

PutApiV1OrganizationsOrganizationIDOauth2providersProviderID operation middleware

func (*ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectID

func (siw *ServerInterfaceWrapper) PutApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request)

PutApiV1OrganizationsOrganizationIDProjectsProjectID operation middleware

type SigningAlgorithm

type SigningAlgorithm string

SigningAlgorithm Supported signing algorithms.

const (
	ES512 SigningAlgorithm = "ES512"
)

Defines values for SigningAlgorithm.

type StringList added in v0.2.20

type StringList = []string

StringList A list of strings.

type SystemOauth2ProvidersResponse

type SystemOauth2ProvidersResponse = Oauth2Providers

SystemOauth2ProvidersResponse A list of oauth2 providers.

type Token

type Token struct {
	// AccessToken The opaque access token.
	AccessToken string `json:"access_token"`

	// ExpiresIn The time in seconds the token will last for.
	ExpiresIn int `json:"expires_in"`

	// IdToken An OIDC ID token.
	IdToken *string `json:"id_token,omitempty"`

	// RefreshToken The opaque refresh token.
	RefreshToken *string `json:"refresh_token,omitempty"`

	// TokenType How the access token is to be presented to the resource server.
	TokenType string `json:"token_type"`
}

Token Oauth2 token result.

type TokenRequestOptions

type TokenRequestOptions struct {
	// ClientId Client ID. Required with the "code" grant type.
	ClientId *string `json:"client_id"`

	// Code Authorization code. Required with the "code" grant type.
	Code *string `json:"code"`

	// CodeVerifier Client code verifier. Required with the "code" grant type.
	CodeVerifier *string `json:"code_verifier"`

	// GrantType Supported grant type.  Must be either "code" or "password".
	GrantType string `json:"grant_type"`

	// Password Resource owner password. Required with the "password" grant type.
	Password *string `json:"password"`

	// RedirectUri Client redirect URI. Required with the "code" grant type.
	RedirectUri *string `json:"redirect_uri"`

	// RefreshToken A refresh token for the refresh_token grant type.
	RefreshToken *string `json:"refresh_token"`

	// Username Resource owner username. Required with the "password" grant type.
	Username *string `json:"username"`
}

TokenRequestOptions oauth2 token endpoint.

type TokenResponse

type TokenResponse = Token

TokenResponse Oauth2 token result.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) DeleteApiV1OrganizationsOrganizationIDGroupsGroupid

func (_ Unimplemented) DeleteApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, groupid GroupidParameter)

(DELETE /api/v1/organizations/{organizationID}/groups/{groupid})

func (Unimplemented) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID

func (_ Unimplemented) DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter)

(DELETE /api/v1/organizations/{organizationID}/oauth2providers/{providerID})

func (Unimplemented) DeleteApiV1OrganizationsOrganizationIDProjectsProjectID

func (_ Unimplemented) DeleteApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

(DELETE /api/v1/organizations/{organizationID}/projects/{projectID})

func (Unimplemented) GetApiV1Oauth2providers

func (_ Unimplemented) GetApiV1Oauth2providers(w http.ResponseWriter, r *http.Request)

(GET /api/v1/oauth2providers)

func (Unimplemented) GetApiV1Organizations

func (_ Unimplemented) GetApiV1Organizations(w http.ResponseWriter, r *http.Request)

(GET /api/v1/organizations)

func (Unimplemented) GetApiV1OrganizationsOrganizationID

func (_ Unimplemented) GetApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID})

func (Unimplemented) GetApiV1OrganizationsOrganizationIDAcl

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDAcl(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID}/acl)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDAvailableGroups

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDAvailableGroups(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID}/available-groups)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDGroups

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID}/groups)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDGroupsGroupid

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, groupid GroupidParameter)

(GET /api/v1/organizations/{organizationID}/groups/{groupid})

func (Unimplemented) GetApiV1OrganizationsOrganizationIDOauth2providers

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID}/oauth2providers)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDProjects

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDProjects(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID}/projects)

func (Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectID

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

(GET /api/v1/organizations/{organizationID}/projects/{projectID})

func (Unimplemented) GetApiV1OrganizationsOrganizationIDRoles

func (_ Unimplemented) GetApiV1OrganizationsOrganizationIDRoles(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(GET /api/v1/organizations/{organizationID}/roles)

func (Unimplemented) GetOauth2V2Authorization

func (_ Unimplemented) GetOauth2V2Authorization(w http.ResponseWriter, r *http.Request)

(GET /oauth2/v2/authorization)

func (Unimplemented) GetOauth2V2Jwks

func (_ Unimplemented) GetOauth2V2Jwks(w http.ResponseWriter, r *http.Request)

(GET /oauth2/v2/jwks)

func (Unimplemented) GetOauth2V2Userinfo

func (_ Unimplemented) GetOauth2V2Userinfo(w http.ResponseWriter, r *http.Request)

(GET /oauth2/v2/userinfo)

func (Unimplemented) GetOidcCallback

func (_ Unimplemented) GetOidcCallback(w http.ResponseWriter, r *http.Request)

(GET /oidc/callback)

func (Unimplemented) GetWellKnownOpenidConfiguration

func (_ Unimplemented) GetWellKnownOpenidConfiguration(w http.ResponseWriter, r *http.Request)

(GET /.well-known/openid-configuration)

func (Unimplemented) PostApiV1OrganizationsOrganizationIDGroups

func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDGroups(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(POST /api/v1/organizations/{organizationID}/groups)

func (Unimplemented) PostApiV1OrganizationsOrganizationIDOauth2providers

func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDOauth2providers(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(POST /api/v1/organizations/{organizationID}/oauth2providers)

func (Unimplemented) PostApiV1OrganizationsOrganizationIDProjects

func (_ Unimplemented) PostApiV1OrganizationsOrganizationIDProjects(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(POST /api/v1/organizations/{organizationID}/projects)

func (Unimplemented) PostOauth2V2Login

func (_ Unimplemented) PostOauth2V2Login(w http.ResponseWriter, r *http.Request)

(POST /oauth2/v2/login)

func (Unimplemented) PostOauth2V2Token

func (_ Unimplemented) PostOauth2V2Token(w http.ResponseWriter, r *http.Request)

(POST /oauth2/v2/token)

func (Unimplemented) PutApiV1OrganizationsOrganizationID

func (_ Unimplemented) PutApiV1OrganizationsOrganizationID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter)

(PUT /api/v1/organizations/{organizationID})

func (Unimplemented) PutApiV1OrganizationsOrganizationIDGroupsGroupid

func (_ Unimplemented) PutApiV1OrganizationsOrganizationIDGroupsGroupid(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, groupid GroupidParameter)

(PUT /api/v1/organizations/{organizationID}/groups/{groupid})

func (Unimplemented) PutApiV1OrganizationsOrganizationIDOauth2providersProviderID

func (_ Unimplemented) PutApiV1OrganizationsOrganizationIDOauth2providersProviderID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, providerID Oauth2ProvderIDParameter)

(PUT /api/v1/organizations/{organizationID}/oauth2providers/{providerID})

func (Unimplemented) PutApiV1OrganizationsOrganizationIDProjectsProjectID

func (_ Unimplemented) PutApiV1OrganizationsOrganizationIDProjectsProjectID(w http.ResponseWriter, r *http.Request, organizationID OrganizationIDParameter, projectID ProjectIDParameter)

(PUT /api/v1/organizations/{organizationID}/projects/{projectID})

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateGroupRequest

type UpdateGroupRequest = GroupWrite

UpdateGroupRequest A group when created or updated.

type UpdateOrganizationRequest

type UpdateOrganizationRequest = OrganizationWrite

UpdateOrganizationRequest An organization when created or updated.

type UpdateProjectRequest

type UpdateProjectRequest = ProjectWrite

UpdateProjectRequest A project when created or updated.

type Userinfo added in v0.2.20

type Userinfo struct {
	// Aud The intended token audience.
	Aud *string `json:"aud,omitempty"`

	// Exp The token expiry time.
	Exp *int `json:"exp,omitempty"`

	// Iat When the token was issued.
	Iat *int `json:"iat,omitempty"`

	// Iss The token issuer.
	Iss *string `json:"iss,omitempty"`

	// Jti The token ID.
	Jti *string `json:"jti,omitempty"`

	// Nbf The token start time.
	Nbf *int `json:"nbf,omitempty"`

	// Sub The access token's subject.
	Sub string `json:"sub"`
}

Userinfo Access token introspection data.

type UserinfoResponse

type UserinfoResponse = Userinfo

UserinfoResponse Access token introspection data.

Jump to

Keyboard shortcuts

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