Auth_OpenID_DiffieHellmanSHA256ServerSession
extends Auth_OpenID_DiffieHellmanSHA1ServerSession
in package
A class implementing DH-SHA256 server sessions.
Table of Contents
- $allowed_assoc_types : mixed
- $hash_func : mixed
- $needs_math : mixed
- $session_type : mixed
- An object that knows how to handle association requests with the Diffie-Hellman session type.
- $consumer_pubkey : mixed
- $dh : Auth_OpenID_DiffieHellman
- __construct() : mixed
- Auth_OpenID_DiffieHellmanSHA1ServerSession constructor.
- answer() : mixed
- fromMessage() : mixed
- getDH() : array<string|int, mixed>|Auth_OpenID_ServerError
Properties
$allowed_assoc_types
public
mixed
$allowed_assoc_types
= ['HMAC-SHA256']
$hash_func
public
mixed
$hash_func
= 'Auth_OpenID_SHA256'
$needs_math
public
mixed
$needs_math
= \true
$session_type
An object that knows how to handle association requests with the Diffie-Hellman session type.
public
mixed
$session_type
= 'DH-SHA256'
$consumer_pubkey
private
mixed
$consumer_pubkey
= ''
$dh
private
Auth_OpenID_DiffieHellman
$dh
Methods
__construct()
Auth_OpenID_DiffieHellmanSHA1ServerSession constructor.
public
__construct(Auth_OpenID_DiffieHellman $dh, string $consumer_pubkey) : mixed
Parameters
- $dh : Auth_OpenID_DiffieHellman
- $consumer_pubkey : string
Return values
mixed —answer()
public
answer(mixed $secret) : mixed
Parameters
- $secret : mixed
Return values
mixed —fromMessage()
public
static fromMessage(mixed $message) : mixed
Parameters
- $message : mixed
Return values
mixed —getDH()
public
static getDH(Auth_OpenID_Message $message) : array<string|int, mixed>|Auth_OpenID_ServerError
Parameters
- $message : Auth_OpenID_Message