Just doc with the MatrixClientCreds object
This commit is contained in:
+1
-5
@@ -23,11 +23,7 @@ import utils from 'matrix-js-sdk/lib/utils';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Transitions to a logged-in state using the given credentials
|
* Transitions to a logged-in state using the given credentials
|
||||||
* @param {string} credentials.homeserverUrl The base HS URL
|
* @param {MatrixClientCreds} credentials The credentials to use
|
||||||
* @param {string} credentials.identityServerUrl The base IS URL
|
|
||||||
* @param {string} credentials.userId The full Matrix User ID
|
|
||||||
* @param {string} credentials.accessToken The session access token
|
|
||||||
* @param {boolean} credentials.guest True if the session is a guest session
|
|
||||||
*/
|
*/
|
||||||
function setLoggedIn(credentials) {
|
function setLoggedIn(credentials) {
|
||||||
credentials.guest = Boolean(credentials.guest);
|
credentials.guest = Boolean(credentials.guest);
|
||||||
|
|||||||
Reference in New Issue
Block a user