GetAllSessionsUseCase

class GetAllSessionsUseCase(sessionRepository: SessionRepository)

This use case will return all sessions, including those that are invalid (e.g. soft-logged-out accounts). Useful for displaying sessions on a login screen where re-authentication is possible.

See also

Constructors

Link copied to clipboard
internal constructor(sessionRepository: SessionRepository)

Functions

Link copied to clipboard
suspend operator fun invoke(): GetAllSessionsResult