Skip to content

Commit

Permalink
Added strange "COMPLIANCE" scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoonman committed Feb 25, 2018
1 parent 55a44ec commit 6d79c25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ Setup custom API request headers
$client->setApiHeaders([
'Content-Type' => 'application/json',
'x-li-format' => 'json',
'X-Restli-Protocol-Version' => '2.0.0', // use protocol v2
'x-li-src' => 'msdk' // set a src header to "msdk" to mimic a mobile SDK
]);
```
Expand Down
4 changes: 4 additions & 0 deletions src/Scope.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@ class Scope extends AbstractEnum
* Enables ability to share content on LinkedIn
*/
const SHARING = 'w_share';
/**
* Manage and delete your data including your profile, posts, invitations, and messages
*/
const COMPLIANCE = 'w_compliance';
}

0 comments on commit 6d79c25

Please sign in to comment.