All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost | Post /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/add-models | Create multiple mappers |
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet | Get /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models | Get mappers |
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDelete | Delete /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id} | Delete the mapper |
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet | Get /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id} | Get mapper by id |
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPut | Put /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id} | Update the mapper |
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPost | Post /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models | Create a mapper |
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet | Get /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/protocol/{protocol} | Get mappers by name for a specific protocol |
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPost | Post /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/add-models | Create multiple mappers |
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet | Get /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models | Get mappers |
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDelete | Delete /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id} | Delete the mapper |
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet | Get /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id} | Get mapper by id |
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPut | Put /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id} | Update the mapper |
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPost | Post /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models | Create a mapper |
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet | Get /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/protocol/{protocol} | Get mappers by name for a specific protocol |
AdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPost | Post /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/add-models | Create multiple mappers |
AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet | Get /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models | Get mappers |
AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDelete | Delete /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id} | Delete the mapper |
AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet | Get /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id} | Get mapper by id |
AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPut | Put /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id} | Update the mapper |
AdminRealmsRealmClientsClientUuidProtocolMappersModelsPost | Post /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models | Create a mapper |
AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet | Get /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/protocol/{protocol} | Get mappers by name for a specific protocol |
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost(ctx, realm, clientScopeId).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
Create multiple mappers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
protocolMapperRepresentation := []openapiclient.ProtocolMapperRepresentation{*openapiclient.NewProtocolMapperRepresentation()} // []ProtocolMapperRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost(context.Background(), realm, clientScopeId).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
protocolMapperRepresentation | []ProtocolMapperRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ProtocolMapperRepresentation AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet(ctx, realm, clientScopeId).Execute()
Get mappers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet(context.Background(), realm, clientScopeId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet`: []ProtocolMapperRepresentation
fmt.Fprintf(os.Stdout, "Response from `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
[]ProtocolMapperRepresentation
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDelete(ctx, realm, clientScopeId, id).Execute()
Delete the mapper
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
id := "id_example" // string | Mapper id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDelete(context.Background(), realm, clientScopeId, id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string | ||
id | string | Mapper id |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProtocolMapperRepresentation AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet(ctx, realm, clientScopeId, id).Execute()
Get mapper by id
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
id := "id_example" // string | Mapper id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet(context.Background(), realm, clientScopeId, id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet`: ProtocolMapperRepresentation
fmt.Fprintf(os.Stdout, "Response from `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string | ||
id | string | Mapper id |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPut(ctx, realm, clientScopeId, id).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
Update the mapper
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
id := "id_example" // string | Mapper id
protocolMapperRepresentation := *openapiclient.NewProtocolMapperRepresentation() // ProtocolMapperRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPut(context.Background(), realm, clientScopeId, id).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string | ||
id | string | Mapper id |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
protocolMapperRepresentation | ProtocolMapperRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPost(ctx, realm, clientScopeId).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
Create a mapper
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
protocolMapperRepresentation := *openapiclient.NewProtocolMapperRepresentation() // ProtocolMapperRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPost(context.Background(), realm, clientScopeId).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
protocolMapperRepresentation | ProtocolMapperRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ProtocolMapperRepresentation AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet(ctx, realm, clientScopeId, protocol).Execute()
Get mappers by name for a specific protocol
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
protocol := "protocol_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet(context.Background(), realm, clientScopeId, protocol).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet`: []ProtocolMapperRepresentation
fmt.Fprintf(os.Stdout, "Response from `ProtocolMappersAPI.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string | ||
protocol | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
[]ProtocolMapperRepresentation
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPost(ctx, realm, clientScopeId).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
Create multiple mappers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
protocolMapperRepresentation := []openapiclient.ProtocolMapperRepresentation{*openapiclient.NewProtocolMapperRepresentation()} // []ProtocolMapperRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPost(context.Background(), realm, clientScopeId).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
protocolMapperRepresentation | []ProtocolMapperRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ProtocolMapperRepresentation AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet(ctx, realm, clientScopeId).Execute()
Get mappers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet(context.Background(), realm, clientScopeId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet`: []ProtocolMapperRepresentation
fmt.Fprintf(os.Stdout, "Response from `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
[]ProtocolMapperRepresentation
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDelete(ctx, realm, clientScopeId, id).Execute()
Delete the mapper
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
id := "id_example" // string | Mapper id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDelete(context.Background(), realm, clientScopeId, id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string | ||
id | string | Mapper id |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProtocolMapperRepresentation AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet(ctx, realm, clientScopeId, id).Execute()
Get mapper by id
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
id := "id_example" // string | Mapper id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet(context.Background(), realm, clientScopeId, id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet`: ProtocolMapperRepresentation
fmt.Fprintf(os.Stdout, "Response from `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string | ||
id | string | Mapper id |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPut(ctx, realm, clientScopeId, id).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
Update the mapper
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
id := "id_example" // string | Mapper id
protocolMapperRepresentation := *openapiclient.NewProtocolMapperRepresentation() // ProtocolMapperRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPut(context.Background(), realm, clientScopeId, id).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string | ||
id | string | Mapper id |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
protocolMapperRepresentation | ProtocolMapperRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPost(ctx, realm, clientScopeId).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
Create a mapper
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
protocolMapperRepresentation := *openapiclient.NewProtocolMapperRepresentation() // ProtocolMapperRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPost(context.Background(), realm, clientScopeId).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
protocolMapperRepresentation | ProtocolMapperRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ProtocolMapperRepresentation AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet(ctx, realm, clientScopeId, protocol).Execute()
Get mappers by name for a specific protocol
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientScopeId := "clientScopeId_example" // string |
protocol := "protocol_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet(context.Background(), realm, clientScopeId, protocol).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet`: []ProtocolMapperRepresentation
fmt.Fprintf(os.Stdout, "Response from `ProtocolMappersAPI.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientScopeId | string | ||
protocol | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
[]ProtocolMapperRepresentation
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPost(ctx, realm, clientUuid).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
Create multiple mappers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientUuid := "clientUuid_example" // string | id of client (not client-id!)
protocolMapperRepresentation := []openapiclient.ProtocolMapperRepresentation{*openapiclient.NewProtocolMapperRepresentation()} // []ProtocolMapperRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPost(context.Background(), realm, clientUuid).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientUuid | string | id of client (not client-id!) |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
protocolMapperRepresentation | []ProtocolMapperRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ProtocolMapperRepresentation AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet(ctx, realm, clientUuid).Execute()
Get mappers
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientUuid := "clientUuid_example" // string | id of client (not client-id!)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet(context.Background(), realm, clientUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet`: []ProtocolMapperRepresentation
fmt.Fprintf(os.Stdout, "Response from `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientUuid | string | id of client (not client-id!) |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientsClientUuidProtocolMappersModelsGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
[]ProtocolMapperRepresentation
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDelete(ctx, realm, clientUuid, id).Execute()
Delete the mapper
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientUuid := "clientUuid_example" // string | id of client (not client-id!)
id := "id_example" // string | Mapper id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDelete(context.Background(), realm, clientUuid, id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientUuid | string | id of client (not client-id!) | |
id | string | Mapper id |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProtocolMapperRepresentation AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet(ctx, realm, clientUuid, id).Execute()
Get mapper by id
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientUuid := "clientUuid_example" // string | id of client (not client-id!)
id := "id_example" // string | Mapper id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet(context.Background(), realm, clientUuid, id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet`: ProtocolMapperRepresentation
fmt.Fprintf(os.Stdout, "Response from `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientUuid | string | id of client (not client-id!) | |
id | string | Mapper id |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPut(ctx, realm, clientUuid, id).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
Update the mapper
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientUuid := "clientUuid_example" // string | id of client (not client-id!)
id := "id_example" // string | Mapper id
protocolMapperRepresentation := *openapiclient.NewProtocolMapperRepresentation() // ProtocolMapperRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPut(context.Background(), realm, clientUuid, id).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientUuid | string | id of client (not client-id!) | |
id | string | Mapper id |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
protocolMapperRepresentation | ProtocolMapperRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdminRealmsRealmClientsClientUuidProtocolMappersModelsPost(ctx, realm, clientUuid).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
Create a mapper
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientUuid := "clientUuid_example" // string | id of client (not client-id!)
protocolMapperRepresentation := *openapiclient.NewProtocolMapperRepresentation() // ProtocolMapperRepresentation | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsPost(context.Background(), realm, clientUuid).ProtocolMapperRepresentation(protocolMapperRepresentation).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersModelsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientUuid | string | id of client (not client-id!) |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientsClientUuidProtocolMappersModelsPostRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
protocolMapperRepresentation | ProtocolMapperRepresentation | |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ProtocolMapperRepresentation AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet(ctx, realm, clientUuid, protocol).Execute()
Get mappers by name for a specific protocol
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client"
)
func main() {
realm := "realm_example" // string | realm name (not id!)
clientUuid := "clientUuid_example" // string | id of client (not client-id!)
protocol := "protocol_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet(context.Background(), realm, clientUuid, protocol).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet`: []ProtocolMapperRepresentation
fmt.Fprintf(os.Stdout, "Response from `ProtocolMappersAPI.AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
realm | string | realm name (not id!) | |
clientUuid | string | id of client (not client-id!) | |
protocol | string |
Other parameters are passed through a pointer to a apiAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
[]ProtocolMapperRepresentation
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]