Dockware AI
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Dockware AI
dockware-auth
/
api
/
AuthRepository
Auth
Repository
interface
AuthRepository
:
SessionRepository
Members
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
?
>
send
Password
Reset
Email
Link copied to clipboard
abstract
suspend
fun
sendPasswordResetEmail
(
email
:
String
)
:
Result
<
Unit
>
sign
In
Link copied to clipboard
abstract
suspend
fun
signIn
(
email
:
String
,
password
:
String
)
:
Result
<
Unit
>
sign
Out
Link copied to clipboard
abstract
suspend
fun
signOut
(
)
:
Result
<
Unit
>
sign
Up
Link copied to clipboard
abstract
suspend
fun
signUp
(
email
:
String
,
password
:
String
)
:
Result
<
Unit
>