views:

248

answers:

1

Ok, my problem is that some providers support SREG and some support only AX I need to know how it is that I can request from the provider which methods they support.. I tried looking through the documentation here http://openidenabled.com/files/php-openid/docs/2.1.3/ but I didn't see anything.

+2  A: 
Gaurav Sharma
thank you so much.
AFK
you welcome AFK :)
Gaurav Sharma
How is $response generated? The walkthrough I have simply creates an Auth_OpenID_Consumer object, sets the URL and redirects. The only time I see a response is in the return -- but I would assume sreg or ax needs to be determined prior to authorization. (?)Thanks!
jmccartie
@jmccartie: I have edited my answer now, it includes where that $response came from.For detailed explanation you can have a look at the files (the code in php files only) in the "examples/consumer/" directory of openid library.
Gaurav Sharma
But to get that AX in response we will probably need to request it first, like we request SREG? Or how this works?
jayarjo