=== Plugin Name ===
Plugin Name: Glitch Authenticator
Contributors: liping
Tags: glitch.com, authentication
Requires at least: 2.7
Tested up to: 3.2.1
Stable tag: 0.5.2
This plugin adds support for users to login with their Glitch.com account.
== Description ==
Glitch Authenticator is not endorsed by or affiliated with Tiny Speck, Inc. (the makers of Glitch) in any way.
This plugin :
* allows users to login with their Glitch.com account
* displays Glitch avatars in comments
You will need to generate an API key for your site.
The plugin has a couple of hooks for customisation.
1. `apply_filters('glitchauth_display_login', $glitchLoginButton)` - customise the Login with Glitch button
2. `apply_filters('glitchauth_loginmessage', $message, $error, $error_description)` - customise the login error message
3. `do_action('glitchauth_new_user', $obj)` - new user
4. `do_action('glitchauth_returning_user', $obj)` - returning user
4. `apply_filters('glitchauth_comment_avatar_size', $avatarSize)` - Change avatar size displayed in comments. Options are: '50' (default), '100', '172'
To generate a Glitch login button for your theme, use the `glitchauth_login_url` function in place of `wp_login_url`.
Example:
`Login with Glitch'; ?>`
If in The Loop, you can use `the_glitch_avatar` function.
Example:
``
To get a specific user's Glitch Avatar, use the `glitchauth_get_glitch_avatar()` function.
Example:
`';
?>`
== Changelog ==
= 0.5 =
First release
== Upgrade Notice ==
= 0.5 =
First release
== Installation ==
1. For upgrading, please deactivate the plugin before uploading.
2. Upload the whole 'glitch-authenticator' folder to the '/wp-content/plugins/' directory
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Go to Settings > Glitch Authenticator and follow the instructions for keying in your Glitch API key and secret.
== Frequently Asked Questions ==
I am still waiting for questions! :D
== Screenshots ==
Uh, none at the moment.