compared with
Current by Erik Drolshammer
on May 04, 2017 12:00.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History


h2. How does it work

# When a new Client is created, a clientSecret string is set using UUID.randomUUID().
## /client//registration, the clientSecret is returned to the client and persisted using _ConfigServiceClient.saveApplicationState_. The clientSecret is afterwards included whenever the client _checkForUpdate_ (client/\{clientId\}/sync).
## PUT /client/\{clientId\}
# The clientSecret is validated when a client calls client/\{clientId\}/sync. This validation is off by default, but can be enabled with the property _client.secret.validation.enabled_.


h2. Implementation notes