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

Class: OpenID_Store_Interface

Source Location: /OpenID-0.4.0/OpenID/Store/Interface.php

Class Overview


Defines the OpenID storage interface.


Author(s):

Copyright:

  • 2009 Bill Shupp, Rich Schumacher

Methods


Inherited Variables

Inherited Methods


Class Details

[line 27]
Defines the OpenID storage interface.


[ Top ]


Method Detail

deleteAssociation   [line 83]

void deleteAssociation( string $uri)

Deletes an association from storage
  • Access: public

Parameters:

string   $uri   —  OP Endpoint URI

[ Top ]

deleteNonce   [line 113]

void deleteNonce( string $nonce, string $opURL)

Deletes a nonce from storage
  • Access: public

Parameters:

string   $nonce   —  The nonce to delete
string   $opURL   —  The OP endpoint URL it is associated with

[ Top ]

getAssociation   [line 64]

OpenID_Association getAssociation( string $uri, [string $handle = null])

Gets an OpenID_Assocation instance from storage
  • Access: public

Parameters:

string   $uri   —  The OP endpoint URI to get an association for
string   $handle   —  The association handle if available

[ Top ]

getDiscover   [line 44]

OpenID_Discover getDiscover( string $identifier)

Gets an OpenID_Discover object from storage
  • Access: public

Parameters:

string   $identifier   —  The normalized identifier that discovery was performed on

[ Top ]

getNonce   [line 93]

string getNonce( string $nonce, string $opURL)

Gets a nonce from storage
  • Access: public

Parameters:

string   $nonce   —  The nonce itself
string   $opURL   —  The OP Endpoint URL it was used with

[ Top ]

setAssociation   [line 74]

void setAssociation( OpenID_Association $association)

Stores an OpenID_Association instance. Details (such as endpoint url and exiration) are retrieved from the object itself.
  • Access: public

Parameters:

OpenID_Association   $association   —  Instance of OpenID_Association

[ Top ]

setDiscover   [line 54]

void setDiscover( OpenID_Discover $discover, [int $expire = null])

Stores an instance of OpenID_Discover
  • Access: public

Parameters:

OpenID_Discover   $discover   —  Instance of OpenID_Discover
int   $expire   —  How long to cache it for, in seconds

[ Top ]

setNonce   [line 103]

void setNonce( string $nonce, string $opURL)

Stores a nonce for an OP endpoint URL
  • Access: public

Parameters:

string   $nonce   —  The nonce itself
string   $opURL   —  The OP endpoint URL it was associated with

[ Top ]


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