Class Auth_OpenID_Association
This class represents an association between a server and a
consumer.  In general, users of this library will never see
instances of this object.  The only exception is if you implement a
custom Auth_OpenID_OpenIDStore.
If you do implement such a store, it will need to store the values of the handle, secret, issued, lifetime, and assoc_type instance variables.
Copyright: 2005-2008 Janrain, Inc.
License: Apache
Author: JanRain, Inc. openid@janrain.com
Located at zp-extensions/federated_logon/Auth/OpenID/Association.php
			 public static
			association
			
			
		 | 
		
		#
		 fromExpiresIn( integer $expires_in, string $handle, string $secret, assoc_type $assoc_type )
		This is an alternate constructor (factory method) used by the OpenID consumer library to create associations. OpenID store implementations shouldn't use this constructor.  | 
	
			 public 
			
			
			
		 | 
		
		#
		 Auth_OpenID_Association( string $handle, string $secret, integer $issued, integer $lifetime, string $assoc_type )
		This is the standard constructor for creating an association. The library should create all of the necessary associations, so this constructor is not part of the external API.  | 
	
			 public 
			integer
			
			
		 | 
		
		#
		 getExpiresIn(  $now = null )
		This returns the number of seconds this association is still valid for, or 0 if the association is no longer valid.  | 
	
			 public 
			boolean
			
			
		 | 
		
		#
		 equal(  $other )
		This checks to see if two   | 
	
			 public 
			string
			
			
		 | 
		|
			 public static
			
		 | 
		
		#
		 deserialize( string $class_name,  $assoc_s )
		Parse an association as stored by serialize(). This is the inverse of serialize.  | 
	
			 public 
			string
			
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
		#
		 _makePairs(  $message )
		Given a   | 
	
			 public 
			
			
			
		 | 
		
		#
		 getMessageSignature(  $message )
		Given an   | 
	
			 public 
			
			
			
		 | 
		
		#
		 checkMessageSignature(  $message )
		Confirm that the signature of these fields matches the signature contained in the data.  | 
	
			public  
			integer
		 | 
		
				$SIG_LENGTH
			 This is a HMAC-SHA1 specific value.  | 
		
			 
				#
				 
		20
			 | 
	
			public  
			array
		 | 
		
				$assoc_keys
			 The ordering and name of keys as stored by serialize.  | 
		
			 
				#
				 
		array(
                        'version',
                        'handle',
                        'secret',
                        'issued',
                        'lifetime',
                        'assoc_type'
                        )
			 | 
	
			public  
			array
		 | 
		
				$_macs
			 | 
		
			 
				#
				 
		array(
                   'HMAC-SHA1' => 'Auth_OpenID_HMACSHA1',
                   'HMAC-SHA256' => 'Auth_OpenID_HMACSHA256'
                   )
			 |