Class UiApiInProcessSessions
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.invoke.UiApiInProcessSessions
JVM-local, in-memory session tokens accepted only from loopback requests.
For components that authenticate users by other means, then mint sessions via
QAuthenticationModuleInterface.createAutomatedSessionForUser. Registration and
resolution copy the session so per-request mutations cannot affect other calls.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringRegister a snapshot for a positive lifetime of at most 24 hours.Resolve an unexpired token to a fresh request-local session copy.static voidRevoke a token; unknown tokens are harmless.static intsize()Number of stored tokens, including entries not yet purged after expiry.
-
Field Details
-
HEADER
- See Also:
-
-
Method Details
-
register
-
resolve
-
revoke
Revoke a token; unknown tokens are harmless. -
size
public static int size()Number of stored tokens, including entries not yet purged after expiry.
-