Score:-1

Using Authentication API module

mx flag

I'm trying to use the User Authentication API module. My goal is to add some post-processing after successful Drupal 7 login that posts JSON to an external web service. This would be work very similar to the Webform Remote Post module, but for the login page.

My problem is that even though the module is installed fine, and things look good on the page which displays detected plugins, nothing seems to fire at login. What do I need to add to see this plugin framework interact with a user login event?

This screenshot shows I have all the pieces in place.

screenshot

Score:0
us flag

The User Authentication API only provides an API. It doesn't provide any authentication class that can be used to really authenticate users.

What the screenshot in the question shows are the classes used by the tests implemented by the module, whose purpose is only testing the module works correctly.

You need to find a module that uses the User Authentication API module, or a totally different module, that doesn't what you trying to do.

mx flag
Drupal does a fine job of authenticating people already. I merely want to intercept the login/pass, encrypt it, and send it off to an ASP.net webservice so that when users authenticate in Drupal, they simultaneously authenticate elsewhere. Is that not what this module attempts to help me with?
apaderno avatar
us flag
It helps writing a module for authenticating users, but it doesn't send data to an external server after users are authenticated, as that is behind authenticating users.
mx flag
If it will help me get the non-encrypted value of the password as submitted by the user, I can handle the rest. My sites/all/custom/module (containing the test plugins) is detected, how do I see some indication in watchdog (or anywhere) upon user login.
mx flag
I need to grab the unhashed password at login. Looks like you've helped people grab the password during registration here... https://drupal.stackexchange.com/questions/53855/how-to-get-password-as-submitted-by-the-user-in-hook-user-insert
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.