toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-dash-login
/
com.mapbox.dash.login.viewmodel
/
LoginViewModel
Login
View
Model
class
LoginViewModel
(
authorizationUseCase
:
AuthorizationUseCase
)
:
ViewModel
Members
Constructors
Login
View
Model
Link copied to clipboard
constructor
(
authorizationUseCase
:
AuthorizationUseCase
)
Properties
login
State
Link copied to clipboard
val
loginState
:
Flow
<
LoginState
>
logout
Requested
Link copied to clipboard
val
logoutRequested
:
StateFlow
<
Boolean
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
@
NonNull
p0
:
Closeable
)
on
Login
Clicked
Link copied to clipboard
fun
onLoginClicked
(
)
on
Logout
Approved
Link copied to clipboard
fun
onLogoutApproved
(
)
on
Logout
Clicked
Link copied to clipboard
fun
onLogoutClicked
(
)
on
Logout
Dismissed
Link copied to clipboard
fun
onLogoutDismissed
(
)