Last active
December 24, 2020 10:03
-
-
Save YonathanMeguira/8a926829de16ca1518d5171e9fd461c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class CachedAccount { | |
id: string; | |
config: string; | |
enableWhiteLabelUi: boolean; | |
isSsoEnabled: boolean; | |
ssoLogoutRedirectURL: string; | |
constructor({id, config, enableWhiteLabelUi, isSsoEnabled, ssoLogoutRedirectURL}: Account) { | |
this.id = id; | |
this.enableWhiteLabelUi = enableWhiteLabelUi; | |
this.isSsoEnabled = isSsoEnabled; | |
this.ssoLogoutRedirectURL = ssoLogoutRedirectURL; | |
} | |
} | |
const cachedAccount = new CachedAccount(account); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment