Class: OpenID::AssociationManager

Inherits:
Object
  • Object
show all
Defined in:
lib/openid/association.rb

Overview

Abstract class which is the parent of both DumbAssociationManager and BaseAssociationManager.

Instance Method Summary collapse

Instance Method Details

#associate(server_url) ⇒ Object

Create an association with server_url. Return an assoc_handle

Raises:

  • (NotImplementedError)


57
58
59
# File 'lib/openid/association.rb', line 57

def associate(server_url)
	raise NotImplementedError
end

#get_association(server_url, assoc_handle) ⇒ Object

Return a ConsumerAssociation based on server_url and assoc_handle

Raises:

  • (NotImplementedError)


53
54
55
# File 'lib/openid/association.rb', line 53

def get_association(server_url, assoc_handle)
	raise NotImplementedError
end

#invalidate(server_url, assoc_handle) ⇒ Object

Invalidate an Association

Raises:

  • (NotImplementedError)


61
62
63
# File 'lib/openid/association.rb', line 61

def invalidate(server_url, assoc_handle)
	raise NotImplementedError
end