Share via


PasskeyAssertionResult.Fail<TUser>(PasskeyException) Method

Definition

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.

Applies to