承接 rezozero/fsirius-sdk-v1 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rezozero/fsirius-sdk-v1

Composer 安装命令:

composer require rezozero/fsirius-sdk-v1

包简介

Forum Sirius APIv1 PHP SDK

README 文档

README

Use Symfony HTTP Client

Available methods:

  • Contexte
  • ListeSC
  • ParamSC
  • DispoListeSC

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

Get a session token by calling:

$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.

$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.

统计信息

  • 总下载量: 874
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固