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 Type
    Method
    Description
    findByRegistrationId(String registrationId)
    Returns the client registration identified by the provided registrationId, or null if not found.
  • Method Details

    • findByRegistrationId

      ClientRegistration findByRegistrationId(String registrationId)
      Returns the client registration identified by the provided registrationId, or null if not found.
      Parameters:
      registrationId - the registration identifier
      Returns:
      the ClientRegistration if found, otherwise null