Table of Contents

Class OidcCallbackTokenResult

Namespace
SEBT.Portal.Core.Services
Assembly
SEBT.Portal.Core.dll

Result of validating a callback token.

public sealed record OidcCallbackTokenResult
Inheritance
object
OidcCallbackTokenResult

Properties

Error

Sanitized validation error, for off-boarding logs. Null on success.

public string? Error { get; init; }

Property Value

string

NotConfigured

True when the callback-token signing key is not configured.

public bool NotConfigured { get; init; }

Property Value

bool

Principal

The validated token's claims. Null when validation failed.

public ClaimsPrincipal? Principal { get; init; }

Property Value

ClaimsPrincipal

Success

True when the token validated successfully.

public bool Success { get; }

Property Value

bool