File "BearerAuthCredentials.php"
Full Path: /home/stylijtl/public_html/wp-content/plugins/wpforms-lite/vendor_prefixed/square/square/src/BearerAuthCredentials.php
File size: 498 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare (strict_types=1);
namespace WPForms\Vendor\Square;
/**
* Interface for defining the behavior of Authentication.
*/
interface BearerAuthCredentials
{
/**
* String value for accessToken.
*/
public function getAccessToken() : string;
/**
* Checks if provided credentials match with existing ones.
*
* @param string $accessToken The OAuth 2.0 Access Token to use for API requests.
*/
public function equals(string $accessToken) : bool;
}