承接 frengky/laravel-passport-introspect 相关项目开发

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

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

frengky/laravel-passport-introspect

Composer 安装命令:

composer require frengky/laravel-passport-introspect

包简介

Laravel Passport Introspect Endpoint (RFC 7662)

README 文档

README

Introduction

This package add token introspection endpoint (RFC 7662) for your Laravel Passport OAuth2 implementation.

Requirements

  • Laravel Passport 10.x

Installation

  1. Installing the package
$ composer require frengky/laravel-passport-introspect
  1. Add the service provider to your config/app.php
Frengky\PassportIntrospect\ServiceProvider::class

From now on the introspection endpoint route is available to access

POST /api/oauth2/introspect

Example:

curl -X POST -d 'token=hKustjeCOOSXC....' http://localhost/api/oauth2/introspect

Result:

{
  "active": true,
  "scope": "",
  "client_id": "93048e9a-f227-47ad-91f2-9630fd77fe0a",
  "sub": "1",
  "exp": 1616481476,
  "iat": 1616477876,
  "nbf": 1616477876,
  "aud": [
	"93048e9a-f227-47ad-91f2-9630fd77fe0a"
  ],
  "iss": "",
  "token_type": "Bearer",
  "token_use": "access_token",
  "jti": "58eb3b4824891f4621075fbbbbd825fd4bf7c49e9c364d4fa4069ea62fe7b8a043a92bfa278612e6"
}

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固