承接 ln/nfon_sso 相关项目开发

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

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

ln/nfon_sso

最新稳定版本:0.0.8

Composer 安装命令:

composer require ln/nfon_sso

包简介

README 文档

README

package to login to the nfon portals with the nfon sso

getting started

composer require ln/nfon_sso

usage

conf

you need the portal base url eg. https://admin.nfon.com or https://start.cloudya.com and the client id eg. admin-portal or cloudya

$client = new Client(string <portalBaseUrl>, string <clientId>);

auth

login

$client->Login(string <username>, string <password>);

otp

$client->OTP(int <otp (6 digit)>);

token operation

// refresh the token internally
$client->RefreshToken(): bool;

// read token from json file
$client->TokenFromJsonFile(string </path/to/token/file.json>): bool;

// write token to json file
$client->TokenToJsonFile(string </path/to/token/file.json>): bool;

// set token
$client->SetToken(Token <token object>): void;

// get token
$client->GetToken(): Token;

functions

get, delete

$client-><get|delete>(string <uri>, array <query>, array <header>)

post, put, patch

$client-><post|put|patch>(string <uri>, array <payload>, array <query>, array <header>)

known possible client id's

admin portal

  • dts-admin-portal
  • dts-admin-portal-preview
  • dfn-admin-portal
  • dfn-admin-portal-preview
  • chess-admin-portal
  • chess-admin-portal-preview
  • dialog-telekom-admin-portal
  • dialog-telekom-admin-portal-preview
  • telekom-admin-portal
  • telekom-admin-portal-preview
  • o2-business-admin-portal
  • o2-business-admin-portal-preview
  • versatel-admin-portal
  • versatel-admin-portal-preview
  • smarticloud-admin-portal
  • smarticloud-admin-portal-preview
  • phoneup-admin-portal
  • phoneup-admin-portal-preview
  • admin-portal
  • admin-portal-preview

user portal

  • centrexx
  • cloudya
  • dfn
  • dialog-telekom
  • o2
  • telekom
  • one-and-one
  • promelit
  • phoneup
  • nconnect-voice
  • sip-trunk
  • o2-business-teams-telefonie

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-29