WP Plugin - External Authentication Web Service Integration
$30-100 USD
Cancelled
Posted almost 13 years ago
$30-100 USD
Paid on delivery
I need a WordPress Plugin that ties into the default WP authentication mechanism and calls an External Authorization Web Service upon login and logout.
When a user successfully logs into WP, a web service call needs to be made to a configurable URL with the username of the logged in user in the query string of the web service call URL.
The External Authorization Web Service will return a temporary GUID token that needs to stored in the WP database somewhere. The token needs to be associated with the user (either by username or userid). A flag indicating whether the token is still valid is also needed.
The token needs to be programmatically accessible from any other module or plugin inside WP. The syntax should call a static method without any parameters to return the valid token GUID...something like 'string token = [login to view URL]()'.
When a user logs out or their session expires, a web service call needs to be made to a configurable URL with the username of the logged out user in the query string of the web service call URL. The plugin also needs to expire/invalidate/de-activate all the user's tokens in the WP database token table (or wherever the token is stored).
The External Authentication Web Service can return either XML or JSON. Just let me know which you prefer.
The WP Plugin should be properly packaged such that it can be installed via the WP Admin interface. It should be compatible with WP 3.1.3 (the current version). The configuration of the External Authorization Web Service URLs should be configurable via the WP Admin interface as well.