package
0.2.47
Repository: https://github.com/unikorn-cloud/identity.git
Documentation: pkg.go.dev

# Functions

GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewDeleteApiV1OrganizationsOrganizationIDGroupsGroupidRequest generates requests for DeleteApiV1OrganizationsOrganizationIDGroupsGroupid.
NewDeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequest generates requests for DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderID.
NewDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDRequest generates requests for DeleteApiV1OrganizationsOrganizationIDProjectsProjectID.
NewGetApiV1AclRequest generates requests for GetApiV1Acl.
NewGetApiV1Oauth2providersRequest generates requests for GetApiV1Oauth2providers.
NewGetApiV1OrganizationsOrganizationIDAclRequest generates requests for GetApiV1OrganizationsOrganizationIDAcl.
NewGetApiV1OrganizationsOrganizationIDAvailableGroupsRequest generates requests for GetApiV1OrganizationsOrganizationIDAvailableGroups.
NewGetApiV1OrganizationsOrganizationIDGroupsGroupidRequest generates requests for GetApiV1OrganizationsOrganizationIDGroupsGroupid.
NewGetApiV1OrganizationsOrganizationIDGroupsRequest generates requests for GetApiV1OrganizationsOrganizationIDGroups.
NewGetApiV1OrganizationsOrganizationIDOauth2providersRequest generates requests for GetApiV1OrganizationsOrganizationIDOauth2providers.
NewGetApiV1OrganizationsOrganizationIDProjectsProjectIDRequest generates requests for GetApiV1OrganizationsOrganizationIDProjectsProjectID.
NewGetApiV1OrganizationsOrganizationIDProjectsRequest generates requests for GetApiV1OrganizationsOrganizationIDProjects.
NewGetApiV1OrganizationsOrganizationIDRequest generates requests for GetApiV1OrganizationsOrganizationID.
NewGetApiV1OrganizationsOrganizationIDRolesRequest generates requests for GetApiV1OrganizationsOrganizationIDRoles.
NewGetApiV1OrganizationsRequest generates requests for GetApiV1Organizations.
NewGetOauth2V2AuthorizationRequest generates requests for GetOauth2V2Authorization.
NewGetOauth2V2JwksRequest generates requests for GetOauth2V2Jwks.
NewGetOauth2V2UserinfoRequest generates requests for GetOauth2V2Userinfo.
NewGetOidcCallbackRequest generates requests for GetOidcCallback.
NewGetWellKnownOpenidConfigurationRequest generates requests for GetWellKnownOpenidConfiguration.
NewPostApiV1OrganizationsOrganizationIDGroupsRequest calls the generic PostApiV1OrganizationsOrganizationIDGroups builder with application/json body.
NewPostApiV1OrganizationsOrganizationIDGroupsRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDGroups with any type of body.
NewPostApiV1OrganizationsOrganizationIDOauth2providersRequest calls the generic PostApiV1OrganizationsOrganizationIDOauth2providers builder with application/json body.
NewPostApiV1OrganizationsOrganizationIDOauth2providersRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDOauth2providers with any type of body.
NewPostApiV1OrganizationsOrganizationIDProjectsRequest calls the generic PostApiV1OrganizationsOrganizationIDProjects builder with application/json body.
NewPostApiV1OrganizationsOrganizationIDProjectsRequestWithBody generates requests for PostApiV1OrganizationsOrganizationIDProjects with any type of body.
NewPostApiV1OrganizationsRequest calls the generic PostApiV1Organizations builder with application/json body.
NewPostApiV1OrganizationsRequestWithBody generates requests for PostApiV1Organizations with any type of body.
NewPostOauth2V2LoginRequestWithBody generates requests for PostOauth2V2Login with any type of body.
NewPostOauth2V2LoginRequestWithFormdataBody calls the generic PostOauth2V2Login builder with application/x-www-form-urlencoded body.
NewPostOauth2V2TokenRequestWithBody generates requests for PostOauth2V2Token with any type of body.
NewPostOauth2V2TokenRequestWithFormdataBody calls the generic PostOauth2V2Token builder with application/x-www-form-urlencoded body.
NewPutApiV1OrganizationsOrganizationIDGroupsGroupidRequest calls the generic PutApiV1OrganizationsOrganizationIDGroupsGroupid builder with application/json body.
NewPutApiV1OrganizationsOrganizationIDGroupsGroupidRequestWithBody generates requests for PutApiV1OrganizationsOrganizationIDGroupsGroupid with any type of body.
NewPutApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequest calls the generic PutApiV1OrganizationsOrganizationIDOauth2providersProviderID builder with application/json body.
NewPutApiV1OrganizationsOrganizationIDOauth2providersProviderIDRequestWithBody generates requests for PutApiV1OrganizationsOrganizationIDOauth2providersProviderID with any type of body.
NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDRequest calls the generic PutApiV1OrganizationsOrganizationIDProjectsProjectID builder with application/json body.
NewPutApiV1OrganizationsOrganizationIDProjectsProjectIDRequestWithBody generates requests for PutApiV1OrganizationsOrganizationIDProjectsProjectID with any type of body.
NewPutApiV1OrganizationsOrganizationIDRequest calls the generic PutApiV1OrganizationsOrganizationID builder with application/json body.
NewPutApiV1OrganizationsOrganizationIDRequestWithBody generates requests for PutApiV1OrganizationsOrganizationID with any type of body.
ParseDeleteApiV1OrganizationsOrganizationIDGroupsGroupidResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse call.
ParseDeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse call.
ParseDeleteApiV1OrganizationsOrganizationIDProjectsProjectIDResponse parses an HTTP response from a DeleteApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse call.
ParseGetApiV1AclResponse parses an HTTP response from a GetApiV1AclWithResponse call.
ParseGetApiV1Oauth2providersResponse parses an HTTP response from a GetApiV1Oauth2providersWithResponse call.
ParseGetApiV1OrganizationsOrganizationIDAclResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDAclWithResponse call.
ParseGetApiV1OrganizationsOrganizationIDAvailableGroupsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDAvailableGroupsWithResponse call.
ParseGetApiV1OrganizationsOrganizationIDGroupsGroupidResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse call.
ParseGetApiV1OrganizationsOrganizationIDGroupsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDGroupsWithResponse call.
ParseGetApiV1OrganizationsOrganizationIDOauth2providersResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDOauth2providersWithResponse call.
ParseGetApiV1OrganizationsOrganizationIDProjectsProjectIDResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse call.
ParseGetApiV1OrganizationsOrganizationIDProjectsResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDProjectsWithResponse call.
ParseGetApiV1OrganizationsOrganizationIDResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDWithResponse call.
ParseGetApiV1OrganizationsOrganizationIDRolesResponse parses an HTTP response from a GetApiV1OrganizationsOrganizationIDRolesWithResponse call.
ParseGetApiV1OrganizationsResponse parses an HTTP response from a GetApiV1OrganizationsWithResponse call.
ParseGetOauth2V2AuthorizationResponse parses an HTTP response from a GetOauth2V2AuthorizationWithResponse call.
ParseGetOauth2V2JwksResponse parses an HTTP response from a GetOauth2V2JwksWithResponse call.
ParseGetOauth2V2UserinfoResponse parses an HTTP response from a GetOauth2V2UserinfoWithResponse call.
ParseGetOidcCallbackResponse parses an HTTP response from a GetOidcCallbackWithResponse call.
ParseGetWellKnownOpenidConfigurationResponse parses an HTTP response from a GetWellKnownOpenidConfigurationWithResponse call.
ParsePostApiV1OrganizationsOrganizationIDGroupsResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDGroupsWithResponse call.
ParsePostApiV1OrganizationsOrganizationIDOauth2providersResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDOauth2providersWithResponse call.
ParsePostApiV1OrganizationsOrganizationIDProjectsResponse parses an HTTP response from a PostApiV1OrganizationsOrganizationIDProjectsWithResponse call.
ParsePostApiV1OrganizationsResponse parses an HTTP response from a PostApiV1OrganizationsWithResponse call.
ParsePostOauth2V2LoginResponse parses an HTTP response from a PostOauth2V2LoginWithResponse call.
ParsePostOauth2V2TokenResponse parses an HTTP response from a PostOauth2V2TokenWithResponse call.
ParsePutApiV1OrganizationsOrganizationIDGroupsGroupidResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDGroupsGroupidWithResponse call.
ParsePutApiV1OrganizationsOrganizationIDOauth2providersProviderIDResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDWithResponse call.
ParsePutApiV1OrganizationsOrganizationIDProjectsProjectIDResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDProjectsProjectIDWithResponse call.
ParsePutApiV1OrganizationsOrganizationIDResponse parses an HTTP response from a PutApiV1OrganizationsOrganizationIDWithResponse call.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Constants

