/// <summary> /// Triggers the authentication mechanism specified in Startup.cs to parse the result from the LoginRedirect and turn it into a ClaimsPrincipal. /// </summary> /// <param name="token"></param> public void ProcessToken(string token) { CurrentUser = _config.ProcessToken(this, token); _uriHelper.NavigateTo("/"); }
/// <summary> /// Triggers the authentication mechanism specified in Startup.cs to parse the result from the LoginRedirect and turn it into a ClaimsPrincipal. /// </summary> /// <param name="token"></param> public void ProcessToken(string token) { CurrentUser = _config.ProcessToken(this, token); NavigationManager.NavigateTo("/"); }