toggle menu
Dermato.AI
androidJvm
switch theme
search in API
Dermato.AI
/
com.dermatoai.oauth
/
OauthPreferences
Oauth
Preferences
class
OauthPreferences
@
Inject
constructor
(
dataStore
:
DataStore
<
Preferences
>
)
Members
Constructors
Oauth
Preferences
Link copied to clipboard
@
Inject
constructor
(
dataStore
:
DataStore
<
Preferences
>
)
Functions
get
Account
Name
Link copied to clipboard
fun
getAccountName
(
)
:
Flow
<
String
?
>
get
Nickname
Link copied to clipboard
fun
getNickname
(
)
:
Flow
<
String
?
>
get
Profile
Picture
Link copied to clipboard
fun
getProfilePicture
(
)
:
Flow
<
String
?
>
get
Token
Link copied to clipboard
fun
getToken
(
)
:
Flow
<
String
?
>
get
User
Id
Link copied to clipboard
fun
getUserId
(
)
:
Flow
<
String
?
>
remove
Credential
Link copied to clipboard
suspend
fun
removeCredential
(
)
save
Account
Name
Link copied to clipboard
suspend
fun
saveAccountName
(
name
:
String
)
save
Nickname
Link copied to clipboard
suspend
fun
saveNickname
(
name
:
String
)
save
Profile
Picture
Link copied to clipboard
suspend
fun
saveProfilePicture
(
url
:
String
)
save
Token
Link copied to clipboard
suspend
fun
saveToken
(
token
:
String
)
save
User
Id
Link copied to clipboard
suspend
fun
saveUserId
(
id
:
String
)