Ejemplo n.º 1
0
 /// <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("/");
 }
Ejemplo n.º 2
0
 /// <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("/");
 }