Defines values for OrganizationType.
Defines values for GrantType.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for Claim.
Defines values for GrantType.
Defines values for AuthMethod.
Defines values for AuthMethod.
Defines values for AclOperation.
Defines values for AclOperation.
Defines values for OrganizationType.
Defines values for SigningAlgorithm.
Defines values for ProviderScope.
Defines values for Oauth2ProviderType.
Defines values for Oauth2ProviderType.
No description provided by the author
Defines values for ProviderScope.
Defines values for CodeChallengeMethod.
Defines values for AclOperation.
Defines values for GrantType.
Defines values for ResponseType.
Defines values for ResponseType.
Defines values for ResponseType.
Defines values for ResponseType.
Defines values for ResponseType.
Defines values for ResponseType.
Defines values for ResponseType.
Defines values for ResponseType.
Defines values for CodeChallengeMethod.
Defines values for Scope.
Defines values for Scope.
Defines values for Scope.
Defines values for AuthMethod.
Defines values for AclOperation.

# Structs

Acl A list of access control scopes and permissions.
AclEndpoint A set of access control permissions for a resource type.
AclScopedEndpoints Resource scoped endpoint permissions.
AvailableGroup An IdP group.
No description provided by the author
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GroupRead A group when read.
GroupSpec A group.
GroupWrite A group when created or updated.
No description provided by the author
JsonWebKeySet JSON web key set.
LoginRequestOptions Login request options.
Oauth2ProviderRead An OAuth2 provider when read.
Oauth2ProviderSpec An oauth2 provider.
Oauth2ProviderWrite An OAuth2 provider when created or updated.
OpenidConfiguration OpenID configuration.
OrganizationRead An organization when read.
OrganizationSpec An organization.
OrganizationWrite An organization when created or updated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProjectRead A project when read.
ProjectSpec A project.
ProjectWrite A project when created or updated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RoleRead A role.
ServerInterfaceWrapper converts contexts to parameters.
Token Oauth2 token result.
TokenRequestOptions oauth2 token endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Userinfo Access token introspection data.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.
ServerInterface represents all server handlers.

