Uses of Class
eu.europeana.apikey.domain.ApiKeyRequest
-
Packages that use ApiKeyRequest Package Description eu.europeana.apikey.controller eu.europeana.apikey.keycloak -
-
Uses of ApiKeyRequest in eu.europeana.apikey.controller
Methods in eu.europeana.apikey.controller with parameters of type ApiKeyRequest Modifier and Type Method Description org.springframework.http.ResponseEntityApiKeyController. create(ApiKeyRequest newKeyRequest)Create a new API key with the following mandatory values supplied in a JSON request body: - firstName - lastName - email - appName - company The following fields are optional: - website - sector The ApiKey field is generated as a unique and random 'readable' lowercase string 8 to 12 characters long, e.g.org.springframework.http.ResponseEntityApiKeyController. createCaptcha(javax.servlet.http.HttpServletRequest httpServletRequest, ApiKeyRequest newKeyRequest)Create a new API key with the following mandatory values supplied in a JSON request body: - firstName - lastName - email - appName - company The following fields are optional: - website - sector The ApiKey field is generated as a unique and random 'readable' lowercase string 8 to 12 characters long, e.g.ApiKeyApiKeyController. update(String id, ApiKeyRequest apiKeyUpdate)Changes the registration details of an existing API key for the following public and non-generated values when supplied in the JSON request body: - firstName - lastName - email - company - appName - sector -
Uses of ApiKeyRequest in eu.europeana.apikey.keycloak
Methods in eu.europeana.apikey.keycloak with parameters of type ApiKeyRequest Modifier and Type Method Description ApiKeySecretKeycloakManager. createClient(KeycloakSecurityContext securityContext, ApiKeyRequest requestClient)Create a new client in Keycloak.StringKeycloakManager. recreateClient(KeycloakSecurityContext securityContext, String apiKey, ApiKeyRequest requestClient)Used for creating a new keycloak client based on an already existing apikey (missing client synchronization)voidKeycloakManager. updateClient(KeycloakSecurityContext securityContext, ApiKeyRequest apiKeyUpdate, String apiKey)Create a new client in Keycloak.
-