Exemplo n.º 1
0
        public async Task LoginAsync(ExternalLoginInfo externalLoginInfo, AuthenticateResult authenticateResult)
        {
            User user = await _userManager.FindAsync(externalLoginInfo.Login);

            await _authorisationService.SetAuthCookie(user, false);

            await _authorisationService.UpdateClaimsAsync(user, authenticateResult.Identity.Claims);
        }