2 instantiations of PasskeyAssertionResult
Microsoft.AspNetCore.Identity (2)
PasskeyAssertionResult.cs (2)
67
return new
PasskeyAssertionResult
<TUser>(passkey, user);
78
return new
PasskeyAssertionResult
<TUser>(failure);
16 references to PasskeyAssertionResult
Microsoft.AspNetCore.Identity (16)
IPasskeyHandler.cs (2)
42
/// <returns>A <see cref="
PasskeyAssertionResult
{TUser}"/> representing the result.</returns>
43
Task<
PasskeyAssertionResult
<TUser>> PerformAssertionAsync(PasskeyAssertionContext context);
PasskeyAssertionResult.cs (5)
52
/// A factory class for creating instances of <see cref="
PasskeyAssertionResult
{TUser}"/>.
61
/// <returns>A <see cref="
PasskeyAssertionResult
{TUser}"/> instance representing a successful assertion.</returns>
62
public static
PasskeyAssertionResult
<TUser> Success<TUser>(UserPasskeyInfo passkey, TUser user)
74
/// <returns>A <see cref="
PasskeyAssertionResult
{TUser}"/> instance representing the failure.</returns>
75
public static
PasskeyAssertionResult
<TUser> Fail<TUser>(PasskeyException failure)
PasskeyHandler.cs (3)
185
public async Task<
PasskeyAssertionResult
<TUser>> PerformAssertionAsync(PasskeyAssertionContext context)
370
/// <returns>A task object representing the asynchronous operation containing the <see cref="
PasskeyAssertionResult
{TUser}"/>.</returns>
371
private async Task<
PasskeyAssertionResult
<TUser>> PerformAssertionCoreAsync(PasskeyAssertionContext context)
SignInManager.cs (6)
595
/// Upon success, the <see cref="
PasskeyAssertionResult
{TUser}.Passkey"/> should be stored on the
596
/// <see cref="
PasskeyAssertionResult
{TUser}.User"/> using <see cref="UserManager{TUser}.AddOrUpdatePasskeyAsync(TUser, UserPasskeyInfo)"/>.
600
/// A task object representing the asynchronous operation containing the <see cref="
PasskeyAssertionResult
{TUser}"/>.
602
public virtual async Task<
PasskeyAssertionResult
<TUser>> PerformPasskeyAssertionAsync(string credentialJson)
623
var
result = await _passkeyHandler.PerformAssertionAsync(context);
666
var
assertionResult = await PerformPasskeyAssertionAsync(credentialJson);