mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
make method private
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
ed278e3e5a
commit
3af2ae3bdd
@ -100,7 +100,7 @@ export class SessionContainer {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
parseLoginOptions(options, homeServer) {
|
_parseLoginOptions(options, homeServer) {
|
||||||
/*
|
/*
|
||||||
Take server response and return new object which has two props password and sso which
|
Take server response and return new object which has two props password and sso which
|
||||||
implements LoginMethod
|
implements LoginMethod
|
||||||
@ -125,7 +125,7 @@ export class SessionContainer {
|
|||||||
const normalizedHS = normalizeHomeserver(homeServer);
|
const normalizedHS = normalizeHomeserver(homeServer);
|
||||||
const hsApi = new HomeServerApi({homeServer: normalizedHS, request: this._platform.request});
|
const hsApi = new HomeServerApi({homeServer: normalizedHS, request: this._platform.request});
|
||||||
const response = await hsApi.getLoginFlows().response();
|
const response = await hsApi.getLoginFlows().response();
|
||||||
return this.parseLoginOptions(response, normalizedHS);
|
return this._parseLoginOptions(response, normalizedHS);
|
||||||
}
|
}
|
||||||
|
|
||||||
async startWithLogin(loginMethod) {
|
async startWithLogin(loginMethod) {
|
||||||
|
Loading…
Reference in New Issue
Block a user