aaronheath/oauth-client 问题修复 & 功能扩展

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

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

aaronheath/oauth-client

最新稳定版本:v1.0.0

Composer 安装命令:

composer require aaronheath/oauth-client

包简介

A simple oauth2 client for use in my applications.

README 文档

README

Build Status

Introduction

This is a personal package which provides a simple OAuth2 client. The client is issued with a static personal access token.

Installation

This package is installed via Composer.

Before installing, the repository must be added to the repositories section of the host projects composer.json.

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/aaronheath/oauth-client"
    }
],

To install, run the following command.

composer require aaronheath/oauth-client

Then, publish the configuration file. A new file will be created at config/oauth-client.php

php artisan vendor:publish

Finally, at minimum you'll want to configure a default OAuth server by updating the projects .env file.

OAUTH_CLIENT_URL=https://example.com/oauth/token
OAUTH_CLIENT_ID=client_id
OAUTH_CLIENT_SECRET=client_secret

Additional OAuth hosts can be configured in the config file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-30