GithubHelp home page GithubHelp logo

citrix's People

Contributors

allyjweir avatar grgcnnr avatar jpbede avatar mglaman avatar mryanb avatar oytuntez avatar teodortalov avatar wilsonweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

citrix's Issues

New release?

Hi teodortalov,

Thank you for this library, it's just what I need!

Do you know when you will be releasing a new version so I can use the new function?

$goToWebinar->createWebinar($params);

Cheers,

Simon

Returning joinUrl

HI,

This is pretty useful. But it seems to be missing a way to grab the joinUrl after registering a user.

I'm using this code:
//register a user for the very first upcoming webinar, @see Getting upcoming webinars
$webinar = reset($webinars)
$webinar->registerConsumer($consumer);

Is there a way to see the response and a joinUrl?

Thanks!

Webinar key converted to float

I would do a pull requrest, but I've already had to make a couple of other changes to the code to suit my need, however my biggest issue has been the Webinar key being converted to a float (I've also added the ID as an additional public field) - Fix for this is

ServiceAbstract.php
Function SetResponse
$this->response = (array) json_decode($response, true, 512, JSON_BIGINT_AS_STRING);

Hope this helps

ErrorException in Consumer.php line 91: Undefined index: firstName

First of all thanks for the package!

Here's the code

$client = new Direct($this->gotoWebinar['consumerKey']); $client->auth($this->gotoWebinar['username'], $this->gotoWebinar['password']); $webinarKey = 99999999; $registrantData = ['email' => '[email protected]', 'firstName' => 'Joe', 'lastName' => 'Smith']; $goToWebinar = new GoToWebinar($client); $result = $goToWebinar->register($webinarKey, $registrantData);

I followed the example in the readme.. am I missing a step ?

Here's the error

in Consumer.php line 91 at Application->Laravel\Lumen\Concerns\{closure}('8', 'Undefined index: firstName', '/home/ctl/public_html/vendor/teodortalov/citrix/src/Citrix/Entity/Consumer.php', '91', array('data' => array('registrantKey' => '9999999999999999', 'joinUrl' => 'https://global.gotowebinar.com/join/174453500580248099898/82761999506', 'status' => 'APPROVED', 'description' => 'The user is already registered.'))) in Consumer.php line 91

Any help appreciated!

Package Alive?

Hi there,

I really enjoy you package and has made life for me easier. It would really interest me to hear how it came about that you built it in the first place. Also are you going to maintain it further going forward?

Thanks!

Announcement: Citrix Authentication Upgrade

Authentication Upgrade for Citrix GoTo Product APIs

Later this month (March 2015), Citrix will release an upgrade for user authentication via API. This upgrade will introduce some security enhancements for the product APIs, and will result in a more consistent and easier sign-on experience for all of your users. In addition the authorization flow will automatically work for upcoming sign-on features from Citrix. The upgrade may impact some existing implementations.

Impact expected

The upgrade will impact the applications implementing OAuth in ways other than the ones documented or recommended. For example, embedding the product user credentials to avoid user interaction during login exposes the user accounts to security risks. This implementation will break after the upgrade is released.

Citrix has provided test OAuth and Direct Login requests you can use to validate your authorization method. We strongly advise that you run your calls using these requests within the next week or two to validate that your application will continue to run as expected. If your code does not run, this gives you time to revise your code as needed. In general, if you want to automate user login, Direct Login is the preferred method.

No impact expected

If you are using Direct Login for your authorization flows, you should see no change. In addition, if you are using the OAuth flow as documented on the site, you should see no change.

If you have any questions, please contact [email protected]

Thank you,
Your Citrix API Team

Undefined index: registrationUrl

Hello great library btw! I'm using it alongside the Laravel framework. Whenever I use this code I

$goToWebinar = new \Citrix\GoToWebinar($client); //@see $client definition above
$webinars = $goToWebinar->getUpcoming();
var_dump($webinars) //this gives you all upcoming webinars

I get the "Undefined index: registrationUrl" error. /citrix/src/Citrix/Entity/Webinar.php line 98.

What seems to be the problem?

ArrayObject":private]

First, thank you for your contribution!

I have a problem, and i don't know why.

I create an APP in my account, and i take my Consumer Key

`<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);

require_once 'vendor/autoload.php';

//authenticate with direct authentication
$client = new \Citrix\Authentication\Direct('fL');
$client->auth('j.a
@
.
.com', 'A
***l');

print_r($client->getAccessToken()); //returns your access token
print_r($client->getOrganizerKey()); //returns the organizer key
$goToWebinar = new \Citrix\GoToWebinar($client); //@see $client definition above
$webinars = $goToWebinar->getUpcoming();
var_dump($webinars); //this gives you all upcoming webinars`

The print_r of getAccessToken() and getOrganizerKey() return codes, and looks like it works but I have some webinar created nexts weeks, and when i use this method

var_dump($webinars); //this gives you all upcoming webinars

the var_dump return this:

object(ArrayObject)#4 (1) { ["storage":"ArrayObject":private]=> array(0) { } }

How can i fix this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.