robo-meister/flow-beacon-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

robo-meister/flow-beacon-api

Composer 安装命令:

composer require robo-meister/flow-beacon-api

包简介

FlowBeacon API PHP SDK for validating Robo account JWTs and intent contexts.

README 文档

README

Composer package: robo-meister/flow-beacon-api

This package provides the PHP helpers needed by FlowBeacon integrations that rely on Robo account access tokens and signed intent context tokens.

Requirements

  • PHP 8.2 or newer
  • Composer 2.x
  • firebase/php-jwt 7.x

Install

composer require robo-meister/flow-beacon-api

Usage

use Robo\AuthSdk\RoboAuthSdk;

$sdk = new RoboAuthSdk(
    issuer: 'https://account.robo.dev',
    audience: 'flowbeacon',
    jwksUrl: 'https://account.robo.dev/.well-known/jwks.json'
);

$claims = $sdk->verifyAccessToken($jwt);
$intent = $sdk->verifyIntentContext($intentJwt, $claims['org_id']);

Return-to validation

isReturnToAllowed() compares the full origin (scheme://host[:port]) of the requested return URL against the allow-list. Paths and query strings are ignored after the origin match succeeds.

$allowed = $sdk->isReturnToAllowed($returnTo, [
    'https://app.robo.dev',
    'https://flowbeacon.example:8443',
]);

Development

Install dependencies and run the package checks from this directory:

composer install
composer validate --strict
composer test

Packagist release checklist

  1. Ensure composer validate --strict passes.
  2. Tag a semantic version, for example v0.1.0.
  3. Submit the repository or subtree split URL to Packagist with package name robo-meister/flow-beacon-api.
  4. Confirm Packagist reads this directory's composer.json and that the package page lists the expected autoload namespace.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-05-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固