Table of Contents

Class CompleteLoginRequest

Namespace
SEBT.Portal.Api.Models
Assembly
SEBT.Portal.Api.dll

Request body for completing OIDC login after the Next.js server has exchanged the code and validated the id_token. CallbackToken is a short-lived JWT signed by the Next.js app (OIDC_COMPLETE_LOGIN_SIGNING_KEY) containing the IdP claims. When IsStepUp is true, updates the user's IAL level and ID proofing status instead of creating a new session. When set, returnUrl must be a safe relative path (starts with /, not //, no scheme). Otherwise it is ignored.

public record CompleteLoginRequest
Inheritance
object
CompleteLoginRequest

Constructors

CompleteLoginRequest(string?, string?, bool, string?)

Request body for completing OIDC login after the Next.js server has exchanged the code and validated the id_token. CallbackToken is a short-lived JWT signed by the Next.js app (OIDC_COMPLETE_LOGIN_SIGNING_KEY) containing the IdP claims. When IsStepUp is true, updates the user's IAL level and ID proofing status instead of creating a new session. When set, returnUrl must be a safe relative path (starts with /, not //, no scheme). Otherwise it is ignored.

public CompleteLoginRequest(string? StateCode, string? CallbackToken, bool IsStepUp = false, string? ReturnUrl = null)

Parameters

StateCode string
CallbackToken string
IsStepUp bool
ReturnUrl string

Properties

CallbackToken

[JsonPropertyName("callbackToken")]
public string? CallbackToken { get; init; }

Property Value

string

IsStepUp

[JsonPropertyName("isStepUp")]
public bool IsStepUp { get; init; }

Property Value

bool

ReturnUrl

[JsonPropertyName("returnUrl")]
public string? ReturnUrl { get; init; }

Property Value

string

StateCode

[JsonPropertyName("stateCode")]
public string? StateCode { get; init; }

Property Value

string