21 references to RemoteAuthenticationResult
Microsoft.AspNetCore.Components.WebAssembly.Authentication (21)
RemoteAuthenticatorViewCore.cs (4)
211
var
result = await AuthenticationService.SignInAsync(new RemoteAuthenticationContext<TAuthenticationState>
246
var
result = await AuthenticationService.CompleteSignInAsync(
295
var
result = await AuthenticationService.SignOutAsync(new RemoteAuthenticationContext<TAuthenticationState>
335
var
result = await AuthenticationService.CompleteSignOutAsync(new RemoteAuthenticationContext<TAuthenticationState> { Url = Navigation.Uri });
Services\IRemoteAuthenticationService.cs (4)
21
Task<
RemoteAuthenticationResult
<TRemoteAuthenticationState>> SignInAsync(RemoteAuthenticationContext<TRemoteAuthenticationState> context);
29
Task<
RemoteAuthenticationResult
<TRemoteAuthenticationState>> CompleteSignInAsync(
37
Task<
RemoteAuthenticationResult
<TRemoteAuthenticationState>> SignOutAsync(
46
Task<
RemoteAuthenticationResult
<TRemoteAuthenticationState>> CompleteSignOutAsync(
Services\RemoteAuthenticationService.cs (13)
90
public virtual async Task<
RemoteAuthenticationResult
<TRemoteAuthenticationState>> SignInAsync(
94
var
result = await JSInvokeWithContextAsync<RemoteAuthenticationContext<TRemoteAuthenticationState>,
RemoteAuthenticationResult
<TRemoteAuthenticationState>>("AuthenticationService.signIn", context);
101
public virtual async Task<
RemoteAuthenticationResult
<TRemoteAuthenticationState>> CompleteSignInAsync(
105
var
result = await JsRuntime.InvokeAsync<
RemoteAuthenticationResult
<TRemoteAuthenticationState>>("AuthenticationService.completeSignIn", context.Url);
112
public virtual async Task<
RemoteAuthenticationResult
<TRemoteAuthenticationState>> SignOutAsync(
116
var
result = await JSInvokeWithContextAsync<RemoteAuthenticationContext<TRemoteAuthenticationState>,
RemoteAuthenticationResult
<TRemoteAuthenticationState>>("AuthenticationService.signOut", context);
123
public virtual async Task<
RemoteAuthenticationResult
<TRemoteAuthenticationState>> CompleteSignOutAsync(
127
var
result = await JsRuntime.InvokeAsync<
RemoteAuthenticationResult
<TRemoteAuthenticationState>>("AuthenticationService.completeSignOut", context.Url);
217
private async Task UpdateUserOnSuccess(
RemoteAuthenticationResult
<TRemoteAuthenticationState> result)