Announcements

Help Wizard

Step 1

NEXT STEP

Android Authentication library Token vs Code

Android Authentication library Token vs Code

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

 

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! ๐Ÿ˜   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and getโ€ฆ

ModeratorStaff / Moderator/ 4 years ago  in Social & Random

Type a product name