pod-point/laravel-passport-auth 问题修复 & 功能扩展

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

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

pod-point/laravel-passport-auth

最新稳定版本:v1.0.2

Composer 安装命令:

composer require pod-point/laravel-passport-auth

包简介

Laravel Passport Auth Driver and Utilities for Laravel.

README 文档

README

Build Status Latest Stable Version

A Laravel user provider which consumes an OAuth2 server to authenticate (via OAuth2 tokens) whilst still retrieving the authenticated users details from your applications own database.

Installation

First install this package from Composer:

composer require pod-point/laravel-passport-auth

Once installed, add the Service Provider to your app's array of Service Providers:

PodPoint\LaravelPassportAuth\ServiceProvider::class,

Then publish the config to your app's config directory:

php artisan vendor:publish --provider="PodPoint\LaravelPassportAuth\ServiceProvider"

You can then add the environment variables stated in config/passport.php to .env, which are the details of your OAuth2 server's password grant client:

PASSPORT_URL=
PASSPORT_KEY=
PASSPORT_SECRET=

Finally, update your user provider driver in config/auth.php:

'driver' => 'passport',

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-14