Class ExternalLoginProvisioningResult<TUser>
- Namespace
- Stratara.Identity.AspNetCore.Authentication
- Assembly
- Stratara.Identity.AspNetCore.dll
The outcome of a JIT external-login provisioning attempt, plus the resolved local account when one is available.
public sealed record ExternalLoginProvisioningResult<TUser> : IEquatable<ExternalLoginProvisioningResult<TUser>> where TUser : class
Type Parameters
TUserThe host's ASP.NET Identity user entity.
- Inheritance
-
ExternalLoginProvisioningResult<TUser>
- Implements
- Inherited Members
- Extension Methods
Constructors
ExternalLoginProvisioningResult(ExternalLoginProvisioningOutcome, TUser?, string?)
The outcome of a JIT external-login provisioning attempt, plus the resolved local account when one is available.
public ExternalLoginProvisioningResult(ExternalLoginProvisioningOutcome Outcome, TUser? User, string? Reason)
Parameters
OutcomeExternalLoginProvisioningOutcomeThe result category.
UserTUserThe resolved local account for the success outcomes and RequiresInteractiveLinking;
nullfor Denied.ReasonstringA short human-readable reason for a non-success outcome;
nullon success.
Properties
Outcome
The result category.
public ExternalLoginProvisioningOutcome Outcome { get; init; }
Property Value
Reason
A short human-readable reason for a non-success outcome; null on success.
public string? Reason { get; init; }
Property Value
Succeeded
Whether the attempt yielded a signed-in-ready account (SignedInExisting, Linked, or Provisioned).
public bool Succeeded { get; }
Property Value
User
The resolved local account for the success outcomes and RequiresInteractiveLinking; null for Denied.
public TUser? User { get; init; }
Property Value
- TUser