openid.inc

Version 1.26 (checked in on 2010/03/06 at 06:39:00 by dries)

OpenID utility functions.

Constants

NameDescription
OPENID_DH_DEFAULT_GENDiffie-Hellman generator; used for Diffie-Hellman key exchange computations.
OPENID_DH_DEFAULT_MODDiffie-Hellman Key Exchange Default Value.
OPENID_NS_1_0OpenID Authentication 1.0 namespace URL; used for backwards-compatibility.
OPENID_NS_1_1OpenID Authentication 1.1 namespace URL; used for backwards-compatibility.
OPENID_NS_2_0OpenID Authentication 2.0 namespace URL.
OPENID_NS_AXOpenID Attribute Exchange extension.
OPENID_NS_SREGOpenID Simple Registration extension.
OPENID_RAND_SOURCERandom number generator; used for Diffie-Hellman key exchange computations.
OPENID_SHA1_BLOCKSIZESHA-1 hash block size; used for Diffie-Hellman key exchange computations.

Functions

NameDescription
openid_extract_namespaceExtract all the parameters belonging to an extension in a response message.
openid_normalizeNormalize the given identifier.
openid_redirectCreates a js auto-submit redirect for (for the 2.x protocol)
openid_redirect_form
openid_redirect_httpPerforms an HTTP 302 redirect (for the 1.x protocol).
_openid_create_messageCreate a serialized message packet as per spec: $key:$value\n .
_openid_dh_base64_to_long
_openid_dh_binary_to_long
_openid_dh_long_to_base64
_openid_dh_long_to_binary
_openid_dh_rand
_openid_dh_xorsecret
_openid_encode_messageEncode a message from _openid_create_message for HTTP Post
_openid_get_bytes
_openid_get_params
_openid_google_idp_normalizeOpenID normalization method: Normalize Google identifiers.
_openid_hmac
_openid_is_xriDetermine if the given identifier is an XRI ID.
_openid_link_hrefPull the href attribute out of an html link element.
_openid_meta_httpequivPull the http-equiv attribute out of an html meta element
_openid_nonceReturn a nonce value - formatted per OpenID spec.
_openid_parse_messageConvert a direct communication message into an associative array.
_openid_response
_openid_select_serviceSelect a service element.
_openid_signatureSign certain keys in a message
_openid_url_normalizeOpenID normalization method: normalize URL identifiers.
_openid_xri_normalizeOpenID normalization method: normalize XRI identifiers.