opauth/linkedin
Composer 安装命令:
composer require opauth/linkedin
包简介
LinkedIn strategy for Opauth
README 文档
README
Opauth strategy for LinkedIn, implemented based on https://developer.linkedin.com/documents/authentication using OAuth 2.
Opauth is a multi-provider authentication framework for PHP.
Demo: http://opauth.org#linkedin
Getting started
-
Install Opauth-LinkedIn:
cd path_to_opauth/Strategy git clone git://github.com/opauth/linkedin.git LinkedInor
composer require opauth/linkedin
-
Create LinkedIn application at https://www.linkedin.com/secure/developer
- Enter your domain at JavaScript API Domain
- There is no need to enter OAuth Redirect URL
-
Configure Opauth-LinkedIn strategy with at least
qpi_keyandsecret_key. -
Direct user to
http://path_to_opauth/linkedinto authenticate
Strategy configuration
Required parameters:
<?php 'LinkedIn' => array( 'api_key' => 'YOUR API KEY', 'secret_key' => 'YOUR SECRET KEY' ),
Note: To obtain email, include r_emailaddress to scope, eg.: 'scope' => 'r_basicprofile r_emailaddress'.
See LinkedInStrategy.php for more optional parameters.
License
Opauth-LinkedIn is MIT Licensed Copyright © U-Zyn Chua (http://uzyn.com)
统计信息
- 总下载量: 67.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-06-09