Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public static getProvider(): ILoginProvider {
let value = localStorage.getItem(GlobalConfig.auth.externalProviderKey);
return value ? JSON.parse(base64.decode(value)) : null;
}