Skip to content

refreshSession

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.auth/FluxbaseAuth/refreshSession

[jvm]
suspend fun refreshSession(): FluxbaseResponse<AuthSession>

Refresh the current session using the stored refresh token. POSTs to /api/v1/auth/refresh with {refresh_token}. On success, updates the session and emits TOKEN_REFRESHED.

Port of refreshSession() in auth.ts.