public interface RegisteredClientRepository
RegisteredClient(s).RegisteredClient| Modifier and Type | Method and Description |
|---|---|
RegisteredClient |
findByClientId(java.lang.String clientId)
Returns the registered client identified by the provided
clientId,
or null if not found. |
RegisteredClient |
findById(java.lang.String id)
Returns the registered client identified by the provided
id,
or null if not found. |
void |
save(RegisteredClient registeredClient)
Saves the registered client.
|
void save(RegisteredClient registeredClient)
IMPORTANT: Sensitive information should be encoded externally from the implementation, e.g. RegisteredClient.getClientSecret()
registeredClient - the RegisteredClient@Nullable RegisteredClient findById(java.lang.String id)
id,
or null if not found.id - the registration identifierRegisteredClient if found, otherwise null@Nullable RegisteredClient findByClientId(java.lang.String clientId)
clientId,
or null if not found.clientId - the client identifierRegisteredClient if found, otherwise null