JanRain OpenID Library

XRDS.php

This module contains the XRDS parsing code.

PHP versions 4 and 5

LICENSE: See the COPYING file included in this distribution.

Tags
author

JanRain, Inc. openid@janrain.com

copyright

2005-2008 Janrain, Inc.

license

http://www.apache.org/licenses/LICENSE-2.0 Apache

Interfaces, Classes, Traits and Enums

Auth_Yadis_Service
This class represents a <Service> element in an XRDS document.
Auth_Yadis_XRDS
This class performs parsing of XRDS documents.

Table of Contents

Auth_Yadis_XMLNS_XRD_2_0  = 'xri://$xrd*($v*2.0)'
XRD XML namespace
Auth_Yadis_XMLNS_XRDS  = 'xri://$xrds'
XRDS XML namespace
SERVICES_YADIS_MATCH_ALL  = 101
This match mode means a given service must match ALL filters passed to the Auth_Yadis_XRDS::services() call.
SERVICES_YADIS_MATCH_ANY  = 102
This match mode means a given service must match ANY filters (at least one) passed to the Auth_Yadis_XRDS::services() call.
SERVICES_YADIS_MAX_PRIORITY  = \pow(2, 30)
The priority value used for service elements with no priority specified.
Auth_Yadis_getNSMap()  : mixed
Auth_Yadis_array_scramble()  : array<string|int, mixed>
Auth_Yadis_getXRDExpiration()  : mixed

Constants

Auth_Yadis_XMLNS_XRD_2_0

XRD XML namespace

public mixed Auth_Yadis_XMLNS_XRD_2_0 = 'xri://$xrd*($v*2.0)'

Auth_Yadis_XMLNS_XRDS

XRDS XML namespace

public mixed Auth_Yadis_XMLNS_XRDS = 'xri://$xrds'

SERVICES_YADIS_MATCH_ALL

This match mode means a given service must match ALL filters passed to the Auth_Yadis_XRDS::services() call.

public mixed SERVICES_YADIS_MATCH_ALL = 101

SERVICES_YADIS_MATCH_ANY

This match mode means a given service must match ANY filters (at least one) passed to the Auth_Yadis_XRDS::services() call.

public mixed SERVICES_YADIS_MATCH_ANY = 102

SERVICES_YADIS_MAX_PRIORITY

The priority value used for service elements with no priority specified.

public mixed SERVICES_YADIS_MAX_PRIORITY = \pow(2, 30)

Functions

Auth_Yadis_getNSMap()

Auth_Yadis_getNSMap() : mixed
Return values
mixed

Auth_Yadis_array_scramble()

Auth_Yadis_array_scramble(array<string|int, mixed> $arr) : array<string|int, mixed>
Parameters
$arr : array<string|int, mixed>
Tags
access

private

Return values
array<string|int, mixed>

Auth_Yadis_getXRDExpiration()

Auth_Yadis_getXRDExpiration(mixed $xrd_element[, mixed $default = null ]) : mixed
Parameters
$xrd_element : mixed
$default : mixed = null
Return values
mixed

Search results