setTokenAuth() public method

Accessor to set authentication token
public setTokenAuth ( string $token_auth )
$token_auth string authentication token
Example #1
0
 private function authenticate($login, $tokenAuth)
 {
     $this->auth->setLogin($login);
     $this->auth->setTokenAuth($tokenAuth);
     return $this->auth->authenticate();
 }