PasskeyAssertionResult.Success<TUser>(UserPasskeyInfo, TUser) 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 successful result for a passkey assertion operation.
public static Microsoft.AspNetCore.Identity.PasskeyAssertionResult<TUser> Success<TUser>(Microsoft.AspNetCore.Identity.UserPasskeyInfo passkey, TUser user) where TUser : class;
static member Success : Microsoft.AspNetCore.Identity.UserPasskeyInfo * 'User -> Microsoft.AspNetCore.Identity.PasskeyAssertionResult<'User (requires 'User : null)> (requires 'User : null)
Public Shared Function Success(Of TUser As Class) (passkey As UserPasskeyInfo, user As TUser) As PasskeyAssertionResult(Of TUser)
Type Parameters
- TUser
Parameters
- passkey
- UserPasskeyInfo
The passkey information associated with the assertion.
- user
- TUser
The user associated with the passkey.
Returns
A PasskeyAssertionResult<TUser> instance representing a successful assertion.