Interface ClientInformationManager
-
public interface ClientInformationManagerA manager that is capable of managingClientInformationinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroyClientInformation(com.nimbusds.oauth2.sdk.id.ClientID clientId)Invalidates or otherwise removes aClientInformationfrom persistent storage.voidstoreClientInformation(com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation clientInformation, Instant expiration)Store aClientInformationobject.
-
-
-
Method Detail
-
storeClientInformation
@Nonnull void storeClientInformation(@Nonnull com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation clientInformation, @Nullable Instant expiration) throws ClientInformationManagerExceptionStore aClientInformationobject.- Parameters:
clientInformation- The client information to be stored.expiration- The expiration for record, or null.- Throws:
ClientInformationManagerException- If the client information cannot be stored.
-
destroyClientInformation
void destroyClientInformation(@Nonnull com.nimbusds.oauth2.sdk.id.ClientID clientId) throws ClientInformationManagerExceptionInvalidates or otherwise removes aClientInformationfrom persistent storage.- Parameters:
clientId- the unique ID of the client information to destroy.- Throws:
ClientInformationManagerException- If the client information cannot be destroyed.
-
-