Difference between revisions of "Dev OpenID"

From Dreamwidth Notes
Jump to: navigation, search
(New page: = Things To Do = * [http://www.dwscoalition.org/show_bug.cgi?id=90 I&I: Separate OpenID identities for purposes of comment screening, etc] * [http://www.dwscoalition.org/show_bug.cgi?id=...)
 
 
Line 1: Line 1:
 
= Things To Do =
 
= Things To Do =
  
* [http://www.dwscoalition.org/show_bug.cgi?id=90  I&I: Separate OpenID identities for purposes of comment screening, etc]
+
* [http://bugs.dwscoalition.org/show_bug.cgi?id=90  I&I: Separate OpenID identities for purposes of comment screening, etc]
* [http://www.dwscoalition.org/show_bug.cgi?id=91  I&I: Improve OpenID identity friending]
+
* [http://bugs.dwscoalition.org/show_bug.cgi?id=91  I&I: Improve OpenID identity friending]
 
* Allow LJ accounts to associate an OpenID
 
* Allow LJ accounts to associate an OpenID
 
* Allow OpenID accounts to upgrade to a regular account
 
* Allow OpenID accounts to upgrade to a regular account

Latest revision as of 19:51, 3 December 2010

Things To Do

Associated OpenID code

$LJ::IMGPREFIX/openid-profile.gif

This will get you the wee little OpenID profile icon.

ljconfig.pl

Configuration variables that enable or disable server and consumer support.

  • $OPENID_SERVER
  • $OPENID_CONSUMER

$LJ::SITEROOT/cgi-bin/LJ/OpenID.pm

$LJ::SITEROOT/cgi-bin/Net/OpenID/

$LJ::SITEROOT/cgi-bin/ljdefaults.pl

  • Sets the location of the OpenID server to $LJ::SITEROOT/openid/server.bml if $OPENID_SERVER is set to 1.

$LJ::SITEROOT/cgi-bin/talklib.pl

$LJ::SITEROOT/cgi-bin/ljviews.pl

Appears to put the OpenID autodiscovery information in the head:

  1. $lastn_page{'head'} .= $u->openid_tags;

$LJ::SITEROOT/cgi-bin/ljfeed.pl

create_view_foaf

The function create_view_foaf sets OpenID attributes for the user, but not a community:

$ret .= "    <foaf:openid rdf:resource=\"" . $u->journal_base . "/\" />\n"
        unless $comm;

create_view_yadis

The function create_view_yadis enables YADIS capability discovery.

$LJ::SITEROOT/cgi-bin/Apache/LiveJournal/Interface/ElsewhereInfo.pm

$LJ::SITEROOT/cgi-bin/LJ/ExternalSite.pm