public function generateMemoryToken($token, KeyPairReference $keyPair = null)
	{
		return new MemoryToken($token, $this->prepareKeyPair($keyPair));
	}
public function generateMemoryToken($token, KeyPairReference $keyPair = null)
	{
		return new MemoryToken($token, $this->prepareKeyPair($keyPair));
	}
public function generateMemoryToken ( $ token , KeyPairReference $ keyPair = null ) { return new MemoryToken ( $ token , $ this -> prepareKeyPair ( $ keyPair ) ) ; }
Generates a new memory token object; decrypted token is stored in memory during execution

@param  string 					$token 		Token string to use
@param  KeyPairReference|null	$keyPair 	Key pair to use with encrypting token (optional)
@return TokenInterface Generated token
Generates a new memory token object ; decrypted token is stored in memory during execution