OpenID
[ class tree: OpenID ] [ index: OpenID ] [ all elements ]

Class: OpenID_ServiceEndpoint

Source Location: /OpenID-0.4.0/OpenID/ServiceEndpoint.php

Class Overview


OpenID_ServiceEndpoint


Author(s):

Copyright:

  • 2009 Rich Schumacher

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 32]
OpenID_ServiceEndpoint

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



[ Top ]


Class Variables

$localID =  null

[line 53]

The local ID represented by this endpoint
  • Access: protected

Type:   string


[ Top ]

$source =  null

[line 60]

The source of discovery
  • Access: protected

Type:   string


[ Top ]

$types = array()

[line 46]

An array of service types
  • Access: protected

Type:   array


[ Top ]

$uris = array()

[line 39]

An array of URIs for this endpoint
  • Access: protected

Type:   array


[ Top ]

$version =  null

[line 67]

The version of the OpenID protocol this endpoint supports
  • Access: protected

Type:   string


[ Top ]



Method Detail

getLocalID   [line 136]

string getLocalID( )

Returns the local ID
  • Access: public

[ Top ]

getSource   [line 160]

string getSource( )

Returns the discovery source
  • Access: public

[ Top ]

getTypes   [line 114]

array getTypes( )

Returns the service types
  • Access: public

[ Top ]

getURIs   [line 92]

array getURIs( )

Returns the URIs for this endpoint
  • Access: public

[ Top ]

getVersion   [line 184]

string getVersion( )

Returns the OpenID protocol version this endpoint supports
  • Access: public

[ Top ]

isValid   [line 197]

bool isValid( )

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

[ Top ]

setLocalID   [line 126]

void setLocalID( string $localID)

Sets the local ID
  • Access: public

Parameters:

string   $localID   —  Local ID for this endpoint

[ Top ]

setSource   [line 148]

void setSource( string $source)

Sets the source of discovery
  • Access: public

Parameters:

string   $source   —  The source of discovery

[ Top ]

setTypes   [line 104]

void setTypes( array $types)

Sets the service type
  • Access: public

Parameters:

array   $types   —  The service types

[ Top ]

setURIs   [line 76]

void setURIs( array $uris)

Sets the endpoint URIs
  • Access: public

Parameters:

array   $uris   —  The endpoint URIs

[ Top ]

setVersion   [line 172]

void setVersion( string $version)

Sets the OpenID protocol version this endpoint supports
  • Access: public

Parameters:

string   $version   —  The OpenID version

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:57:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.