Interface ClientRegistrationRepository

  • All Known Implementing Classes:
    InMemoryClientRegistrationRepository

    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:
    ClientRegistration
    • Method Detail

      • findByRegistrationId

        ClientRegistration findByRegistrationId​(java.lang.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