Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add APIToken setter method to support implicit grant functionality #16

Merged
merged 9 commits into from
Jan 29, 2020

Conversation

ebarnsli
Copy link
Contributor

@ebarnsli ebarnsli commented May 7, 2019

For implicit grant authorization you need to do it by directing the user to the webpage. After they log in you can obtain the access token but currently spotify-dart doesn't have a way to set this token. opening up the token to be explicitly set, lets us use a lot of endpoints that are specific to individual user spotify data like the /me endpoint.

what's also kind of cool about this is when the implicit grant token expires the refresh token method will be called and then we still have client_credentials permissions.

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

Successfully merging this pull request may close these issues.

None yet

2 participants