You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
More docs
This commit is contained in:
@@ -165,6 +165,12 @@ InteractiveAuth.prototype = {
|
|||||||
return this._data ? this._data.session : undefined;
|
return this._data ? this._data.session : undefined;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get the client secret used for validation sessions
|
||||||
|
* with the ID server.
|
||||||
|
*
|
||||||
|
* @return {string} client secret
|
||||||
|
*/
|
||||||
getClientSecret: function() {
|
getClientSecret: function() {
|
||||||
return this._clientSecret;
|
return this._clientSecret;
|
||||||
},
|
},
|
||||||
@@ -209,6 +215,12 @@ InteractiveAuth.prototype = {
|
|||||||
this._doRequest(auth, ignoreFailure);
|
this._doRequest(auth, ignoreFailure);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the sid for the email validation session
|
||||||
|
* This must be set in order to successfully poll for completion
|
||||||
|
* of the email validation.
|
||||||
|
* Specific to m.login.email.identity
|
||||||
|
*/
|
||||||
setEmailSid: function(sid) {
|
setEmailSid: function(sid) {
|
||||||
this._emailSid = sid;
|
this._emailSid = sid;
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user