Package com.rabbitmq.client.amqp.oauth2
Interface CredentialsManager.Registration
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
CredentialsManager.NoOpRegistration
- Enclosing interface:
CredentialsManager
A component registration.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the registration.void
Connection request from the component.
-
Method Details
-
connect
Connection request from the component.The component calls this method when it needs to authenticate. The underlying credentials manager implementation must take of providing the component with the appropriate credentials in the callback.
- Parameters:
callback
- client code to authenticate the component
-
close
void close()Close the registration.- Specified by:
close
in interfaceAutoCloseable
-