{"id":32,"date":"2015-05-19T10:36:40","date_gmt":"2015-05-19T02:36:40","guid":{"rendered":"http:\/\/magicalbits.net\/?p=32"},"modified":"2015-05-19T10:36:40","modified_gmt":"2015-05-19T02:36:40","slug":"oauth2-for-iphone-and-ipad-applications","status":"publish","type":"post","link":"https:\/\/magicalbits.net\/?p=32","title":{"rendered":"OAuth2 for iPhone and iPad applications"},"content":{"rendered":"<blockquote>\n<ul>\n<li>A client requests access to a provider&#8217;s service using its own unique client ID and secret token.<\/li>\n<li>The user logs into the service directly (using a web page on the provider&#8217;s server) and grants the client permission to access.<\/li>\n<li>The provider redirects the user to a URL unique to the client passing along a verification code in the query string.<\/li>\n<li>The client verifies the authorization request and uses the verification code from step 3 to obtain an access token.<\/li>\n<li>The client may periodically refresh the access token when it expires.<\/li>\n<\/ul>\n<\/blockquote>\n<p>Source: <em><a href=\"http:\/\/lukeredpath.co.uk\/blog\/2010\/06\/01\/oauth2-for-iphone-and-ipad-applications\/\">OAuth2 for iPhone and iPad applications<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A client requests access to a provider&#8217;s service using its own unique client ID and secret token. The user logs into the service directly (using a web page on the provider&#8217;s server) and grants the client permission to access. The provider redirects the user to a URL unique to the client passing along a verification [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32"}],"version-history":[{"count":1,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":33,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/33"}],"wp:attachment":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}