Kevin
05/23/2025, 9:53 PMKevin
05/23/2025, 9:54 PMKevin
05/23/2025, 9:54 PMJan
05/24/2025, 12:20 PMclass CustomSessionStorage: SessionManager {
override suspend fun saveSession(session: UserSession) {
//Save the session to a custom storage
}
override suspend fun loadSession(): UserSession? {
// Load the session from a custom storage
}
override suspend fun deleteSession() {
// Delete the session from a custom storage
}
}
install(Auth) {
sessionManager = CustomSessionStorage()
}
Jan
05/24/2025, 12:21 PMpart of it is that i don't fully understand how refresh/access tokens are stored locally.By default they are stored with multiplatform-settings which provides default implementations for all targets. On JVM it uses ``Preferences.userRoot()``