mcn / linkedin
Installs: 134
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/mcn/linkedin
Requires
- mcn/stdlib: dev-master
- zendframework/zend-http: 2.*
- zendframework/zend-servicemanager: 2.*
- zendframework/zend-stdlib: 2.*
Requires (Dev)
- mcn/user: dev-master
This package is not auto-updated.
Last update: 2016-03-12 08:54:01 UTC
README
Authentication
To use the authentication adapter you can simply add the trait MCNLinkedIn\Entity\ConsumerTrait
to your
user class and add the following piece of configuration to list of adapters in MCNUser
. If you don't have support
for php 5.4 or don't use the trait make sure to update the adapter options accordingly!
'MCNLinkedIn\Options\Authentication\Adapter\LinkedIn' => array( // default values 'entityIdProperty' => 'linkedInId', 'entityTokenProperty' => 'linkedInAccessToken', 'entityTokenExpiresAtProperty' => 'linkedInTokenExpiresAt' )