Remove dead & duplicated code (#11405)
* Remove dead code * Make dead code happier * DRY pickle additional data calculation * Iterate
This commit is contained in:
parent
672ad98ec7
commit
27d79458da
25 changed files with 50 additions and 201 deletions
|
@ -75,10 +75,6 @@ export default class IdentityAuthClient {
|
|||
return window.localStorage.getItem("mx_is_access_token");
|
||||
}
|
||||
|
||||
public hasCredentials(): boolean {
|
||||
return Boolean(this.accessToken);
|
||||
}
|
||||
|
||||
// Returns a promise that resolves to the access_token string from the IS
|
||||
public async getAccessToken({ check = true } = {}): Promise<string | null> {
|
||||
if (!this.authEnabled) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue