{"id":15845,"date":"2011-11-27T11:20:15","date_gmt":"2011-11-27T11:20:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/glitch-authenticator\/"},"modified":"2012-04-29T12:51:08","modified_gmt":"2012-04-29T12:51:08","slug":"glitch-authenticator","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/glitch-authenticator\/","author":303437,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.7","stable_tag":"0.7","tested":"3.3.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Glitch Authenticator","header_author":"ping","header_description":"","assets_banners_color":"","last_updated":"2012-04-29 12:51:08","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.gregariousgrocer.com\/support-glitch-authenticator\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/glitch-authenticator\/","header_author_uri":"http:\/\/www.glitch.com\/profiles\/PIF6RN35T3D1DT2\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1196,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.7":"<p>Support redirect_to (see Theme Integration)<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.5","0.5.1","0.5.2","0.5.3","0.6","0.6.1","0.6.2","0.6.3","0.7"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1443824","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1443824","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1443824","resolution":"1","location":"plugin"}},"screenshots":{"1":"Login Screen","2":"Avatars in Comments","3":"API Settings"}},"plugin_section":[],"plugin_tags":[710,32479],"plugin_category":[38],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-15845","plugin","type-plugin","status-closed","hentry","plugin_tags-authentication","plugin_tags-glitch-com","plugin_category-authentication","plugin_committers-liping"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/glitch-authenticator.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/glitch-authenticator\/trunk\/screenshot-1.png?rev=1443824","caption":"Login Screen"},{"src":"https:\/\/ps.w.org\/glitch-authenticator\/trunk\/screenshot-2.png?rev=1443824","caption":"Avatars in Comments"},{"src":"https:\/\/ps.w.org\/glitch-authenticator\/trunk\/screenshot-3.png?rev=1443824","caption":"API Settings"}],"raw_content":"<!--section=description-->\n<p>Glitch Authenticator is not endorsed by or affiliated with <a href=\"http:\/\/www.tinyspeck.com\/\">Tiny Speck, Inc.<\/a>, the makers of <a href=\"http:\/\/www.glitch.com\/\">Glitch<\/a>, in any way.<\/p>\n <h4>Features<\/h4>\n <ul>\n<li>allows users to login with their Glitch.com account<\/li>\n<li>displays Glitch avatars in comments<\/li>\n<\/ul>\n <p>You will need to <a href=\"http:\/\/developer.glitch.com\/keys\/new\/\">generate an API key<\/a> for your site.<\/p>\n <h4>Hooks for Customisation<\/h4>\n <ol>\n<li><code>apply_filters('glitchauth_display_login', $glitchLoginButton)<\/code> - customise the Login with Glitch button<\/li>\n<li><code>apply_filters('glitchauth_loginmessage', $message, $error, $error_description)<\/code> - customise the login error message<\/li>\n<li><code>do_action('glitchauth_new_user', $obj)<\/code> - new user<\/li>\n<li><code>do_action('glitchauth_returning_user', $obj)<\/code> - returning user<\/li>\n<li><code>apply_filters('glitchauth_comment_avatar_size', $avatarSize)<\/code> - Change avatar size displayed in comments. Options are: '50' (default), '100', '172'<\/li>\n<\/ol>\n <h4>Theme Integration<\/h4>\n <p>To generate a Glitch login button for your theme, use the <code>glitchauth_login_url<\/code> function in place of <code>wp_login_url<\/code>. Example: \n    &lt; ?php \n        echo &#039;<a href=\"' . glitchauth_login_url() . '\">Login with Glitch'; \n        \/\/ Alternatively, bring the user back to current page after login by using the redirect_to param         \/\/ echo '<a>get_permalink())) . '\"&gt;Login with Glitch<\/a>';     ?&gt;<\/p>\n <p>If in <a href=\"http:\/\/codex.wordpress.org\/The_Loop\">The Loop<\/a>, you can use <code>the_glitch_avatar<\/code> function. Example: \n    <\/p>\n <p>To get a specific user's Glitch Avatar, use the <code>glitchauth_get_glitch_avatar()<\/code> function. Example: \n    &lt; ?php         $current_user = wp_get_current_user();         echo &#039;';     ?&gt;<\/p>\n\n<!--section=installation-->\n<ol>\n<li>For upgrading, please deactivate the plugin before uploading.<\/li>\n<li>Upload the whole 'glitch-authenticator' folder to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to Settings &gt; Glitch Authenticator and follow the instructions for keying in your Glitch API key and secret.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>I am still waiting for questions! :D<\/p>\n\n<!--section=changelog-->\n<h4>0.7<\/h4>\n <ul>\n<li>Support redirect_to (see Theme Integration)<\/li>\n<\/ul>\n <h4>0.6<\/h4>\n <ul>\n<li>Fixes<\/li>\n<li>Add support for minimum Glitch level for login (for spam control)<\/li>\n<li>Ability to block users from logging in by removing roles.<\/li>\n<\/ul>\n <h4>0.5<\/h4>\n <p>First release<\/p>","raw_excerpt":"This plugin adds support for users to login with their Glitch.com account.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/15845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=15845"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/liping"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=15845"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=15845"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=15845"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=15845"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=15845"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=15845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}