From 10bd4850e4433b91e407cc4acc397582ac154b7a Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Tue, 23 Jul 2013 11:54:09 -0700 Subject: [PATCH] Updated Client configuration (markdown) --- Client-configuration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Client-configuration.md b/Client-configuration.md index 933a768..6541920 100644 --- a/Client-configuration.md +++ b/Client-configuration.md @@ -288,7 +288,9 @@ Dynamically registers the client for each issuer based on the template of client All properties set in the template object are passed in to the dynamic registration endpoint's input and the dynamically registered client information is held in an in-memory cache. -This service has a `registeredClientService` property which optionally allows for a service to be configured to save a client's registration information. If the registration information is not saved somewhere, then a client application will re-register itself with the server every time it starts. By default, the service is configured with an `InMemoryRegisteredClientService` which, as the name suggests, does not use persistent storage. The library also contains a `JsonFileRegisteredClientService` which saves the registered client's registration_client_uri and registration_access_token out to disk in a plaintext (non-encrypted) JSON file. This file contains sensitive information and it must be readable and writeable by whatever process is running the client application. As such, this method should only be used with caution and is mostly intended for testing implementations. +#### Registered Client Service + +This service has a `registeredClientService` property which optionally allows for a service to be configured to save a client's registration information. If the registration information is not saved somewhere, then a client application will re-register itself with the server every time it starts. By default, the service is configured with an `InMemoryRegisteredClientService` which, as the name suggests, does not use persistent storage and will therefore forget about existing registrations every time the client is restarted. The library also contains a `JsonFileRegisteredClientService` which saves the registered client's registration_client_uri and registration_access_token out to disk in a plaintext (non-encrypted) JSON file. This file contains sensitive information and it must be readable and writeable by whatever process is running the client application, but it should not be readable by other untrusted applications. ```