JanRain OpenID Library

Discover.php

The OpenID and Yadis discovery implementation for OpenID 1.2.

Interfaces, Classes, Traits and Enums

Auth_OpenID_ServiceEndpoint
Object representing an OpenID service endpoint.

Table of Contents

Auth_OpenID_RP_RETURN_TO_URL_TYPE  = 'http://specs.openid.net/auth/2.0/return_to'
Auth_OpenID_TYPE_1_0  = 'http://openid.net/signon/1.0'
Auth_OpenID_TYPE_1_1  = 'http://openid.net/signon/1.1'
Auth_OpenID_TYPE_1_2  = 'http://openid.net/signon/1.2'
Auth_OpenID_TYPE_2_0  = 'http://specs.openid.net/auth/2.0/signon'
Auth_OpenID_TYPE_2_0_IDP  = 'http://specs.openid.net/auth/2.0/server'
Auth_OpenID_XMLNS_1_0  = 'http://openid.net/xmlns/1.0'
Auth_OpenID_getOpenIDTypeURIs()  : mixed
Auth_OpenID_getOpenIDConsumerTypeURIs()  : mixed
Auth_OpenID_getOpenIDTypeName()  : mixed
Auth_OpenID_findOPLocalIdentifier()  : bool|null
filter_MatchesAnyOpenIDType()  : bool
filter_MatchesAnyOpenIDConsumerType()  : bool
Auth_OpenID_bestMatchingService()  : mixed
Auth_OpenID_arrangeByType()  : mixed
Auth_OpenID_getOPOrUserServices()  : mixed
Auth_OpenID_makeOpenIDEndpoints()  : array<string|int, mixed>
Auth_OpenID_discoverWithYadis()  : mixed
Auth_OpenID_discoverURI()  : mixed
Auth_OpenID_discoverWithoutYadis()  : array<string|int, mixed>
Auth_OpenID_discoverXRI()  : mixed
Auth_OpenID_discover()  : array<string|int, mixed>

Constants

Auth_OpenID_RP_RETURN_TO_URL_TYPE

public mixed Auth_OpenID_RP_RETURN_TO_URL_TYPE = 'http://specs.openid.net/auth/2.0/return_to'

Auth_OpenID_TYPE_1_0

public mixed Auth_OpenID_TYPE_1_0 = 'http://openid.net/signon/1.0'

Auth_OpenID_TYPE_1_1

public mixed Auth_OpenID_TYPE_1_1 = 'http://openid.net/signon/1.1'

Auth_OpenID_TYPE_1_2

public mixed Auth_OpenID_TYPE_1_2 = 'http://openid.net/signon/1.2'

Auth_OpenID_TYPE_2_0

public mixed Auth_OpenID_TYPE_2_0 = 'http://specs.openid.net/auth/2.0/signon'

Auth_OpenID_TYPE_2_0_IDP

public mixed Auth_OpenID_TYPE_2_0_IDP = 'http://specs.openid.net/auth/2.0/server'

Auth_OpenID_XMLNS_1_0

public mixed Auth_OpenID_XMLNS_1_0 = 'http://openid.net/xmlns/1.0'

Functions

Auth_OpenID_getOpenIDTypeURIs()

Auth_OpenID_getOpenIDTypeURIs() : mixed
Return values
mixed

Auth_OpenID_getOpenIDConsumerTypeURIs()

Auth_OpenID_getOpenIDConsumerTypeURIs() : mixed
Return values
mixed

Auth_OpenID_getOpenIDTypeName()

Auth_OpenID_getOpenIDTypeName(mixed $type_uri) : mixed
Parameters
$type_uri : mixed
Return values
mixed

Auth_OpenID_findOPLocalIdentifier()

Auth_OpenID_findOPLocalIdentifier(Auth_Yadis_Service $service, array<string|int, mixed> $type_uris) : bool|null
Parameters
$service : Auth_Yadis_Service
$type_uris : array<string|int, mixed>
Return values
bool|null

Auth_OpenID_bestMatchingService()

Auth_OpenID_bestMatchingService(mixed $service, mixed $preferred_types) : mixed
Parameters
$service : mixed
$preferred_types : mixed
Return values
mixed

Auth_OpenID_arrangeByType()

Auth_OpenID_arrangeByType(mixed $service_list, mixed $preferred_types) : mixed
Parameters
$service_list : mixed
$preferred_types : mixed
Return values
mixed

Auth_OpenID_getOPOrUserServices()

Auth_OpenID_getOPOrUserServices(mixed $openid_services) : mixed
Parameters
$openid_services : mixed
Return values
mixed

Auth_OpenID_makeOpenIDEndpoints()

Auth_OpenID_makeOpenIDEndpoints(string $uri, array<string|int, Auth_Yadis_Service$yadis_services) : array<string|int, mixed>
Parameters
$uri : string
$yadis_services : array<string|int, Auth_Yadis_Service>
Return values
array<string|int, mixed>

Auth_OpenID_discoverWithYadis()

Auth_OpenID_discoverWithYadis(mixed $uri, mixed $fetcher[, mixed $endpoint_filter = 'Auth_OpenID_getOPOrUserServices' ][, mixed $discover_function = null ]) : mixed
Parameters
$uri : mixed
$fetcher : mixed
$endpoint_filter : mixed = 'Auth_OpenID_getOPOrUserServices'
$discover_function : mixed = null
Return values
mixed

Auth_OpenID_discoverURI()

Auth_OpenID_discoverURI(mixed $uri, mixed $fetcher) : mixed
Parameters
$uri : mixed
$fetcher : mixed
Return values
mixed

Auth_OpenID_discoverXRI()

Auth_OpenID_discoverXRI(mixed $iname, mixed $fetcher) : mixed
Parameters
$iname : mixed
$fetcher : mixed
Return values
mixed

Search results