Interface CredentialsManager.Registration

    • Method Detail

      • connect

        void connect​(CredentialsManager.AuthenticationCallback callback)
        Connection 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.

        Parameters:
        callback - client code to authenticate the component
      • close

        void close()
        Close the registration.
        Specified by:
        close in interface AutoCloseable