Interface ClientRegistrationRepository
- All Known Implementing Classes:
InMemoryClientRegistrationRepository
,SupplierClientRegistrationRepository
public interface ClientRegistrationRepository
A repository for OAuth 2.0 / OpenID Connect 1.0
ClientRegistration
(s).
NOTE: Client registration information is ultimately stored and owned by the associated Authorization Server. Therefore, this repository provides the capability to store a sub-set copy of the primary client registration information externally from the Authorization Server.
- Since:
- 5.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfindByRegistrationId
(String registrationId) Returns the client registration identified by the providedregistrationId
, ornull
if not found.
-
Method Details
-
findByRegistrationId
Returns the client registration identified by the providedregistrationId
, ornull
if not found.- Parameters:
registrationId
- the registration identifier- Returns:
- the
ClientRegistration
if found, otherwisenull
-