承接 daisyconbv/oauth-examples 相关项目开发

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

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

daisyconbv/oauth-examples

最新稳定版本:v1.0.0

Composer 安装命令:

composer require daisyconbv/oauth-examples

包简介

A list of Daisycon oAuth examples.

README 文档

README

This repository contains small example scripts for oAuth usage.

Javascript/Typescript

Note: both javascript and typescript examples assume you use a compiler like webpack

We also have an oauth client package available with cli support https://github.com/DaisyconBV/js-oauth-client

PHP

Even though you can see our examples here, we recommend you use the PHP League oAuth Client https://github.com/thephpleague/oauth2-client

For CLI there is a CLI client available.

Usage

php PHP/cli-client.php --clientId CLIENT_ID --clientSecret CLIENT_SECRET --outputFile tokens.json

You can then use the tokens in your code and refresh them using your own code

PowerShell

This is a small example for making an api call using OAuth in PowerShell.

Install-module -name PKCE
Install-Module -name JWTDetails
Add-Type -AssemblyName System.Web

Usage:

.\PowerShell\example.ps1

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-03-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固