Android Authentication library Token vs Code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I would like to create an android app which can call spotify webservices.
So I am using the auth-lib to request an authentication token but I don't understand the difference betweend AuthenticationResponse.Type.Code and AuthenticationResponse.Type.Token.
Which one should I use?
I have tried with AuthenticationResponse.Type.Token, and then I get the accessToken but it expires after 60 minutes, do you known how can I refresh it?
Thank you
Labels:
- Labels:
-
Android
-
authentication
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page