# Type aliases

AclEndpoints A list of access control scopes.
AclOperation An access control operation.
AclOperations A list of access control operations.
AclResponse A list of access control scopes and permissions.
AclScopedEndpointsList A list of resource scoped endpoint permissions.
AuthMethod Supported authentication methods.
AvailableGroups A list of IdP groups.
AvailableGroupsResponse A list of IdP groups.
Claim Supported claims.
ClientOption allows setting custom parameters during construction.
CodeChallengeMethod Supported code challenge methods.
CreateGroupRequest A group when created or updated.
CreateProjectRequest A project when created or updated.
GrantType Supported grant type.
GroupidParameter defines model for groupidParameter.
GroupIDs A list of group IDs.
GroupResponse A group when read.
Groups A list of groups.
GroupsResponse A list of groups.
JsonWebKey JSON web key.
JwksResponse JSON web key set.
No description provided by the author
Oauth2ProvderIDParameter defines model for oauth2ProvderIDParameter.
Oauth2ProviderRequest An OAuth2 provider when created or updated.
Oauth2ProviderResponse An OAuth2 provider when read.
Oauth2Providers A list of oauth2 providers.
Oauth2ProvidersResponse A list of oauth2 providers.
Oauth2ProviderType The type of identity provider.
OpenidConfigurationResponse OpenID configuration.
OrganizationIDParameter defines model for organizationIDParameter.
OrganizationResponse An organization when read.
Organizations A list of organizations.
OrganizationsResponse A list of organizations.
OrganizationType Describes the authntication menthod of the organization.
PostApiV1OrganizationsJSONRequestBody defines body for PostApiV1Organizations for application/json ContentType.
PostApiV1OrganizationsOrganizationIDGroupsJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDGroups for application/json ContentType.
PostApiV1OrganizationsOrganizationIDOauth2providersJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDOauth2providers for application/json ContentType.
PostApiV1OrganizationsOrganizationIDProjectsJSONRequestBody defines body for PostApiV1OrganizationsOrganizationIDProjects for application/json ContentType.
PostOauth2V2LoginFormdataRequestBody defines body for PostOauth2V2Login for application/x-www-form-urlencoded ContentType.
PostOauth2V2TokenFormdataRequestBody defines body for PostOauth2V2Token for application/x-www-form-urlencoded ContentType.
ProjectIDParameter defines model for projectIDParameter.
ProjectResponse A project when read.
Projects A list of projects.
ProjectsResponse A list of projects.
ProviderGroupList A list of provider groups.
ProviderScope Describes how to lookup the provider, when global, use a built in generic provider e.g.
PutApiV1OrganizationsOrganizationIDGroupsGroupidJSONRequestBody defines body for PutApiV1OrganizationsOrganizationIDGroupsGroupid for application/json ContentType.
PutApiV1OrganizationsOrganizationIDJSONRequestBody defines body for PutApiV1OrganizationsOrganizationID for application/json ContentType.
PutApiV1OrganizationsOrganizationIDOauth2providersProviderIDJSONRequestBody defines body for PutApiV1OrganizationsOrganizationIDOauth2providersProviderID for application/json ContentType.
PutApiV1OrganizationsOrganizationIDProjectsProjectIDJSONRequestBody defines body for PutApiV1OrganizationsOrganizationIDProjectsProjectID for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
ResponseType Supported response types.
Roles A list of roles.
RolesResponse A list of roles.
Scope Supported scopes.
SigningAlgorithm Supported signing algorithms.
StringList A list of strings.
SystemOauth2ProvidersResponse A list of oauth2 providers.
TokenResponse Oauth2 token result.
UpdateGroupRequest A group when created or updated.
UpdateOrganizationRequest An organization when created or updated.
UpdateProjectRequest A project when created or updated.
UserinfoResponse Access token introspection data.