Esempio n. 1
0
        public async Task OnGetAsync()
        {
            var loginProviders = await _externalLoginService.GetLoginProvidersAsync();

            var userId = _currentUserService.UserId;
            var connectedLoginProviders = await _externalLoginService.GetLoginsAsync(userId);

            foreach (var provider in loginProviders)
            {
                LinksStatus.Add(provider, connectedLoginProviders.Contains(provider));
            }
        }