toggle menu
Dermato.AI
androidJvm
switch theme
search in API
Dermato.AI
/
com.dermatoai.oauth
/
GoogleAuthenticationRepository
Google
Authentication
Repository
class
GoogleAuthenticationRepository
@
Inject
constructor
(
context
:
Context
,
preferences
:
OauthPreferences
)
Members
Constructors
Google
Authentication
Repository
Link copied to clipboard
@
Inject
constructor
(
context
:
Context
,
preferences
:
OauthPreferences
)
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
<
Uri
>
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
(
uri
:
Uri
)
save
Token
Link copied to clipboard
suspend
fun
saveToken
(
idToken
:
String
)
save
User
Id
Link copied to clipboard
suspend
fun
saveUserId
(
id
:
String
)