Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Retrieving userpassword from Secure Preferences #83

Open
harini9804 opened this issue Jun 7, 2018 · 1 comment
Open

Retrieving userpassword from Secure Preferences #83

harini9804 opened this issue Jun 7, 2018 · 1 comment

Comments

@harini9804
Copy link

In v0.1.4, we use val prefs = SecurePreferences(context, "userpassword", "my_user_prefs.xml") to store the user's password which is "userpassword". How do we retrieve this value for authentication purposes?

@harini9804 harini9804 changed the title Retrieving password Retrieving userpassword from Secure Preferences file Jun 7, 2018
@harini9804 harini9804 changed the title Retrieving userpassword from Secure Preferences file Retrieving userpassword from Secure Preferences Jun 7, 2018
@i-m-aman
Copy link

i-m-aman commented Oct 1, 2018

It is not used to store the user_password int he sharedPreferences. You are passing the user_password as the Key to the SecuredPreferences method and using the user_password as the key it will encrypt the shared preferences file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants