You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Just doc with the MatrixClientCreds object
This commit is contained in:
@@ -23,11 +23,7 @@ import utils from 'matrix-js-sdk/lib/utils';
|
||||
|
||||
/**
|
||||
* Transitions to a logged-in state using the given credentials
|
||||
* @param {string} credentials.homeserverUrl The base HS URL
|
||||
* @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
|
||||
* @param {MatrixClientCreds} credentials The credentials to use
|
||||
*/
|
||||
function setLoggedIn(credentials) {
|
||||
credentials.guest = Boolean(credentials.guest);
|
||||
|
||||
Reference in New Issue
Block a user