Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
jetpack-boost-git
/
app
/
rest-api
/
permissions
:
Signed_With_Blog_Token.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Automattic\Jetpack_Boost\REST_API\Permissions; use Automattic\Jetpack\Connection\Rest_Authentication; use Automattic\Jetpack_Boost\REST_API\Contracts\Permission; class Signed_With_Blog_Token implements Permission { // $request is required to adhere to the contract. //phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable public function verify( $request ) { return apply_filters( 'jetpack_boost_signed_with_blog_token_verify', Rest_Authentication::is_signed_with_blog_token() ); } }