PasskeyAssertionResult.Fail<TUser>(PasskeyException) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a failed result for a passkey assertion operation.
public static Microsoft.AspNetCore.Identity.PasskeyAssertionResult<TUser> Fail<TUser>(Microsoft.AspNetCore.Identity.PasskeyException failure) where TUser : class;
static member Fail : Microsoft.AspNetCore.Identity.PasskeyException -> Microsoft.AspNetCore.Identity.PasskeyAssertionResult<'User (requires 'User : null)> (requires 'User : null)
Public Shared Function Fail(Of TUser As Class) (failure As PasskeyException) As PasskeyAssertionResult(Of TUser)
Type Parameters
- TUser
Parameters
- failure
- PasskeyException
The exception that describes the reason for the failure.
Returns
A PasskeyAssertionResult<TUser> instance representing the failure.