Skip to main content
Table of Contents

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

TUser

The 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

Outcome ExternalLoginProvisioningOutcome

The result category.

User TUser

The resolved local account for the success outcomes and RequiresInteractiveLinking; null for Denied.

Reason string

A short human-readable reason for a non-success outcome; null on success.

Properties

Outcome

The result category.

public ExternalLoginProvisioningOutcome Outcome { get; init; }

Property Value

ExternalLoginProvisioningOutcome

Reason

A short human-readable reason for a non-success outcome; null on success.

public string? Reason { get; init; }

Property Value

string

Succeeded

Whether the attempt yielded a signed-in-ready account (SignedInExisting, Linked, or Provisioned).

public bool Succeeded { get; }

Property Value

bool

User

The resolved local account for the success outcomes and RequiresInteractiveLinking; null for Denied.

public TUser? User { get; init; }

Property Value

TUser