Class OidcIntegration
java.lang.Object
io.fluxzero.idp.bff.OidcIntegration
- All Implemented Interfaces:
io.fluxzero.common.Registration, AutoCloseable
public final class OidcIntegration
extends Object
implements io.fluxzero.common.Registration, AutoCloseable
Optional application HTTP integration. No Spring dependency or network/key access during registration.
-
Method Summary
Modifier and TypeMethodDescriptionio.fluxzero.sdk.web.WebResponsecallback(io.fluxzero.sdk.web.WebRequest request) Handles an application-owned callback route with the same state, PKCE, nonce and session checks.voidcancel()Cancels only this integration; application handlers and the Fluxzero instance remain running.voidclose()static io.fluxzero.sdk.web.SocketSessionprotectSocket(io.fluxzero.sdk.web.SocketSession socket, io.fluxzero.sdk.web.WebRequest openingRequest) Wrap the SocketSession before retaining it for server pushes.static OidcIntegrationregister(io.fluxzero.sdk.Fluxzero fluxzero) Registers once for this Fluxzero instance.static OidcIntegrationregister(io.fluxzero.sdk.Fluxzero fluxzero, io.fluxzero.common.application.PropertySource properties) Explicit property source for composition; Spring delegates here with the SDK source taking precedence.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxzero.common.Registration
merge
-
Method Details
-
register
Registers once for this Fluxzero instance. Its shutdown also cancels the registration. -
register
public static OidcIntegration register(io.fluxzero.sdk.Fluxzero fluxzero, io.fluxzero.common.application.PropertySource properties) Explicit property source for composition; Spring delegates here with the SDK source taking precedence. -
callback
public io.fluxzero.sdk.web.WebResponse callback(io.fluxzero.sdk.web.WebRequest request) Handles an application-owned callback route with the same state, PKCE, nonce and session checks. -
protectSocket
public static io.fluxzero.sdk.web.SocketSession protectSocket(io.fluxzero.sdk.web.SocketSession socket, io.fluxzero.sdk.web.WebRequest openingRequest) Wrap the SocketSession before retaining it for server pushes. Each send checks the same shared BFF session, including request-driven refresh. No extra session store or scheduler. -
cancel
public void cancel()Cancels only this integration; application handlers and the Fluxzero instance remain running.- Specified by:
cancelin interfaceio.fluxzero.common.Registration
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-