PHPackages                             ze/iam-auth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ze/iam-auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

ze/iam-auth
===========

OAuth SDK

125PHP

Since Nov 9Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Golden-Shanghai/iam-auth)[ Packagist](https://packagist.org/packages/ze/iam-auth)[ RSS](/packages/ze-iam-auth/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

快捷登录SDK
=======

[](#快捷登录sdk)

> PHP &gt;= 7.00
> laravel-admin &gt;= 1.6

---

主要包含三部分

- 自动处理OAuth授权登录及账号绑定
- 提供基于laravel-admin的账号管理界面接入
- 包含账号信息同步接口

---

### 若存在，先移除旧版本oauth包

[](#若存在先移除旧版本oauth包)

```
composer remove cann/laravel-admin-oauth-golden
```

### 引入本扩展

[](#引入本扩展)

```
composer require ze/iam-auth
```

### 发布配置

[](#发布配置)

```
php artisan vendor:publish --provider=\Ze\IAMAuth\IAMAuthServiceProvider
```

### 若admin\_users\_third\_pf\_bind表不存在，则生成数据表

[](#若admin_users_third_pf_bind表不存在则生成数据表)

```
php artisan migrate
```

### 修改iam相关配置项config/iam.php

[](#修改iam相关配置项configiamphp)

> 更多配置参考vendor/ze/iam-auth/config/iam.php

```
