Namespace SEBT.Portal.Api.Controllers.Auth
Classes
- AuthController
Controller for handling authorization status checks, token refresh, and logout. The portal JWT is stored in an HttpOnly cookie (see
AuthCookies); endpoints that issue a new session write to the cookie and return non-sensitive metadata only.
- OidcController
OIDC endpoints for external IdP login and step-up. Primary config uses flat
Oidckeys (DiscoveryEndpoint,ClientId,CallbackRedirectUri); optionalOidc:StepUp:*selects a second client for elevated verification whenstepUp=trueon the config endpoint.The controller owns PKCE generation, cookies, and HTTP mapping; the callback and complete-login business orchestration lives in UseCases handlers.