-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 3.3.3, 3.2.9
-
Component/s: javascript
-
Labels:None
We should add support for SASL authentication flow, ideally a generic interface and an implementation using username and password.
An authenticator could have the following interface:
/** @abstract */ class Authenticator { /** @returns {Promise} Returns a promise containing the Request to be sent. When the Promise resolves to a null value, it indicates that the authentication flow was successful. */ evaluateChallenge(response) { throw new Error("evaluateChallenge should be implemented"); } }
- links to