Package com.rabbitmq.stream.oauth2
Class CredentialsManager.NoOpRegistration
java.lang.Object
com.rabbitmq.stream.oauth2.CredentialsManager.NoOpRegistration
- All Implemented Interfaces:
CredentialsManager.Registration,AutoCloseable
- Enclosing interface:
CredentialsManager
public static class CredentialsManager.NoOpRegistration
extends Object
implements CredentialsManager.Registration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the registration.voidConnection request from the component.
-
Constructor Details
-
NoOpRegistration
public NoOpRegistration()
-
-
Method Details
-
connect
Description copied from interface:CredentialsManager.RegistrationConnection request from the component.The component calls this method when it needs to authenticate. The underlying credentials manager implementation must take care of providing the component with the appropriate credentials in the callback.
- Specified by:
connectin interfaceCredentialsManager.Registration- Parameters:
callback- client code to authenticate the component
-
close
public void close()Description copied from interface:CredentialsManager.RegistrationClose the registration.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCredentialsManager.Registration
-