Spotify - 如何授权新版本
Spotify - how to authorize for new-releases
我对 Spotify 网络 api 端点有一些疑问 /v1/browse/new-releases.
我想在我的网站上列出新的 Spotify 版本供我的用户查看。我不希望我的用户提供有关他们 spotify 帐户的任何详细信息。
对于我的站点,我在 Spotify 开发人员处创建了一个应用程序,并且我有一个客户端 ID、客户端密钥和一个重定向 uri。
三种授权方法中的哪一种最适合我的需要?
谢谢
一个
Client Credentials oAuth flow is best suited since you don't need a user's permission to make requests to this endpoints. The other flows, Authorization Code flow and Implicit Grant 流程都需要用户的许可才能检索访问令牌。
我对 Spotify 网络 api 端点有一些疑问 /v1/browse/new-releases.
我想在我的网站上列出新的 Spotify 版本供我的用户查看。我不希望我的用户提供有关他们 spotify 帐户的任何详细信息。
对于我的站点,我在 Spotify 开发人员处创建了一个应用程序,并且我有一个客户端 ID、客户端密钥和一个重定向 uri。
三种授权方法中的哪一种最适合我的需要?
谢谢 一个
Client Credentials oAuth flow is best suited since you don't need a user's permission to make requests to this endpoints. The other flows, Authorization Code flow and Implicit Grant 流程都需要用户的许可才能检索访问令牌。