<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><figure class="quote"><figcaption><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <cite>HTTP API - Reference - SoundCloud Developers</cite>
(<time>2015-03-29 18:48:28 +09:00</time> 版)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://developers.soundcloud.com/docs/api/reference#token">https://developers.soundcloud.com/docs/api/reference#token</anchor-external></p></figcaption><blockquote><p>grant_type	enumeration	(authorization_code, refresh_token, password, client_credentials, oauth1_token)</p></blockquote></figure><figure class="quote"><figcaption><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <cite>oauth - Migrating from OAuth1 to OAuth2 - Stack Overflow</cite>
(<time>2015-03-29 18:47:31 +09:00</time> 版)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://stackoverflow.com/questions/15303023/migrating-from-oauth1-to-oauth2">http://stackoverflow.com/questions/15303023/migrating-from-oauth1-to-oauth2</anchor-external></p></figcaption><blockquote><p>You can migrate an OAuth1 token to an OAuth2 token by sending a POST request to the following endpoint:</p><p>https://api.soundcloud.com/oauth2/token</p><p>with the following parameters:</p><p>client_id='YOUR_CLIENT_ID'</p><p>client_secret='YOUR_CLIENT_SECRET'</p><p>grant_type='oauth1_token'</p><p>refresh_token='OAUTH1_TOKEN'</p><p>The response will contain an OAuth2 token (as well as expires_in, scope, refresh_token).</p></blockquote></figure></body></html>