serverpod_auth_bridge_server library

This library provides backwards compatibility for the new authentication module with the legacy serverpod_auth module.

It includes utilities to convert legacy sessions, import legacy passwords, and manage legacy authentication data.

Classes

AuthBackwardsCompatibility
Collections of helper functions to work with legacy authentication data.
AuthBackwardsCompatibilityConfig
Configuration for the serverpod_auth_bridge backwards compability module.
Endpoints
LegacyAuthenticationResponse
Response payload for legacy authentication methods.
LegacySession
LegacySessionTokenManager
Token manager that validates and manages legacy session tokens created by the bridge's proxy endpoints.
LegacyUserInfo
Legacy-compatible user profile returned to older clients.
LegacyUserSettingsConfig
Feature flags describing legacy user-settings capabilities.
Protocol

Enums

LegacyAuthenticationFailReason
Defines reasons for a failed legacy authentication attempt.

Extensions

LegacyClientSupport on Serverpod
Enables request-level forwarding from selected legacy serverpod_auth endpoints to the bridge's serverpod_auth_bridge.legacy* endpoints.