Class: OpenID::Server::DiffieHellmanSHA1ServerSession

Class | OpenID::Server::DiffieHellmanSHA1ServerSession
In: | lib/openid/server.rb
Parent: | BaseServerSession

An object that knows how to handle association requests with the Diffie-Hellman session type.

See OpenID Specs, Section 8: Establishing Associations <openid.net/specs/openid-authentication-2_0-12.html#associations>

### Methods

answer from_message new

### Attributes

consumer_pubkey | [RW] | The public key sent by the consumer in the associate request
dh | [RW] | The Diffie-Hellman algorithm values for this request
session_type | [R] | The session_type for this association session.

### Public Class methods

from_message(message)

Construct me from OpenID Message

Raises ProtocolError when parameters required to establish the session are missing.

new(dh, consumer_pubkey)

### Public Instance methods

answer(secret)

[Validate]