Registers a listener that is notified whenever a credential lifecycle event occurs.
A Closeable that, when closed, removes the listener.
A Consumer that receives Event updates.