✏️ 编辑:BearerAuthCredentials.php
路径:
/home/forge/woocommerce-square/vendor/square/square/src/BearerAuthCredentials.php
大小:482 B · 修改:2025-12-23 20:26:26 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php declare(strict_types=1); namespace 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; }
💾 保存
取消
保存为 UTF-8,换行统一为 LF