A number of extensions are bundled with the default SimpleID distribution. These are described below.

Attribute Exchange Extension

This extension, ax.extension.php, partially implements the OpenID Attribute Exchange Extension. It basically allows you to specify identity information, and have SimpleID provide them automatically to web sites which request them.

This extension only implements the fetch message section of the extension. That is, it allows relying parties to retrieve identity data from SimpleID, but it does not allow relying parties to push data back to SimpleID.

Specifying attributes

The attributes is specified in your identity file. Simply add a section called ax in your identity file and specify the details there.

For what can be specified in this section, see the specifications. For a list of common attributes, see the draft specifications.

An example is given below.

[ax]
http://openid.net/schema/company/name="Example Company Limited"
http://openid.net/schema/company/title="Managing Director"
http://openid.net/schema/contact/web/blog="http://simpleid.sourceforge.net/"

Sending identity data to an OpenID site

When you log into an OpenID site, and the site asks for your identity data using this extension, you will see extra information in the log in page.

Provider Authentication Policy Extension

This extension, pape.extension.php, implements the OpenID Provider Authentication Policy Extension. It allows SimpleID to tell the relying party the authentication policies applied when a user logs into SimpleID. It also allows relying parties to require re-authentication once a user has logged in for a particular period of time.

Simple Registration Extension

This extension, sreg.extension.php, implements the OpenID Simple Registration Extension. It basically allows you to specify details which you normally provide when you register for web sites (such as your name and e-mail address), and have SimpleID provide them automatically to web sites which request them.

Specifying registration information

The registration information is specified in your identity file. Simply add a section called sreg in your identity file and specify the details there.

For what can be specified in this section, see the specifications. Note that the registration information in the identity file are specified without the openid.sreg. prefix.

An example is given below.

[sreg]
nickname=Example
email=example@example.com
fullname=Example
dob=2000-00-00
gender=M
postcode=1234
country=en
language=au
timezone=Australia/Sydney

Sending registration information to an OpenID site

When you log into an OpenID site, and the site asks for your registration information using this extension, you will see extra information in the log in page.

User Interface Extension

This extension, ui.extension.php, implements the draft OpenID User Interface Extension. It allows relying parties to alter SimpleID's user interface presented to users when they log into the relying party.