https://kotlinlang.org logo
#android
Title
# android
e

Edidiong Aligve

07/05/2021, 2:46 PM
Hey guys, I need help. I am new to kotlin, what is the best way to store authentication token for a user in an app.
😶 6
b

bsimmons

07/05/2021, 3:13 PM
I usually just use Shared Preferences. But it depends on how secure the token needs to be.
👍 1
d

Dominaezzz

07/05/2021, 4:16 PM
Use Kotlin
h

haris mehmood

07/06/2021, 6:55 AM
You can use Shared Preferences or data store and encrypt it using android encryption library to secure your auth token.
👍 1
2 Views