![]() The APIs that you’re calling identify the scopes you must list. The access token is sent to this URI.Ī space-delimited list of scopes. Set to true to force the user to re-authorize your app’s access to their resources. Specify the following query parameters as appropriate for your application. For example, if your service is a website, you can add an HTML hyperlink for the user to click. To get a user access token using the implicit grant flow, navigate the user to. This flow is meant for apps that don’t use a server, such as client-side JavaScript apps or mobile apps. NOTE Third-party apps that call the Twitch APIs and maintain an OAuth session must call the /validate endpoint to verify that the access token is still valid. Use this flow if your app is run on a client with limited input capabilities, such as set-top boxes or video games. Use this flow if your app uses a server, can securely store a client secret, and can make server-to-server requests to the Twitch API. This flow is meant for apps that only need an app access token. ![]() For example, use this flow if your app is a client-side JavaScript app or mobile app. Use this flow if your app does not use a server. If the APIs you’re calling require an OAuth app or user access token, use one of the following flows to get the token: Flow The simple difference between the two types of tokens is that a user access token lets you access a user’s sensitive data (with their permission) and an app access token lets you access their non-sensitive data only (and doesn’t require the user’s permission). The API’s reference content identifies the type of access token you’ll need. Depending on the resource you’re accessing, you’ll need a user access token or app access token. Twitch APIs require access tokens to access resources.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |