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 Type
    Method
    Description
    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.
    void
    Cancels only this integration; application handlers and the Fluxzero instance remain running.
    void
     
    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.
    register(io.fluxzero.sdk.Fluxzero fluxzero)
    Registers once for this Fluxzero instance.
    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.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.fluxzero.common.Registration

    merge
  • Method Details

    • register

      public static OidcIntegration register(io.fluxzero.sdk.Fluxzero fluxzero)
      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:
      cancel in interface io.fluxzero.common.Registration
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable