Class OpenID_ServiceEndpoint

Description

OpenID_ServiceEndpoint

A simple class that represents a single OpenID provider service endpoint.

Located in /OpenID/ServiceEndpoint.php (line 33)


	
			
Variable Summary
string $localID
string $source
array $types
array $uris
string $version
Method Summary
string getLocalID ()
string getSource ()
array getTypes ()
array getURIs ()
string getVersion ()
bool isValid ()
void setLocalID (string $localID)
void setSource (string $source)
void setTypes ( $types)
void setURIs ( $uris)
void setVersion (string $version)
Variables
string $localID = null (line 54)

The local ID represented by this endpoint

  • access: protected
string $source = null (line 61)

The source of discovery

  • access: protected
array $types = array() (line 47)

An array of service types

  • access: protected
array $uris = array() (line 40)

An array of URIs for this endpoint

  • access: protected
string $version = null (line 68)

The version of the OpenID protocol this endpoint supports

  • access: protected
Methods
getLocalID (line 137)

Returns the local ID

  • access: public
string getLocalID ()
getSource (line 161)

Returns the discovery source

  • access: public
string getSource ()
getTypes (line 115)

Returns the service types

  • access: public
array getTypes ()
getURIs (line 93)

Returns the URIs for this endpoint

  • access: public
array getURIs ()
getVersion (line 185)

Returns the OpenID protocol version this endpoint supports

  • access: public
string getVersion ()
isValid (line 198)

Determines if this service endpoint is valid

Only checks to ensure that there is at least one valid service URI set for this endpoint.

  • access: public
bool isValid ()
setLocalID (line 127)

Sets the local ID

  • access: public
void setLocalID (string $localID)
  • string $localID: Local ID for this endpoint
setSource (line 149)

Sets the source of discovery

  • access: public
void setSource (string $source)
  • string $source: The source of discovery
setTypes (line 105)

Sets the service type

  • access: public
void setTypes ( $types)
  • array $types: The service types
setURIs (line 77)

Sets the endpoint URIs

  • access: public
void setURIs ( $uris)
  • array $uris: The endpoint URIs
setVersion (line 173)

Sets the OpenID protocol version this endpoint supports

  • access: public
void setVersion (string $version)
  • string $version: The OpenID version

Documentation generated on Tue, 15 Dec 2009 19:00:59 -0800 by phpDocumentor 1.4.3