2017 © Pedro PelĂĄez
 

library fsirius-sdk-v1

Forum Sirius APIv1 PHP SDK

image

rezozero/fsirius-sdk-v1

Forum Sirius APIv1 PHP SDK

  • Friday, July 13, 2018
  • by ambroisemaupate
  • Repository
  • 2 Watchers
  • 0 Stars
  • 142 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 216 % Grown

The README.md

Forum Sirius APIv1 PHP SDK

Use Symfony HTTP Client, (*1)

Available methods:, (*2)

  • Contexte
  • ListeSC
  • ParamSC
  • DispoListeSC

Events « séances » are mapped to RZ\FSirius\EventDate object by calling $client->getEventDates($sessionToken, $eventId)., (*3)

Get a session token by calling:, (*4)

$client->setEventId($eventId); 
$sessionToken = $client->getSessionToken();

Authentication

This package provides a simple Account and Symfony Authenticator: SiriusAccountAuthenticator to authenticate Sirius customer. However, you must provide your own CredentialsInterface implementation because Sirius does not provide SSO mechanism. For example, you can create a password-less authentication system using JWT sent by email combined with $account->getSurvey() to check user permissions., (*5)

$surveyFields = explode(';', $user->getSurvey() ?? '');
if (false === $surveyFields || !in_array($this->professionalField, $surveyFields)) {
    throw new BadCredentialsException('account_is_not_professional');
}

Timezone

Be careful, Forum Sirius API servers are using Europe/Paris timezone. Make sure your application is configured with the same timezone., (*6)

The Versions

13/07 2018

dev-master

9999999-dev

Forum Sirius APIv1 PHP SDK

  Sources   Download

MIT

The Requires

 

13/07 2018

1.0.4

1.0.4.0

Forum Sirius APIv1 PHP SDK

  Sources   Download

MIT

The Requires

 

04/07 2018

1.0.3

1.0.3.0

Forum Sirius APIv1 PHP SDK

  Sources   Download

MIT

The Requires

 

15/06 2018

1.0.2

1.0.2.0

Forum Sirius APIv1 PHP SDK

  Sources   Download

MIT

The Requires

 

25/05 2018

1.0.1

1.0.1.0

Forum Sirius APIv1 PHP SDK

  Sources   Download

MIT

The Requires

 

22/12 2017

1.0.0

1.0.0.0

Forum Sirius APIv1 PHP SDK

  Sources   Download

MIT

The Requires