function testClientRestrictionForSessionTokenCreation()
 {
     $this->securityManager->setClientHostAddressRestriction('192.168.10.200');
     $this->cryptoManager->expects($this->never())->method('createSessionToken');
     $token = $this->securityManager->createSessionToken('192.168.10.100');
     $this->assertFalse($token);
 }
 /**
  * Create / request a new session token from the server
  *
  * @param string $clientHostAddress
  * @return string
  */
 public function requestSessionToken($clientHostAddress)
 {
     return $this->securityManager->createSessionToken($clientHostAddress);
 }