2 instantiations of PasskeyAssertionResult
Microsoft.AspNetCore.Identity (2)
PasskeyAssertionResult.cs (2)
67return new PasskeyAssertionResult<TUser>(passkey, user); 78return 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> 43Task<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> 62public static PasskeyAssertionResult<TUser> Success<TUser>(UserPasskeyInfo passkey, TUser user) 74/// <returns>A <see cref="PasskeyAssertionResult{TUser}"/> instance representing the failure.</returns> 75public static PasskeyAssertionResult<TUser> Fail<TUser>(PasskeyException failure)
PasskeyHandler.cs (3)
185public async Task<PasskeyAssertionResult<TUser>> PerformAssertionAsync(PasskeyAssertionContext context) 370/// <returns>A task object representing the asynchronous operation containing the <see cref="PasskeyAssertionResult{TUser}"/>.</returns> 371private 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}"/>. 602public virtual async Task<PasskeyAssertionResult<TUser>> PerformPasskeyAssertionAsync(string credentialJson) 623var result = await _passkeyHandler.PerformAssertionAsync(context); 666var assertionResult = await PerformPasskeyAssertionAsync(credentialJson);