PasskeyAuthenticationResult
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
The outcome of a successful authentication, produced after the store committed the new authentication state. The principal became User only when IsApplicationUser is true.
4.2.0+- C#
- VB.NET
public sealed class PasskeyAuthenticationResult
Public NotInheritable Class PasskeyAuthenticationResult
Properties
Credential
PasskeyCredential: Returns a defensive snapshot of the credential this ceremony verified: SignCount, BackedUp and LastUsedAt carry this ceremony's values, and every other member is as the ceremony first read it, so a rename that landed concurrently is not reflected. Editing it changes nothing.
Identity
PasskeyIdentity: Returns the signed-in identity.
IsApplicationUser
Boolean: Returns whether this component assigned User. This describes the sign-in when it was published; a SignOut that ran afterwards may already have cleared Identity and replaced User: read IsAuthenticated before recording application state.
Principal
IPrincipal: Returns the principal that was assigned: the PasskeyPrincipal the component built, or the replacement a Authenticating handler supplied. After this it is reachable as User when IsApplicationUser is true; the component keeps no public reference to it. This describes the sign-in when it was published; a SignOut that ran afterwards may already have cleared Identity and replaced User: read IsAuthenticated before recording application state.
UserId
String: Returns the application user id the credential is bound to.