承接 compwright/oauth2-domo 相关项目开发

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

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

compwright/oauth2-domo

最新稳定版本:v1.1.0

Composer 安装命令:

composer require compwright/oauth2-domo

包简介

Domo OAuth 2.0 Client Provider for The PHP League OAuth2-Client

README 文档

README

Latest Version Software License Total Downloads

This package provides Domo OAuth 2.0 support for the PHP League's OAuth 2.0 Client.

Installation

To install, use composer:

composer require compwright/oauth2-domo 

Usage

Usage is the same as The League's OAuth client, using \Compwright\OAuth2\Domo\DomoProvider as the provider.

Client Credentials Code Flow

$domoProviderFactory = new DomoProviderFactory(); $provider = $domoProviderFactory->new( clientId: 'your_client_id', clientSecret: 'your_client_secret', ); $token = $provider->getAccessToken('client_credentials', [ 'scope' => ['data', 'user'], ]); echo $token->getToken() . PHP_EOL; // requires 'user' scope $user = $provider->getResourceOwner($token); echo $user->getId() . PHP_EOL; echo $user->getName() . PHP_EOL; echo $user->getEmail() . PHP_EOL;

Testing

$ make test

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固