Table of Contents

Interface IOidcTokenService

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

Generates a portal JWT for OIDC-authenticated users. Accepts the validated IdP callback token as a System.Security.Claims.ClaimsPrincipal, handles verification claim translation, IAL derivation, and ID proofing timestamp computation. Returns Result<T> because step-up flows fail when the IdP returns no verification claims.

public interface IOidcTokenService

Methods

GenerateForOidcLogin(User, ClaimsPrincipal, bool)

Result<string> GenerateForOidcLogin(User user, ClaimsPrincipal idpPrincipal, bool isStepUp)

Parameters

user User
idpPrincipal ClaimsPrincipal
isStepUp bool

Returns

Result<string>