Table of Contents

Class OidcCallbackCommand

Namespace
SEBT.Portal.UseCases.Auth.OidcCallback
Assembly
SEBT.Portal.UseCases.dll

Completes the OIDC authorization-code callback: validates the pre-auth session, exchanges the code for a verified callback token, and advances the session.

public class OidcCallbackCommand : ICommand<OidcCallbackResponse>, ICommand
Inheritance
object
OidcCallbackCommand
Implements

Properties

Code

Authorization code returned by the IdP redirect.

public required string Code { get; init; }

Property Value

string

SessionId

Pre-auth session id from the oidc_session cookie. Null when the browser presented no cookie.

public string? SessionId { get; init; }

Property Value

string

State

OAuth state parameter returned by the IdP redirect.

public string? State { get; init; }

Property Value

string