FrontendSessionService

Exchanges A+ tokens for opaque browser sessions and resolves those sessions on later requests.

Persistent session state contains only a digest of the session ID and an authenticated encryption of the A+ token. Resolution enforces idle and absolute expiry, revokes invalid upstream tokens, and limits last-use writes to the configured interval.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
suspend fun create(token: String, replacedSessionId: String? = null): CreateFrontendSessionResponse
Link copied to clipboard
suspend fun resolve(sessionId: String): ResolvedFrontendSession
Link copied to clipboard
suspend fun revoke(sessionId: String)
Link copied to clipboard
suspend fun revokeAllForUser(userId: Long)
Link copied to clipboard
Link copied to clipboard
fun verifyServiceSecret(candidate: String?)