Skip to content

SASL/OAUTHBEARER support #252

Closed
Closed
@einarmo

Description

@einarmo

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions