PHP Class Thruway\Authentication\WampCraAuthProvider

Inheritance: extends AbstractAuthProviderClient
Afficher le fichier Open project: voryx/thruway Class Usage Examples

Méthodes publiques

Méthode Description
getMethodName ( ) : string
getUserDb ( ) : Thruway\Authentication\WampCraUserDbInterface Get UserDB
processAuthenticate ( mixed $signature, mixed $extra = null ) : array Process authenticate
processHello ( array $args ) : array The arguments given by the server are the actual hello message ($args[0]) and some session information ($args[1])
setUserDb ( Thruway\Authentication\WampCraUserDbInterface $userDb ) Set userDB

Private Methods

Méthode Description
getChallengeFromExtra ( $extra ) : boolean Gets the Challenge Message from the extra object

Method Details

getMethodName() public méthode

public getMethodName ( ) : string
Résultat string

getUserDb() public méthode

Get UserDB
public getUserDb ( ) : Thruway\Authentication\WampCraUserDbInterface
Résultat Thruway\Authentication\WampCraUserDbInterface

processAuthenticate() public méthode

Process authenticate
public processAuthenticate ( mixed $signature, mixed $extra = null ) : array
$signature mixed
$extra mixed
Résultat array

processHello() public méthode

The session information is an associative array that contains the sessionId and realm
public processHello ( array $args ) : array
$args array
Résultat array

setUserDb() public méthode

Set userDB
public setUserDb ( Thruway\Authentication\WampCraUserDbInterface $userDb )
$userDb Thruway\Authentication\WampCraUserDbInterface