Package org.forgerock.openidconnect
Interface OpenIdConnectClientRegistrationStore
-
- All Superinterfaces:
ClientRegistrationStore
- All Known Implementing Classes:
OpenAMClientRegistrationStore
public interface OpenIdConnectClientRegistrationStore extends ClientRegistrationStore
The OpenId Connect provider's store for all client registrations.- Since:
- 12.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenIdConnectClientRegistrationget(String clientId, String realm, org.forgerock.services.context.Context context)Gets the client registration for the given client id.OpenIdConnectClientRegistrationget(String clientId, OAuth2Request request)Gets the client registration for the given client id.
-
-
-
Method Detail
-
get
OpenIdConnectClientRegistration get(String clientId, OAuth2Request request) throws InvalidClientException, NotFoundException
Gets the client registration for the given client id.- Specified by:
getin interfaceClientRegistrationStore- Parameters:
clientId- The client idrequest- The OAuth2 request.- Returns:
- The ClientRegistration.
- Throws:
InvalidClientException- If client cannot be retrieved from the store.NotFoundException- If requested realm doesn't exist
-
get
OpenIdConnectClientRegistration get(String clientId, String realm, org.forgerock.services.context.Context context) throws InvalidClientException, NotFoundException
Gets the client registration for the given client id.- Specified by:
getin interfaceClientRegistrationStore- Parameters:
clientId- The client idrealm- The realm- Returns:
- The ClientRegistration.
- Throws:
InvalidClientException- If client cannot be retrieved from the store.NotFoundException- If requested realm doesn't exist
-
-