Skip to main content

Temporary storage of token


1 comment

  • Official comment
    Jonas Kuhn

    if you use the 'PasswordOption' you can specify whether to remember the password or not, so user wouldn't have to enter it again but you will need to re-fetch the token.

    If you want to re-use the access token, one way to achieve that would be to add another 'PasswordOption', set it's visibility to false and store the token value in that option.

    All options serialize their values by default to user_preferences.xml. You could use any other String option as well, but using the PasswordOption will encrypt the token before serializing it.

Please sign in to leave a comment.