Closed
Description
Would you be willing to accept a contribution implementing SASL/OAUTHBEARER support? This should be relatively simple, especially now that the library depends on rsasl
.
The only wrinkle is that this would probably need to contain some form of callback, since on reconnect the client would likely need to request a new token. This callback should probably be async, since it will usually involve some form of async operation. This means async_trait
or, if you would prefer to avoid that dependency, requiring users to box their futures themselves with a trait returning Pin<Box<dyn Future<Output = ...> + 'static>>
.
Thoughts? I would be willing contribute this, but I'd rather nail down the approach you prefer first.
Metadata
Metadata
Assignees
Labels
No labels