This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 1.5.1-SNAPSHOT
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://www.atricore.com
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import jossoappi "github.com/atricore/josso-api-go"
To use a proxy, set the environment variable HTTP_PROXY
:
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
Default configuration comes with Servers
field that contains server objects as defined in the OpenAPI specification.
For using other server than the one defined on index 0 set context value sw.ContextServerIndex
of type int
.
ctx := context.WithValue(context.Background(), jossoappi.ContextServerIndex, 1)
Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables
of type map[string]string
.
ctx := context.WithValue(context.Background(), jossoappi.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Note, enum values are always validated and all unused variables are silently ignored.
Each operation can use different server URL defined using OperationServers
map in the Configuration
.
An operation is uniquely identified by "{classname}Service.{nickname}"
string.
Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ctx := context.WithValue(context.Background(), jossoappi.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), jossoappi.ContextOperationServerVariables, map[string]map[string]string{
"{classname}Service.{nickname}": {
"port": "8443",
},
})
All URIs are relative to http://localhost:8081/atricore-res/services
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | ActivateExecEnv | Get /iam-deploy/execenv/activate | |
DefaultApi | BuildAppliance | Get /iam-deploy/appliance/build | |
DefaultApi | CreateAppliance | Post /iam-deploy/appliance | |
DefaultApi | CreateBranding | Post /iam-branding/branding | |
DefaultApi | CreateDbIdVault | Post /iam-deploy/dbidvault | |
DefaultApi | CreateExtSaml2Sp | Post /iam-deploy/extsaml2sp | |
DefaultApi | CreateIdP | Post /iam-deploy/idp | |
DefaultApi | CreateIdSourceDb | Post /iam-deploy/idsourcedb | |
DefaultApi | CreateIdSourceLdap | Post /iam-deploy/idsourceldap | |
DefaultApi | CreateIdVault | Post /iam-deploy/idvault | |
DefaultApi | CreateIdpAzure | Post /iam-deploy/idp_azure | |
DefaultApi | CreateIdpFacebook | Post /iam-deploy/idp_fb | |
DefaultApi | CreateIdpGoogle | Post /iam-deploy/idp_google | |
DefaultApi | CreateIdpSaml2 | Post /iam-deploy/idp_saml2 | |
DefaultApi | CreateIisExecEnv | Post /iam-deploy/iisexecenv | |
DefaultApi | CreateIntSaml2Sp | Post /iam-deploy/intsaml2sp | |
DefaultApi | CreateJossoRs | Post /iam-deploy/jossors | |
DefaultApi | CreateOidcRp | Post /iam-deploy/oidcrp | |
DefaultApi | CreatePhpExecEnv | Post /iam-deploy/phpexecenv | |
DefaultApi | CreateSelfSvcs | Post /iam-deploy/selfsvc | |
DefaultApi | CreateSharepointRs | Post /iam-deploy/sharepointrs | |
DefaultApi | CreateTomcatExecEnv | Post /iam-deploy/tomcatexecenv | |
DefaultApi | CreateVirtSaml2Sp | Post /iam-deploy/virtsaml2sp | |
DefaultApi | CreateWeblogicExecEnv | Post /iam-deploy/weblogicexecenv | |
DefaultApi | DeleteAppliance | Delete /iam-deploy/appliance | |
DefaultApi | DeleteBranding | Delete /iam-branding/branding | |
DefaultApi | DeleteDbIdVault | Delete /iam-deploy/dbidvault | |
DefaultApi | DeleteExtSaml2Sp | Delete /iam-deploy/extsaml2sp | |
DefaultApi | DeleteIdP | Delete /iam-deploy/idp | |
DefaultApi | DeleteIdSourceDb | Delete /iam-deploy/idsourcedb | |
DefaultApi | DeleteIdSourceLdap | Delete /iam-deploy/idsourceldap | |
DefaultApi | DeleteIdVault | Delete /iam-deploy/idvault | |
DefaultApi | DeleteIdpAzure | Delete /iam-deploy/idp_azure | |
DefaultApi | DeleteIdpFacebook | Delete /iam-deploy/idp_fb | |
DefaultApi | DeleteIdpGoogle | Delete /iam-deploy/idp_google | |
DefaultApi | DeleteIdpSaml2 | Delete /iam-deploy/idp_saml2 | |
DefaultApi | DeleteIisExecEnv | Delete /iam-deploy/iisexecenv | |
DefaultApi | DeleteIntSaml2Sp | Delete /iam-deploy/intsaml2sp | |
DefaultApi | DeleteJossoRs | Delete /iam-deploy/jossors | |
DefaultApi | DeleteOidcRp | Delete /iam-deploy/oidcrp | |
DefaultApi | DeletePhpExecEnv | Delete /iam-deploy/phpexecenv | |
DefaultApi | DeleteSelfSvcs | Delete /iam-deploy/selfsvc | |
DefaultApi | DeleteSharepointRs | Delete /iam-deploy/sharepointrs | |
DefaultApi | DeleteTomcatExecEnv | Delete /iam-deploy/tomcatexecenv | |
DefaultApi | DeleteVirtSaml2Sp | Delete /iam-deploy/virtsaml2sp | |
DefaultApi | DeleteWeblogicExecEnv | Delete /iam-deploy/weblogicexecenv | |
DefaultApi | ExportAppliance | Get /iam-deploy/appliance/export | |
DefaultApi | ExportExecEnvCfg | Get /iam-deploy/execenv/cfg | |
DefaultApi | GetAllBrandings | Get /iam-branding/brandings | |
DefaultApi | GetAppliance | Get /iam-deploy/appliance | |
DefaultApi | GetApplianceContainer | Get /iam-deploy/appliance-container | |
DefaultApi | GetApplianceContainers | Get /iam-deploy/appliance-containers | |
DefaultApi | GetApplianceState | Get /iam-deploy/appliance/state | |
DefaultApi | GetAppliances | Get /iam-deploy/appliances | |
DefaultApi | GetBranding | Get /iam-branding/branding | |
DefaultApi | GetBundles | Get /iam-deploy/server/bundles | |
DefaultApi | GetDbIdVault | Get /iam-deploy/dbidvault | |
DefaultApi | GetDbIdVaults | Get /iam-deploy/dbidvaults | |
DefaultApi | GetExecEnv | Get /iam-deploy/execenv | |
DefaultApi | GetExecEnvs | Get /iam-deploy/execenvs | |
DefaultApi | GetExtSaml2Sp | Get /iam-deploy/extsaml2sp | |
DefaultApi | GetExtSaml2Sps | Get /iam-deploy/extsaml2sps | |
DefaultApi | GetIdP | Get /iam-deploy/idp | |
DefaultApi | GetIdPs | Get /iam-deploy/idps | |
DefaultApi | GetIdSource | Get /iam-deploy/idsource | |
DefaultApi | GetIdSourceDb | Get /iam-deploy/idsourcedb | |
DefaultApi | GetIdSourceDbs | Get /iam-deploy/idsourcedbs | |
DefaultApi | GetIdSourceLdap | Get /iam-deploy/idsourceldap | |
DefaultApi | GetIdSourceLdaps | Get /iam-deploy/idsourceldaps | |
DefaultApi | GetIdSources | Get /iam-deploy/idsources | |
DefaultApi | GetIdVault | Get /iam-deploy/idvault | |
DefaultApi | GetIdVaults | Get /iam-deploy/idvaults | |
DefaultApi | GetIdpAzure | Get /iam-deploy/idp_azure | |
DefaultApi | GetIdpAzures | Get /iam-deploy/idp_azures | |
DefaultApi | GetIdpFacebook | Get /iam-deploy/idp_fb | |
DefaultApi | GetIdpFacebooks | Get /iam-deploy/idp_fbs | |
DefaultApi | GetIdpGoogle | Get /iam-deploy/idp_google | |
DefaultApi | GetIdpGoogles | Get /iam-deploy/idp_googles | |
DefaultApi | GetIdpSaml2 | Get /iam-deploy/idp_saml2 | |
DefaultApi | GetIdpSaml2s | Get /iam-deploy/idp_saml2s | |
DefaultApi | GetIisExecEnv | Get /iam-deploy/iisexecenv | |
DefaultApi | GetIisExecEnvs | Get /iam-deploy/iisexecenvs | |
DefaultApi | GetInfo | Get /iam-deploy/server/info | |
DefaultApi | GetIntSaml2Sp | Get /iam-deploy/intsaml2sp | |
DefaultApi | GetIntSaml2Sps | Get /iam-deploy/intsaml2sps | |
DefaultApi | GetJossoRs | Get /iam-deploy/jossors | |
DefaultApi | GetJossoRss | Get /iam-deploy/jossorss | |
DefaultApi | GetOidcRp | Get /iam-deploy/oidcrp | |
DefaultApi | GetOidcRps | Get /iam-deploy/oidcrps | |
DefaultApi | GetPhpExecEnv | Get /iam-deploy/phpexecenv | |
DefaultApi | GetPhpExecEnvs | Get /iam-deploy/phpexecenvs | |
DefaultApi | GetProvider | Get /iam-deploy/provider | |
DefaultApi | GetProviders | Get /iam-deploy/providers | |
DefaultApi | GetSelfSvcs | Get /iam-deploy/selfsvc | |
DefaultApi | GetSelfSvcss | Get /iam-deploy/selfsvcs | |
DefaultApi | GetSharepointRs | Get /iam-deploy/sharepointrs | |
DefaultApi | GetSharepointRss | Get /iam-deploy/sharepointrss | |
DefaultApi | GetTomcatExecEnv | Get /iam-deploy/tomcatexecenv | |
DefaultApi | GetTomcatExecEnvs | Get /iam-deploy/tomcatexecenvs | |
DefaultApi | GetTypes | Get /iam-deploy/noop/types | |
DefaultApi | GetVirtSaml2Sp | Get /iam-deploy/virtsaml2sp | |
DefaultApi | GetVirtSaml2Sps | Get /iam-deploy/virtsaml2sps | |
DefaultApi | GetWeblogicExecEnv | Get /iam-deploy/weblogicexecenv | |
DefaultApi | GetWeblogicExecEnvs | Get /iam-deploy/weblogicexecenvs | |
DefaultApi | ImportAppliance | Post /iam-deploy/appliance/import | |
DefaultApi | LayoutAppliance | Get /iam-deploy/appliance/layout | |
DefaultApi | RefreshBrandings | Get /iam-branding/brandings/refresh | |
DefaultApi | SignOn | Post /iam-authn/sign-on | |
DefaultApi | StartAppliance | Get /iam-deploy/appliance/start | |
DefaultApi | StopAppliance | Get /iam-deploy/appliance/stop | |
DefaultApi | UpdateAppliance | Put /iam-deploy/appliance | |
DefaultApi | UpdateBranding | Put /iam-branding/branding | |
DefaultApi | UpdateDbIdVault | Put /iam-deploy/dbidvault | |
DefaultApi | UpdateExtSaml2Sp | Put /iam-deploy/extsaml2sp | |
DefaultApi | UpdateIdP | Put /iam-deploy/idp | |
DefaultApi | UpdateIdSourceDb | Put /iam-deploy/idsourcedb | |
DefaultApi | UpdateIdSourceLdap | Put /iam-deploy/idsourceldap | |
DefaultApi | UpdateIdVault | Put /iam-deploy/idvault | |
DefaultApi | UpdateIdpAzure | Put /iam-deploy/idp_azure | |
DefaultApi | UpdateIdpFacebook | Put /iam-deploy/idp_fb | |
DefaultApi | UpdateIdpGoogle | Put /iam-deploy/idp_google | |
DefaultApi | UpdateIdpSaml2 | Put /iam-deploy/idp_saml2 | |
DefaultApi | UpdateIisExecEnv | Put /iam-deploy/iisexecenv | |
DefaultApi | UpdateIntSaml2Sp | Put /iam-deploy/intsaml2sp | |
DefaultApi | UpdateJossoRs | Put /iam-deploy/jossors | |
DefaultApi | UpdateOidcRp | Put /iam-deploy/oidcrp | |
DefaultApi | UpdatePhpExecEnv | Put /iam-deploy/phpexecenv | |
DefaultApi | UpdateSelfSvcs | Put /iam-deploy/selfsvc | |
DefaultApi | UpdateSharepointRs | Put /iam-deploy/sharepointrs | |
DefaultApi | UpdateTomcatExecEnv | Put /iam-deploy/tomcatexecenv | |
DefaultApi | UpdateVirtSaml2Sp | Put /iam-deploy/virtsaml2sp | |
DefaultApi | UpdateWeblogicExecEnv | Put /iam-deploy/weblogicexecenv | |
DefaultApi | ValidateAppliance | Get /iam-deploy/appliance/validate | |
DefaultApi | Version | Get /iam-authn/version |
- AccountLinkagePolicyDTO
- ActivateExecEnvReq
- ActivateExecEnvRes
- ActivationDTO
- AttributeMapperProfileDTO
- AttributeMappingDTO
- AttributeProfileDTO
- AttributeValueDTO
- AuthenticationAssertionEmissionPolicyDTO
- AuthenticationContractDTO
- AuthenticationMechanismDTO
- AuthenticationServiceDTO
- AzureOpenIDConnectIdentityProviderDTO
- BasicAuthenticationDTO
- BindAuthenticationDTO
- BuiltInAttributeProfileDTO
- BundleDescr
- CalcLayoutReq
- CalcLayoutRes
- CustomAuthnServiceDTO
- CustomBrandingDefinitionDTO
- CustomClassDTO
- CustomClassPropertyDTO
- DbIdentitySourceDTO
- DbIdentityVaultDTO
- DelegatedAuthenticationDTO
- DeleteBrandingReq
- DeleteBrandingRes
- DeleteReq
- DeleteRes
- DirectoryAuthenticationServiceDTO
- EmbeddedIdentityVaultDTO
- EntitySelectionStrategyDTO
- ExecEnvContainerDTO
- ExecutionEnvironmentDTO
- ExportApplianceReq
- ExportApplianceRes
- ExportExecEnvCfgReq
- ExportExecEnvCfgRes
- ExtensionDTO
- ExternalOpenIDConnectRelayingPartyDTO
- ExternalSaml2IdentityProviderDTO
- ExternalSaml2ServiceProviderDTO
- FacebookOpenIDConnectIdentityProviderDTO
- FederatedChannelDTO
- FederatedConnectionDTO
- FederatedProviderDTO
- GetAllBrandingsReq
- GetAllBrandingsRes
- GetApplianceContainerRes
- GetApplianceContainersRes
- GetApplianceReq
- GetApplianceRes
- GetApplianceStateRes
- GetAppliancesRes
- GetBrandingReq
- GetBrandingRes
- GetBundlesReq
- GetBundlesRes
- GetDbIdVaultReq
- GetDbIdVaultRes
- GetDbIdVaultsRes
- GetExecEnvReq
- GetExecEnvRes
- GetExecEnvsRes
- GetExtSaml2SpReq
- GetExtSaml2SpRes
- GetExtSaml2SpsRes
- GetIdPReq
- GetIdPRes
- GetIdPSaml2Req
- GetIdPSaml2Res
- GetIdPSaml2sRes
- GetIdPsRes
- GetIdSourceDbReq
- GetIdSourceDbRes
- GetIdSourceDbsRes
- GetIdSourceLdapReq
- GetIdSourceLdapRes
- GetIdSourceLdapsRes
- GetIdSourceReq
- GetIdSourceRes
- GetIdSourcesReq
- GetIdSourcesRes
- GetIdVaultReq
- GetIdVaultRes
- GetIdVaultsRes
- GetIdpAzureReq
- GetIdpAzureRes
- GetIdpAzuresRes
- GetIdpFacebookReq
- GetIdpFacebookRes
- GetIdpFacebooksRes
- GetIdpGoogleReq
- GetIdpGoogleRes
- GetIdpGooglesRes
- GetIisExecEnvReq
- GetIisExecEnvRes
- GetIisExecEnvsRes
- GetIntSaml2SpReq
- GetIntSaml2SpRes
- GetIntSaml2SpsRes
- GetJossoRsReq
- GetJossoRsRes
- GetJossoRssRes
- GetOidcRpReq
- GetOidcRpRes
- GetOidcRpsRes
- GetPhpExecEnvReq
- GetPhpExecEnvRes
- GetPhpExecEnvsRes
- GetProviderReq
- GetProviderRes
- GetProvidersRes
- GetSelfSvcRsReq
- GetSelfSvcRsRes
- GetSelfSvcRssRes
- GetServerInfoReq
- GetServerInfoRes
- GetSharepointRsReq
- GetSharepointRsRes
- GetSharepointRssRes
- GetTomcatExecEnvReq
- GetTomcatExecEnvRes
- GetTomcatExecEnvsRes
- GetTypesRes
- GetVirtSaml2SpReq
- GetVirtSaml2SpRes
- GetVirtSaml2SpsRes
- GetWeblogicExecEnvReq
- GetWeblogicExecEnvRes
- GetWeblogicExecEnvsRes
- GoogleOpenIDConnectIdentityProviderDTO
- GroupDTO
- IdSourceContainerDTO
- IdentityApplianceContainerDTO
- IdentityApplianceDTO
- IdentityApplianceDefinitionDTO
- IdentityApplianceDeploymentDTO
- IdentityApplianceSecurityConfigDTO
- IdentityApplianceUnitDTO
- IdentityLookupDTO
- IdentityMappingPolicyDTO
- IdentityProviderChannelDTO
- IdentityProviderDTO
- IdentitySourceDTO
- ImpersonateUserPolicyDTO
- ImportApplianceReq
- ImportApplianceRes
- InternalSaml2ServiceProviderChannelDTO
- InternalSaml2ServiceProviderDTO
- JOSSO1ResourceDTO
- KeystoreDTO
- LdapIdentitySourceDTO
- LocationDTO
- OAuth2ClientDTO
- OIDCSignOnRequest
- OIDCSignOnResponse
- PHPExecutionEnvironmentDTO
- PointDTO
- ProviderConfigDTO
- ProviderContainerDTO
- ProviderDTO
- RefreshBrandingsRes
- ResourceDTO
- SamlR2IDPConfigDTO
- SamlR2SPConfigDTO
- SelfServicesResourceDTO
- ServerContext
- ServerVersionRequest
- ServerVersionResponse
- ServiceConnectionDTO
- ServiceResourceDTO
- SessionManagerFactoryDTO
- SetApplianceStateReq
- SharepointResourceDTO
- StoreApplianceReq
- StoreApplianceRes
- StoreBrandingReq
- StoreBrandingRes
- StoreDbIdVaultReq
- StoreDbIdVaultRes
- StoreExtSaml2SpReq
- StoreExtSaml2SpRes
- StoreIdPReq
- StoreIdPRes
- StoreIdPSaml2Req
- StoreIdPSaml2Res
- StoreIdSourceDbReq
- StoreIdSourceDbRes
- StoreIdSourceLdapReq
- StoreIdSourceLdapRes
- StoreIdVaultReq
- StoreIdVaultRes
- StoreIdpAzureReq
- StoreIdpAzureRes
- StoreIdpFacebookReq
- StoreIdpFacebookRes
- StoreIdpGoogleReq
- StoreIdpGoogleRes
- StoreIisExecEnvReq
- StoreIisExecEnvRes
- StoreIntSaml2SpReq
- StoreIntSaml2SpRes
- StoreJossoRsReq
- StoreJossoRsRes
- StoreOidcRpReq
- StoreOidcRpRes
- StorePhpExecEnvReq
- StorePhpExecEnvRes
- StoreSelfSvcRsReq
- StoreSelfSvcRsRes
- StoreSharepointRsReq
- StoreSharepointRsRes
- StoreTomcatExecEnvReq
- StoreTomcatExecEnvRes
- StoreVirtSaml2SpReq
- StoreVirtSaml2SpRes
- StoreWeblogicExecEnvReq
- StoreWeblogicExecEnvRes
- SubjectAuthenticationPolicyDTO
- SubjectNameIdentifierPolicyDTO
- TOTPAuthenticationServiceDTO
- TomcatExecutionEnvironmentDTO
- UserDTO
- UserDashboardBrandingDTO
- VirtualSaml2ServiceProviderDTO
- WeblogicExecutionEnvironmentDTO
- WindowsIISExecutionEnvironmentDTO
Endpoints do not require authorization.
Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:
PtrBool
PtrInt
PtrInt32
PtrInt64
PtrFloat
PtrFloat32
PtrFloat64
PtrString
PtrTime