SessionDataSource
internal class SessionDataSource(accountsDAO: <Error class: unknown class>, authTokenStorage: <Error class: unknown class>, serverConfigDAO: <Error class: unknown class>, kaliumConfigs: KaliumConfigs, serverConfigMapper: ServerConfigMapper = MapperProvider.serverConfigMapper(), sessionMapper: SessionMapper = MapperProvider.sessionMapper(), idMapper: IdMapper = MapperProvider.idMapper()) : SessionRepository
Constructors
Link copied to clipboard
internal constructor(accountsDAO: <Error class: unknown class>, authTokenStorage: <Error class: unknown class>, serverConfigDAO: <Error class: unknown class>, kaliumConfigs: KaliumConfigs, serverConfigMapper: ServerConfigMapper = MapperProvider.serverConfigMapper(), sessionMapper: SessionMapper = MapperProvider.sessionMapper(), idMapper: IdMapper = MapperProvider.idMapper())
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun allValidSessionsFlow(): <Error class: unknown class><Either<StorageFailure, List<AccountInfo>>>
Link copied to clipboard
open suspend override fun cookieLabel(userId: <Error class: unknown class>): Either<StorageFailure, String?>
Link copied to clipboard
Link copied to clipboard
open override fun currentSessionFlow(): <Error class: unknown class><Either<StorageFailure, AccountInfo>>
Link copied to clipboard
open suspend override fun deleteSession(userId: <Error class: unknown class>): Either<StorageFailure, Unit>
Link copied to clipboard
open suspend override fun doesValidSessionExist(userId: <Error class: unknown class>): Either<StorageFailure, Boolean>
Link copied to clipboard
open override fun fullAccountInfo(userId: <Error class: unknown class>): Either<StorageFailure, Account>
Link copied to clipboard
open suspend override fun getAllValidAccountPersistentWebSocketStatus(): Either<StorageFailure, <Error class: unknown class><List<PersistentWebSocketStatus>>>
Link copied to clipboard
open suspend override fun isAccountReadOnly(userId: <Error class: unknown class>): Either<StorageFailure, Boolean>
Link copied to clipboard
open suspend override fun isFederated(userId: <Error class: unknown class>): Either<StorageFailure, Boolean>
Link copied to clipboard
open suspend override fun logout(userId: <Error class: unknown class>, reason: <Error class: unknown class>): Either<StorageFailure, Unit>
Link copied to clipboard
open suspend override fun persistentWebSocketStatus(userId: <Error class: unknown class>): Either<StorageFailure, Boolean>
Link copied to clipboard
open suspend override fun ssoId(userId: <Error class: unknown class>): Either<StorageFailure, <Error class: unknown class>?>
Link copied to clipboard
open suspend override fun storeSession(serverConfigId: String, ssoId: <Error class: unknown class>?, accountTokens: AccountTokens, proxyCredentials: ProxyCredentials?): Either<StorageFailure, Unit>
Link copied to clipboard
open suspend override fun updateCurrentSession(userId: <Error class: unknown class>?): Either<StorageFailure, Unit>
Link copied to clipboard
open suspend override fun updatePersistentWebSocketStatus(userId: <Error class: unknown class>, isPersistentWebSocketEnabled: Boolean): Either<StorageFailure, Unit>
Link copied to clipboard
open suspend override fun updateSsoIdAndScimInfo(userId: <Error class: unknown class>, ssoId: <Error class: unknown class>?, managedBy: <Error class: unknown class>?): Either<StorageFailure, Unit>
Link copied to clipboard
open suspend override fun userAccountInfo(userId: <Error class: unknown class>): Either<StorageFailure, AccountInfo>
Link copied to clipboard
open suspend override fun validSessionsWithServerConfig(): Either<StorageFailure, Map<<Error class: unknown class>, ServerConfig>>