Dockware AI
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Dockware AI
dockware-core
/
auth
/
SessionRepository
Session
Repository
interface
SessionRepository
Inheritors
ApiKeySessionRepository
Members
Types
Auth
Flow
Link copied to clipboard
enum
AuthFlow
:
Enum
<
SessionRepository.AuthFlow
>
Auth
Session
Link copied to clipboard
data
class
AuthSession
(
val
userId
:
String
?
,
val
accessToken
:
String
,
val
refreshToken
:
String
)
Properties
auth
Flow
Link copied to clipboard
abstract
val
authFlow
:
StateFlow
<
SessionRepository.AuthFlow
>
current
Session
Link copied to clipboard
abstract
val
currentSession
:
StateFlow
<
SessionRepository.AuthSession
?
>
Functions
initialize
Session
Link copied to clipboard
abstract
suspend
fun
initializeSession
(
)
is
Logged
In
Link copied to clipboard
open
fun
isLoggedIn
(
)
:
Boolean
refresh
Session
Link copied to clipboard
abstract
suspend
fun
refreshSession
(
)
:
Result
<
SessionRepository.AuthSession
?
>