Skip to main content
Version: 4.2

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+
public sealed class PasskeyAuthenticationResult

Properties​

Instance member 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.

Instance member Identity​

PasskeyIdentity: Returns the signed-in identity.

Instance member 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.

Instance member 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.

Instance member UserId​

String: Returns the application user id the credential is bound to.