SessionRepository
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun allValidSessionsFlow(): <Error class: unknown class><Either<StorageFailure, List<AccountInfo>>>
Link copied to clipboard
abstract suspend fun cookieLabel(userId: <Error class: unknown class>): Either<StorageFailure, String?>
Link copied to clipboard
Link copied to clipboard
abstract fun currentSessionFlow(): <Error class: unknown class><Either<StorageFailure, AccountInfo>>
Link copied to clipboard
abstract suspend fun deleteSession(userId: <Error class: unknown class>): Either<StorageFailure, Unit>
Link copied to clipboard
abstract suspend fun doesValidSessionExist(userId: <Error class: unknown class>): Either<StorageFailure, Boolean>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getAllValidAccountPersistentWebSocketStatus(): Either<StorageFailure, <Error class: unknown class><List<PersistentWebSocketStatus>>>
Link copied to clipboard
abstract suspend fun isAccountReadOnly(userId: <Error class: unknown class>): Either<StorageFailure, Boolean>
Link copied to clipboard
abstract suspend fun isFederated(userId: <Error class: unknown class>): Either<StorageFailure, Boolean>
Link copied to clipboard
abstract suspend fun logout(userId: <Error class: unknown class>, reason: <Error class: unknown class>): Either<StorageFailure, Unit>
Link copied to clipboard
abstract suspend fun persistentWebSocketStatus(userId: <Error class: unknown class>): Either<StorageFailure, Boolean>
Link copied to clipboard
abstract suspend fun ssoId(userId: <Error class: unknown class>): Either<StorageFailure, <Error class: unknown class>?>
Link copied to clipboard
abstract suspend fun storeSession(serverConfigId: String, ssoId: <Error class: unknown class>?, accountTokens: AccountTokens, proxyCredentials: ProxyCredentials?): Either<StorageFailure, Unit>
Link copied to clipboard
abstract suspend fun updateCurrentSession(userId: <Error class: unknown class>?): Either<StorageFailure, Unit>
Link copied to clipboard
abstract suspend fun updatePersistentWebSocketStatus(userId: <Error class: unknown class>, isPersistentWebSocketEnabled: Boolean): Either<StorageFailure, Unit>
Link copied to clipboard
abstract suspend fun updateSsoIdAndScimInfo(userId: <Error class: unknown class>, ssoId: <Error class: unknown class>?, managedBy: <Error class: unknown class>?): Either<StorageFailure, Unit>
Link copied to clipboard
abstract suspend fun userAccountInfo(userId: <Error class: unknown class>): Either<StorageFailure, AccountInfo>
Link copied to clipboard
abstract suspend fun validSessionsWithServerConfig(): Either<StorageFailure, Map<<Error class: unknown class>, ServerConfig>>