diff --git a/src/interactive-auth.js b/src/interactive-auth.js index 6dd51e661..1a4515d96 100644 --- a/src/interactive-auth.js +++ b/src/interactive-auth.js @@ -215,6 +215,14 @@ InteractiveAuth.prototype = { this._doRequest(auth, ignoreFailure); }, + /** + * Gets the sid for the email validation session + * Specific to m.login.email.identity + */ + getEmailSid: function() { + return this._emailSid; + }, + /** * Sets the sid for the email validation session * This must be set in order to successfully poll for completion