Condividi tramite


RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>.GetAuthenticatedUser Metodo

Definizione

Ottiene l'autenticazione corrente usata usando l'interoperabilità JavaScript.

protected public:
 virtual System::Threading::Tasks::ValueTask<System::Security::Claims::ClaimsPrincipal ^> GetAuthenticatedUser();
protected internal virtual System.Threading.Tasks.ValueTask<System.Security.Claims.ClaimsPrincipal> GetAuthenticatedUser ();
abstract member GetAuthenticatedUser : unit -> System.Threading.Tasks.ValueTask<System.Security.Claims.ClaimsPrincipal>
override this.GetAuthenticatedUser : unit -> System.Threading.Tasks.ValueTask<System.Security.Claims.ClaimsPrincipal>
Protected Friend Overridable Function GetAuthenticatedUser () As ValueTask(Of ClaimsPrincipal)

Restituisce

Oggetto Task<TResult>che restituirà l'utente autenticato corrente al termine.

Si applica a