| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class AppSecretProof |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * The app secret proof to sign requests made to the Graph API |
||
| 9 | * @see https://developers.facebook.com/docs/graph-api/securing-requests#appsecret_proof |
||
| 10 | * |
||
| 11 | * @param string $appSecret |
||
| 12 | * @param string $accessToken |
||
| 13 | * |
||
| 14 | * @return string |
||
| 15 | */ |
||
| 16 | public static function create($appSecret, $accessToken) |
||
| 21 |