FOF30\TransparentAuthentication\TransparentAuthentication::setQueryParamPassword PHP Méthode

setQueryParamPassword() public méthode

Set the query string for the password in the Auth_SplitQueryString_Plaintext method
public setQueryParamPassword ( string $queryParamPassword )
$queryParamPassword string
    public function setQueryParamPassword($queryParamPassword)
    {
        $this->queryParamPassword = $queryParamPassword;
    }

Usage Example

 protected function setUp()
 {
     parent::setUp();
     $this->auth = new TransparentAuthentication(static::$container);
     $this->auth->setAuthenticationMethods(array(1, 2, 3, 4, 5));
     $this->auth->setBasicAuthUsername('FOF30user');
     $this->auth->setQueryParam('testAuth');
     $this->auth->setQueryParamPassword('FOF30Password');
     $this->auth->setQueryParamUsername('FOF30Username');
     $this->auth->setTimeStep(30);
     $this->auth->setTotpKey(self::$totpKey);
 }