CsgoNumber / lightopenid

Automatically exported from code.google.com/p/lightopenid
0 stars 0 forks source link

Support registration MyOpenID #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
MyOpenID offers an affiliate program. When a user goes to the site and after 
registration myopenid.com returns with openid_identifier. Can you add similar 
functionality to the validation and verification of registration?

$ OpenidReg = new LightOpenID_Reg ();
$ OpenidReg-> affiliate = 12345;
header ('Location:'. $ openidReg-> regUrl ());

if ($ openidReg-> validate ()) $ openidIdentifier = $ openidReg-> identity

Something like this.

Original issue reported on code.google.com by ncwl...@gmail.com on 20 Oct 2010 at 8:04

GoogleCodeExporter commented 8 years ago
It's not a part of the OpenID protocol, so it's specific to myopenid, so I see 
no point in implementing this.
Anyway, from what I see on myopenid page, it's just a link to a website. It 
doesn't require discovery or anything special, so it has nothing to do with 
OpenID itself.
I'm sure however, that implementing this is rather easy.

Nevertheless, LightOpenID implements the OpenID protocol and it's extensions as 
specified on openid.net[1]. Unless a spec is there (or is really widely used), 
it won't be implemented in LightOpenID.

  [1]: http://openid.net/developers/specs/

Original comment by mewp...@gmail.com on 20 Oct 2010 at 9:10