PHP Class Thruway\Authentication\ClientWampCraAuthenticator

Inheritance: implements Thruway\Authentication\ClientAuthenticationInterface
Datei anzeigen Open project: voryx/thruway

Public Properties

Property Type Description
$authid string | integer
$derivedKey string
$key string

Public Methods

Method Description
__construct ( string | integer $authid, string $key = null ) Constructor
getAuthId ( ) : string Get authentication ID
getAuthMethods ( ) : array Get list authenticate methods
getAuthenticateFromChallenge ( Thruway\Message\ChallengeMessage $msg ) : Thruway\Message\AuthenticateMessage | boolean Get Authenticate message from challenge message
setAuthId ( string $authid ) Set authentication ID

Method Details

__construct() public method

Constructor
public __construct ( string | integer $authid, string $key = null )
$authid string | integer
$key string

getAuthId() public method

Get authentication ID
public getAuthId ( ) : string
return string

getAuthMethods() public method

Get list authenticate methods
public getAuthMethods ( ) : array
return array

getAuthenticateFromChallenge() public method

Get Authenticate message from challenge message
public getAuthenticateFromChallenge ( Thruway\Message\ChallengeMessage $msg ) : Thruway\Message\AuthenticateMessage | boolean
$msg Thruway\Message\ChallengeMessage
return Thruway\Message\AuthenticateMessage | boolean

setAuthId() public method

Set authentication ID
public setAuthId ( string $authid )
$authid string

Property Details

$authid public_oe property

public string|int $authid
return string | integer

$derivedKey public_oe property

public string $derivedKey
return string

$key public_oe property

public string $key
return string