SYMBOL INDEX (1046 symbols across 190 files) FILE: docs/.vitepress/theme/index.ts method enhanceApp (line 18) | enhanceApp({ app }: { app: App }) { FILE: src/Kernel/Config.php class Config (line 17) | class Config implements ArrayAccess, ConfigInterface method __construct (line 29) | public function __construct( method has (line 35) | #[\JetBrains\PhpStorm\Pure] method get (line 44) | #[\JetBrains\PhpStorm\Pure] method getMany (line 58) | #[\JetBrains\PhpStorm\Pure] method set (line 74) | public function set(string $key, mixed $value = null): void method all (line 82) | public function all(): array method offsetExists (line 87) | #[\JetBrains\PhpStorm\Pure] method offsetGet (line 93) | #[\JetBrains\PhpStorm\Pure] method offsetSet (line 99) | public function offsetSet(mixed $offset, mixed $value): void method offsetUnset (line 104) | public function offsetUnset(mixed $offset): void method checkMissingKeys (line 112) | public function checkMissingKeys(): bool FILE: src/Kernel/Contracts/AccessToken.php type AccessToken (line 7) | interface AccessToken method getToken (line 9) | public function getToken(): string; method toQuery (line 14) | public function toQuery(): array; FILE: src/Kernel/Contracts/AccessTokenAwareHttpClient.php type AccessTokenAwareHttpClient (line 10) | interface AccessTokenAwareHttpClient extends HttpClientInterface method withAccessToken (line 12) | public function withAccessToken(AccessTokenInterface $accessToken): st... FILE: src/Kernel/Contracts/Aes.php type Aes (line 5) | interface Aes method encrypt (line 7) | public static function encrypt(string $plaintext, string $key, ?string... method decrypt (line 9) | public static function decrypt(string $ciphertext, string $key, ?strin... FILE: src/Kernel/Contracts/Arrayable.php type Arrayable (line 7) | interface Arrayable method toArray (line 12) | public function toArray(): array; FILE: src/Kernel/Contracts/Config.php type Config (line 12) | interface Config extends ArrayAccess method all (line 17) | public function all(): array; method has (line 19) | public function has(string $key): bool; method set (line 21) | public function set(string $key, mixed $value = null): void; method get (line 26) | public function get(array|string $key, mixed $default = null): mixed; FILE: src/Kernel/Contracts/JsApiTicket.php type JsApiTicket (line 7) | interface JsApiTicket method getTicket (line 9) | public function getTicket(): string; method configSignature (line 14) | public function configSignature(string $url, string $nonce, int $times... FILE: src/Kernel/Contracts/Jsonable.php type Jsonable (line 7) | interface Jsonable method toJson (line 9) | public function toJson(): string|false; FILE: src/Kernel/Contracts/RefreshableAccessToken.php type RefreshableAccessToken (line 5) | interface RefreshableAccessToken extends AccessToken method refresh (line 7) | public function refresh(): string; FILE: src/Kernel/Contracts/RefreshableJsApiTicket.php type RefreshableJsApiTicket (line 5) | interface RefreshableJsApiTicket extends JsApiTicket method refreshTicket (line 7) | public function refreshTicket(): string; FILE: src/Kernel/Contracts/Server.php type Server (line 12) | interface Server method serve (line 14) | public function serve(): ResponseInterface; FILE: src/Kernel/Encryptor.php class Encryptor (line 36) | class Encryptor method __construct (line 75) | public function __construct(string $appId, string $token, string $aesK... method getToken (line 83) | public function getToken(): string method encrypt (line 92) | public function encrypt(string $plaintext, ?string $nonce = null, int|... method encryptAsXml (line 99) | public function encryptAsXml(string $plaintext, ?string $nonce = null,... method encryptAsJson (line 113) | public function encryptAsJson(string $plaintext, ?string $nonce = null... method encryptAsArray (line 136) | public function encryptAsArray(string $plaintext, ?string $nonce = nul... method createSignature (line 167) | public function createSignature(mixed ...$attributes): string method decrypt (line 177) | public function decrypt(string $ciphertext, string $msgSignature, stri... FILE: src/Kernel/Exceptions/BadMethodCallException.php class BadMethodCallException (line 5) | class BadMethodCallException extends Exception FILE: src/Kernel/Exceptions/BadRequestException.php class BadRequestException (line 7) | class BadRequestException extends Exception FILE: src/Kernel/Exceptions/BadResponseException.php class BadResponseException (line 7) | class BadResponseException extends Exception FILE: src/Kernel/Exceptions/DecryptException.php class DecryptException (line 7) | class DecryptException extends Exception FILE: src/Kernel/Exceptions/Exception.php class Exception (line 9) | class Exception extends BaseException FILE: src/Kernel/Exceptions/HttpException.php class HttpException (line 9) | class HttpException extends Exception method __construct (line 16) | public function __construct(string $message, ?ResponseInterface $respo... FILE: src/Kernel/Exceptions/InvalidArgumentException.php class InvalidArgumentException (line 7) | class InvalidArgumentException extends Exception FILE: src/Kernel/Exceptions/InvalidConfigException.php class InvalidConfigException (line 7) | class InvalidConfigException extends Exception FILE: src/Kernel/Exceptions/RuntimeException.php class RuntimeException (line 7) | class RuntimeException extends Exception FILE: src/Kernel/Exceptions/ServiceNotFoundException.php class ServiceNotFoundException (line 7) | class ServiceNotFoundException extends Exception FILE: src/Kernel/Form/File.php class File (line 18) | class File extends DataPart method from (line 23) | public static function from( method fromContents (line 39) | public static function fromContents( method withContents (line 71) | public static function withContents( FILE: src/Kernel/Form/Form.php class Form (line 8) | class Form method __construct (line 13) | public function __construct(protected array $fields) method create (line 20) | public static function create(array $fields): Form method toArray (line 28) | #[\JetBrains\PhpStorm\ArrayShape(['headers' => 'array', 'body' => 'str... method toOptions (line 37) | #[\JetBrains\PhpStorm\ArrayShape(['headers' => 'array', 'body' => 'str... FILE: src/Kernel/HttpClient/AccessTokenAwareClient.php class AccessTokenAwareClient (line 25) | class AccessTokenAwareClient implements AccessTokenAwareHttpClientInterface method __construct (line 33) | public function __construct( method withAccessToken (line 42) | public function withAccessToken(AccessTokenInterface $accessToken): st... method request (line 52) | public function request(string $method, string $url, array $options = ... method __call (line 70) | public function __call(string $name, array $arguments): mixed method createMockClient (line 79) | public static function createMockClient(MockHttpClient $mockHttpClient... FILE: src/Kernel/HttpClient/AccessTokenExpiredRetryStrategy.php class AccessTokenExpiredRetryStrategy (line 12) | class AccessTokenExpiredRetryStrategy extends GenericRetryStrategy method withAccessToken (line 18) | public function withAccessToken(AccessTokenInterface $accessToken): st... method decideUsing (line 25) | public function decideUsing(Closure $decider): static method shouldRetry (line 32) | public function shouldRetry( FILE: src/Kernel/HttpClient/HttpClientMethods.php type HttpClientMethods (line 8) | trait HttpClientMethods method get (line 15) | public function get(string $url, array $options = []): Response|Respon... method post (line 25) | public function post(string $url, array $options = []): Response|Respo... method postJson (line 33) | public function postJson(string $url, array $data = [], array $options... method postXml (line 45) | public function postXml(string $url, array $data = [], array $options ... method patch (line 63) | public function patch(string $url, array $options = []): Response|Resp... method patchJson (line 71) | public function patchJson(string $url, array $options = []): Response|... method put (line 83) | public function put(string $url, array $options = []): Response|Respon... method delete (line 93) | public function delete(string $url, array $options = []): Response|Res... FILE: src/Kernel/HttpClient/RequestUtil.php class RequestUtil (line 24) | class RequestUtil method mergeDefaultRetryOptions (line 30) | #[\JetBrains\PhpStorm\ArrayShape([ method formatDefaultOptions (line 54) | public static function formatDefaultOptions(array $options): array method formatOptions (line 71) | public static function formatOptions(array $options, string $method): ... method formatBody (line 111) | public static function formatBody(array $options): array method createDefaultServerRequest (line 156) | public static function createDefaultServerRequest(): ServerRequestInte... FILE: src/Kernel/HttpClient/RequestWithPresets.php type RequestWithPresets (line 20) | trait RequestWithPresets method setPresets (line 40) | public function setPresets(array $presets): static method withHeader (line 47) | public function withHeader(string $key, string $value): static method withHeaders (line 54) | public function withHeaders(array $headers): static method with (line 66) | public function with(string|array $key, mixed $value = null): static method withFile (line 90) | public function withFile(string $pathOrContents, string $formName = 'f... method withFileContents (line 112) | public function withFileContents(string $contents, string $formName = ... method withFiles (line 120) | public function withFiles(array $files): static method mergeThenResetPrepends (line 132) | public function mergeThenResetPrepends(array $options, string $method ... method handleMagicWithCall (line 161) | public function handleMagicWithCall(string $method, mixed $value = nul... FILE: src/Kernel/HttpClient/Response.php class Response (line 39) | class Response implements Arrayable, ArrayAccess, Jsonable, ResponseInte... method __construct (line 41) | public function __construct( method throw (line 48) | public function throw(bool $throw = true): static method throwOnFailure (line 55) | public function throwOnFailure(): static method quietly (line 60) | public function quietly(): static method judgeFailureUsing (line 65) | public function judgeFailureUsing(callable $callback): static method isSuccessful (line 72) | public function isSuccessful(): bool method isFailed (line 77) | public function isFailed(): bool method toArray (line 93) | public function toArray(?bool $throw = null): array method toJson (line 116) | public function toJson(?bool $throw = null): string|false method toStream (line 126) | public function toStream(?bool $throw = null) method toDataUrl (line 142) | public function toDataUrl(): string method toPsrResponse (line 147) | public function toPsrResponse(?ResponseFactoryInterface $responseFacto... method saveAs (line 188) | public function saveAs(string $filename): string method offsetExists (line 203) | public function offsetExists(mixed $offset): bool method offsetGet (line 208) | public function offsetGet(mixed $offset): mixed method offsetSet (line 216) | public function offsetSet(mixed $offset, mixed $value): void method offsetUnset (line 224) | public function offsetUnset(mixed $offset): void method __call (line 232) | public function __call(string $name, array $arguments): mixed method getStatusCode (line 237) | public function getStatusCode(): int method getHeaders (line 242) | public function getHeaders(?bool $throw = null): array method getContent (line 247) | public function getContent(?bool $throw = null): string method cancel (line 252) | public function cancel(): void method getInfo (line 257) | public function getInfo(?string $type = null): mixed method __toString (line 262) | public function __toString(): string method hasHeader (line 267) | public function hasHeader(string $name, ?bool $throw = null): bool method getHeader (line 275) | public function getHeader(string $name, ?bool $throw = null): array method getHeaderLine (line 283) | public function getHeaderLine(string $name, ?bool $throw = null): string method is (line 291) | public function is(string $type): bool FILE: src/Kernel/HttpClient/RetryableClient.php type RetryableClient (line 10) | trait RetryableClient method retry (line 15) | public function retry(array $config = []): static method retryUsing (line 36) | public function retryUsing( FILE: src/Kernel/HttpClient/ScopingHttpClient.php class ScopingHttpClient (line 15) | class ScopingHttpClient implements HttpClientInterface, LoggerAwareInter... method __construct (line 23) | public function __construct(HttpClientInterface $client, array $defaul... method request (line 29) | public function request(string $method, string $url, array $options = ... method stream (line 41) | public function stream(ResponseInterface|iterable $responses, ?float $... method reset (line 49) | public function reset() method setLogger (line 56) | public function setLogger(LoggerInterface $logger): void FILE: src/Kernel/Message.php class Message (line 22) | abstract class Message implements \JsonSerializable, ArrayAccess, Jsonable method __construct (line 29) | final public function __construct(array $attributes = [], protected ?s... method createFromRequest (line 37) | public static function createFromRequest(ServerRequestInterface $reque... method createFromStringContent (line 45) | public static function createFromStringContent(string $originContent):... method getOriginalContents (line 52) | public function getOriginalContents(): string method __toString (line 57) | public function __toString() FILE: src/Kernel/ServerResponse.php class ServerResponse (line 20) | class ServerResponse implements ResponseInterface method __construct (line 22) | public function __construct(protected ResponseInterface $response) method make (line 27) | public static function make(ResponseInterface $response): ServerResponse method getProtocolVersion (line 36) | public function getProtocolVersion(): string method withProtocolVersion (line 41) | public function withProtocolVersion($version): ServerResponse|Response... method getHeaders (line 46) | public function getHeaders(): array method hasHeader (line 51) | public function hasHeader($name): bool method getHeader (line 56) | public function getHeader($name): array method getHeaderLine (line 61) | public function getHeaderLine($name): string method withHeader (line 66) | public function withHeader($name, $value): ServerResponse|ResponseInte... method withAddedHeader (line 71) | public function withAddedHeader($name, $value): ServerResponse|Respons... method withoutHeader (line 76) | public function withoutHeader($name): ServerResponse|ResponseInterface method getBody (line 81) | public function getBody(): StreamInterface method withBody (line 86) | public function withBody(StreamInterface $body): ServerResponse|Respon... method getStatusCode (line 91) | public function getStatusCode(): int method withStatus (line 96) | public function withStatus($code, $reasonPhrase = ''): ServerResponse|... method getReasonPhrase (line 103) | public function getReasonPhrase(): string method send (line 111) | public function send(): static method sendHeaders (line 127) | public function sendHeaders(): static method sendContent (line 156) | public function sendContent(): static method closeOutputBuffers (line 172) | public static function closeOutputBuffers(int $targetLevel, bool $flus... method __toString (line 187) | public function __toString(): string FILE: src/Kernel/Support/AesCbc.php class AesCbc (line 14) | class AesCbc implements Aes method encrypt (line 19) | public static function encrypt(string $plaintext, string $key, ?string... method decrypt (line 33) | public static function decrypt(string $ciphertext, string $key, ?strin... FILE: src/Kernel/Support/AesEcb.php class AesEcb (line 14) | class AesEcb implements Aes method encrypt (line 19) | public static function encrypt(string $plaintext, string $key, ?string... method decrypt (line 33) | public static function decrypt(string $ciphertext, string $key, ?strin... FILE: src/Kernel/Support/AesGcm.php class AesGcm (line 16) | class AesGcm implements Aes method encrypt (line 23) | public static function encrypt(string $plaintext, string $key, ?string... method decrypt (line 46) | public static function decrypt(string $ciphertext, string $key, ?strin... FILE: src/Kernel/Support/Arr.php class Arr (line 9) | class Arr method get (line 11) | #[\JetBrains\PhpStorm\Pure] method exists (line 40) | public static function exists(array $array, string|int $key): bool method set (line 49) | public static function set(array &$array, string|int|null $key, mixed ... method dot (line 79) | public static function dot(array $array, string $prepend = ''): array method has (line 98) | #[\JetBrains\PhpStorm\Pure] FILE: src/Kernel/Support/MessageParser.php class MessageParser (line 9) | class MessageParser method parse (line 19) | public static function parse(string $content): array FILE: src/Kernel/Support/Pkcs7.php class Pkcs7 (line 7) | class Pkcs7 method padding (line 12) | public static function padding(string $contents, int $blockSize): string method unpadding (line 23) | public static function unpadding(string $contents, int $blockSize): st... FILE: src/Kernel/Support/PrivateKey.php class PrivateKey (line 9) | class PrivateKey method __construct (line 11) | public function __construct(protected string $key, protected ?string $... method getKey (line 18) | public function getKey(): string method getPassphrase (line 27) | public function getPassphrase(): ?string method __toString (line 32) | #[\JetBrains\PhpStorm\Pure] FILE: src/Kernel/Support/PublicKey.php class PublicKey (line 13) | class PublicKey method __construct (line 15) | public function __construct(public string $certificate) method getSerialNo (line 25) | public function getSerialNo(): string method __toString (line 36) | public function __toString(): string FILE: src/Kernel/Support/Str.php class Str (line 16) | class Str method random (line 23) | public static function random(int $length = 16): string method snakeCase (line 39) | public static function snakeCase(string $string): string FILE: src/Kernel/Support/UserAgent.php class UserAgent (line 20) | class UserAgent method create (line 25) | public static function create(array $appends = []): string FILE: src/Kernel/Support/Xml.php class Xml (line 9) | class Xml method parse (line 11) | public static function parse(string $xml): ?array method build (line 16) | public static function build(array $data): string FILE: src/Kernel/Traits/DecryptJsonMessage.php type DecryptJsonMessage (line 8) | trait DecryptJsonMessage FILE: src/Kernel/Traits/DecryptMessage.php type DecryptMessage (line 11) | trait DecryptMessage method decryptMessage (line 19) | public function decryptMessage( method validateSignature (line 53) | protected function validateSignature( FILE: src/Kernel/Traits/DecryptXmlMessage.php type DecryptXmlMessage (line 8) | trait DecryptXmlMessage FILE: src/Kernel/Traits/HasAttributes.php type HasAttributes (line 11) | trait HasAttributes method __construct (line 21) | public function __construct(array $attributes) method toArray (line 29) | public function toArray(): array method toJson (line 34) | public function toJson(): string|false method has (line 39) | public function has(string $key): bool method merge (line 47) | public function merge(array $attributes): static method jsonSerialize (line 57) | public function jsonSerialize(): array method __set (line 62) | public function __set(string $attribute, mixed $value): void method __get (line 67) | public function __get(string $attribute): mixed method offsetExists (line 72) | public function offsetExists(mixed $offset): bool method offsetGet (line 78) | public function offsetGet(mixed $offset): mixed method offsetSet (line 83) | public function offsetSet(mixed $offset, mixed $value): void method offsetUnset (line 92) | public function offsetUnset(mixed $offset): void FILE: src/Kernel/Traits/InteractWithCache.php type InteractWithCache (line 11) | trait InteractWithCache method getCacheLifetime (line 19) | public function getCacheLifetime(): int method setCacheLifetime (line 24) | public function setCacheLifetime(int $cacheLifetime): void method getCacheNamespace (line 29) | public function getCacheNamespace(): string method setCacheNamespace (line 34) | public function setCacheNamespace(string $cacheNamespace): void method setCache (line 39) | public function setCache(CacheInterface $cache): static method getCache (line 46) | public function getCache(): CacheInterface FILE: src/Kernel/Traits/InteractWithClient.php type InteractWithClient (line 9) | trait InteractWithClient method getClient (line 13) | public function getClient(): AccessTokenAwareClient method setClient (line 22) | public function setClient(AccessTokenAwareClient $client): static method createClient (line 29) | abstract public function createClient(): AccessTokenAwareClient; FILE: src/Kernel/Traits/InteractWithConfig.php type InteractWithConfig (line 12) | trait InteractWithConfig method __construct (line 19) | public function __construct(array|ConfigInterface $config) method getConfig (line 24) | public function getConfig(): ConfigInterface method setConfig (line 29) | public function setConfig(ConfigInterface $config): static FILE: src/Kernel/Traits/InteractWithHandlers.php type InteractWithHandlers (line 21) | trait InteractWithHandlers method getHandlers (line 31) | public function getHandlers(): array method with (line 36) | public function with(callable|string $handler): static method withHandler (line 44) | public function withHandler(callable|string $handler): static method createHandlerItem (line 54) | #[\JetBrains\PhpStorm\ArrayShape(['hash' => 'string', 'handler' => 'ca... method getHandlerHash (line 66) | protected function getHandlerHash(callable|array|string $handler): string method makeClosure (line 82) | protected function makeClosure(callable|string $handler): callable method prepend (line 100) | public function prepend(callable|string $handler): static method prependHandler (line 105) | public function prependHandler(callable|string $handler): static method without (line 115) | public function without(callable|string $handler): static method withoutHandler (line 123) | public function withoutHandler(callable|string $handler): static method indexOf (line 134) | public function indexOf(callable|string $handler): int method when (line 145) | public function when(mixed $value, callable|string $handler): static method handle (line 158) | public function handle(mixed $result, mixed $payload = null): mixed method has (line 169) | public function has(callable|string $handler): bool FILE: src/Kernel/Traits/InteractWithHttpClient.php type InteractWithHttpClient (line 17) | trait InteractWithHttpClient method getHttpClient (line 21) | public function getHttpClient(): HttpClientInterface method setHttpClient (line 30) | public function setHttpClient(HttpClientInterface $httpClient): static method createHttpClient (line 42) | protected function createHttpClient(): HttpClientInterface method getHttpClientDefaultOptions (line 61) | protected function getHttpClientDefaultOptions(): array FILE: src/Kernel/Traits/InteractWithServerRequest.php type InteractWithServerRequest (line 13) | trait InteractWithServerRequest method getRequest (line 17) | public function getRequest(): ServerRequestInterface method setRequest (line 26) | public function setRequest(ServerRequestInterface $request): static method setRequestFromSymfonyRequest (line 33) | public function setRequestFromSymfonyRequest(Request $symfonyRequest):... FILE: src/Kernel/Traits/MockableHttpClient.php type MockableHttpClient (line 11) | trait MockableHttpClient method createMockClient (line 13) | public static function createMockClient(MockHttpClient $mockHttpClient... method mock (line 21) | public static function mock( FILE: src/Kernel/Traits/RespondJsonMessage.php type RespondJsonMessage (line 11) | trait RespondJsonMessage method transformJsonToReply (line 13) | public function transformJsonToReply(mixed $response, Message $message... method normalizeJsonResponse (line 28) | protected function normalizeJsonResponse(mixed $response): array method createJsonResponse (line 50) | protected function createJsonResponse(array $attributes, ?Encryptor $e... FILE: src/Kernel/Traits/RespondXmlMessage.php type RespondXmlMessage (line 19) | trait RespondXmlMessage method transformToReply (line 25) | public function transformToReply(mixed $response, Message $message, ?E... method normalizeResponse (line 51) | protected function normalizeResponse(mixed $response): array method createXmlResponse (line 82) | protected function createXmlResponse(array $attributes, ?Encryptor $en... FILE: src/MiniApp/AccessToken.php class AccessToken (line 7) | class AccessToken extends \EasyWeChat\OfficialAccount\AccessToken FILE: src/MiniApp/Account.php class Account (line 9) | class Account extends \EasyWeChat\OfficialAccount\Account implements Acc... FILE: src/MiniApp/Application.php class Application (line 33) | class Application implements ApplicationInterface method getAccount (line 50) | public function getAccount(): AccountInterface method setAccount (line 64) | public function setAccount(AccountInterface $account): static method getEncryptor (line 74) | public function getEncryptor(): Encryptor method setEncryptor (line 95) | public function setEncryptor(Encryptor $encryptor): static method getServer (line 102) | public function getServer(): Server|ServerInterface method setServer (line 114) | public function setServer(ServerInterface $server): static method getAccessToken (line 121) | public function getAccessToken(): AccessTokenInterface method setAccessToken (line 136) | public function setAccessToken(AccessTokenInterface $accessToken): static method getUtils (line 143) | #[\JetBrains\PhpStorm\Pure] method createClient (line 149) | public function createClient(): AccessTokenAwareClient method getRetryStrategy (line 171) | public function getRetryStrategy(): AccessTokenExpiredRetryStrategy method getHttpClientDefaultOptions (line 186) | protected function getHttpClientDefaultOptions(): array FILE: src/MiniApp/Contracts/Account.php type Account (line 7) | interface Account method getAppId (line 9) | public function getAppId(): string; method getSecret (line 11) | public function getSecret(): string; method getToken (line 13) | public function getToken(): ?string; method getAesKey (line 15) | public function getAesKey(): ?string; FILE: src/MiniApp/Contracts/Application.php type Application (line 16) | interface Application method getAccount (line 18) | public function getAccount(): Account; method getEncryptor (line 20) | public function getEncryptor(): Encryptor; method getServer (line 22) | public function getServer(): Server; method getRequest (line 24) | public function getRequest(): ServerRequestInterface; method getClient (line 26) | public function getClient(): AccessTokenAwareClient; method getHttpClient (line 28) | public function getHttpClient(): HttpClientInterface; method getConfig (line 30) | public function getConfig(): Config; method getAccessToken (line 32) | public function getAccessToken(): AccessToken; method getCache (line 34) | public function getCache(): CacheInterface; FILE: src/MiniApp/Decryptor.php class Decryptor (line 16) | class Decryptor method decrypt (line 23) | public static function decrypt(string $sessionKey, string $iv, string ... FILE: src/MiniApp/Server.php class Server (line 7) | class Server extends \EasyWeChat\OfficialAccount\Server FILE: src/MiniApp/Utils.php class Utils (line 7) | class Utils method __construct (line 9) | public function __construct(protected Application $app) method codeToSession (line 16) | public function codeToSession(string $code): array method decryptSession (line 34) | public function decryptSession(string $sessionKey, string $iv, string ... method getPhoneNumber (line 42) | public function getPhoneNumber(string $code): array FILE: src/OfficialAccount/AccessToken.php class AccessToken (line 20) | class AccessToken implements RefreshableAccessTokenInterface method __construct (line 28) | public function __construct( method getKey (line 40) | public function getKey(): string method setKey (line 45) | public function setKey(string $key): static method getToken (line 52) | public function getToken(): string method toQuery (line 66) | #[\JetBrains\PhpStorm\ArrayShape(['access_token' => 'string'])] method refresh (line 72) | public function refresh(): string method getStableAccessToken (line 80) | public function getStableAccessToken(bool $force_refresh = false): string method getAccessToken (line 107) | public function getAccessToken(): string FILE: src/OfficialAccount/Account.php class Account (line 10) | class Account implements AccountInterface method __construct (line 12) | public function __construct( method getAppId (line 20) | public function getAppId(): string method getSecret (line 28) | public function getSecret(): string method getToken (line 37) | public function getToken(): ?string method getAesKey (line 42) | public function getAesKey(): ?string FILE: src/OfficialAccount/Application.php class Application (line 37) | class Application implements ApplicationInterface method getAccount (line 58) | public function getAccount(): AccountInterface method setAccount (line 72) | public function setAccount(AccountInterface $account): static method getEncryptor (line 82) | public function getEncryptor(): Encryptor method setEncryptor (line 103) | public function setEncryptor(Encryptor $encryptor): static method getServer (line 110) | public function getServer(): Server|ServerInterface method setServer (line 122) | public function setServer(ServerInterface $server): static method getAccessToken (line 129) | public function getAccessToken(): AccessTokenInterface|RefreshableAcce... method setAccessToken (line 144) | public function setAccessToken(AccessTokenInterface|RefreshableAccessT... method setOAuthFactory (line 151) | public function setOAuthFactory(callable $factory): static method getOAuth (line 161) | public function getOAuth(): SocialiteProviderInterface method getTicket (line 185) | public function getTicket(): JsApiTicketInterface|RefreshableJsApiTick... method setTicket (line 200) | public function setTicket(JsApiTicketInterface|RefreshableJsApiTicketI... method getUtils (line 207) | #[\JetBrains\PhpStorm\Pure] method createClient (line 213) | public function createClient(): AccessTokenAwareClient method getRetryStrategy (line 233) | public function getRetryStrategy(): AccessTokenExpiredRetryStrategy method getHttpClientDefaultOptions (line 248) | protected function getHttpClientDefaultOptions(): array FILE: src/OfficialAccount/Config.php class Config (line 7) | class Config extends \EasyWeChat\Kernel\Config FILE: src/OfficialAccount/Contracts/Account.php type Account (line 7) | interface Account method getAppId (line 9) | public function getAppId(): string; method getSecret (line 11) | public function getSecret(): string; method getToken (line 13) | public function getToken(): ?string; method getAesKey (line 15) | public function getAesKey(): ?string; FILE: src/OfficialAccount/Contracts/Application.php type Application (line 17) | interface Application method getAccount (line 19) | public function getAccount(): Account; method getEncryptor (line 21) | public function getEncryptor(): Encryptor; method getServer (line 23) | public function getServer(): Server; method getRequest (line 25) | public function getRequest(): ServerRequestInterface; method getClient (line 27) | public function getClient(): AccessTokenAwareClient; method getHttpClient (line 29) | public function getHttpClient(): HttpClientInterface; method getConfig (line 31) | public function getConfig(): Config; method getAccessToken (line 33) | public function getAccessToken(): AccessToken; method getCache (line 35) | public function getCache(): CacheInterface; method getOAuth (line 37) | public function getOAuth(): ProviderInterface; method setOAuthFactory (line 39) | public function setOAuthFactory(callable $factory): static; FILE: src/OfficialAccount/JsApiTicket.php class JsApiTicket (line 12) | class JsApiTicket extends AccessToken implements RefreshableJsApiTicketI... method getTicket (line 14) | public function getTicket(): string method refreshTicket (line 29) | public function refreshTicket(): string method configSignature (line 46) | #[\JetBrains\PhpStorm\ArrayShape([ method getKey (line 70) | public function getKey(): string FILE: src/OfficialAccount/Message.php class Message (line 11) | class Message extends \EasyWeChat\Kernel\Message FILE: src/OfficialAccount/Server.php class Server (line 20) | class Server implements ServerInterface method __construct (line 27) | public function __construct( method serve (line 34) | public function serve(): ResponseInterface method addMessageListener (line 59) | public function addMessageListener(string $type, callable|string $hand... method addEventListener (line 71) | public function addEventListener(string $event, callable|string $handl... method decryptRequestMessage (line 88) | protected function decryptRequestMessage(array $query): Closure method getRequestMessage (line 101) | public function getRequestMessage(?ServerRequestInterface $request = n... method getDecryptedMessage (line 106) | public function getDecryptedMessage(?ServerRequestInterface $request =... method decryptIncomingMessage (line 122) | protected function decryptIncomingMessage(\EasyWeChat\Kernel\Message $... FILE: src/OfficialAccount/Utils.php class Utils (line 9) | class Utils method __construct (line 11) | public function __construct(protected Application $app) method buildJsSdkConfig (line 20) | public function buildJsSdkConfig( FILE: src/OpenPlatform/Account.php class Account (line 9) | class Account implements AccountInterface method __construct (line 11) | public function __construct( method getAppId (line 19) | public function getAppId(): string method getSecret (line 24) | public function getSecret(): string method getToken (line 29) | public function getToken(): string method getAesKey (line 34) | public function getAesKey(): string FILE: src/OpenPlatform/Application.php class Application (line 35) | class Application implements ApplicationInterface method getAccount (line 54) | public function getAccount(): AccountInterface method setAccount (line 68) | public function setAccount(AccountInterface $account): static method getVerifyTicket (line 75) | public function getVerifyTicket(): VerifyTicketInterface method setVerifyTicket (line 87) | public function setVerifyTicket(VerifyTicketInterface $verifyTicket): ... method getEncryptor (line 94) | public function getEncryptor(): Encryptor method setEncryptor (line 108) | public function setEncryptor(Encryptor $encryptor): static method getServer (line 115) | public function getServer(): Server|ServerInterface method setServer (line 138) | public function setServer(ServerInterface $server): static method getAccessToken (line 145) | public function getAccessToken(): AccessTokenInterface method getComponentAccessToken (line 150) | public function getComponentAccessToken(): AccessTokenInterface method setComponentAccessToken (line 165) | public function setComponentAccessToken(AccessTokenInterface $componen... method getAuthorization (line 175) | public function getAuthorization(string $authorizationCode): Authoriza... method refreshAuthorizerToken (line 201) | public function refreshAuthorizerToken(string $authorizerAppId, string... method createPreAuthorizationCode (line 228) | public function createPreAuthorizationCode(): array method createPreAuthorizationUrl (line 250) | public function createPreAuthorizationUrl(string $callbackUrl, array|s... method getOAuth (line 272) | public function getOAuth(): SocialiteProviderInterface method getOfficialAccountWithRefreshToken (line 283) | public function getOfficialAccountWithRefreshToken( method getOfficialAccountWithAccessToken (line 295) | public function getOfficialAccountWithAccessToken( method getOfficialAccount (line 303) | public function getOfficialAccount( method getMiniAppWithRefreshToken (line 329) | public function getMiniAppWithRefreshToken( method getMiniAppWithAccessToken (line 341) | public function getMiniAppWithAccessToken( method getMiniApp (line 349) | public function getMiniApp(AuthorizerAccessToken $authorizerAccessToke... method createAuthorizerOAuthFactory (line 370) | protected function createAuthorizerOAuthFactory(string $authorizerAppI... method createClient (line 386) | public function createClient(): AccessTokenAwareClient method getAuthorizerAccessToken (line 396) | public function getAuthorizerAccessToken(string $appId, string $refres... method getHttpClientDefaultOptions (line 415) | protected function getHttpClientDefaultOptions(): array FILE: src/OpenPlatform/Authorization.php class Authorization (line 15) | class Authorization implements Arrayable, ArrayAccess, Jsonable method getAppId (line 19) | public function getAppId(): string method getAccessToken (line 25) | #[\JetBrains\PhpStorm\Pure] method getRefreshToken (line 37) | public function getRefreshToken(): string FILE: src/OpenPlatform/AuthorizerAccessToken.php class AuthorizerAccessToken (line 10) | class AuthorizerAccessToken implements AccessToken, Stringable method __construct (line 12) | public function __construct(protected string $appId, protected string ... method getAppId (line 16) | public function getAppId(): string method getToken (line 21) | public function getToken(): string method __toString (line 26) | public function __toString() method toQuery (line 34) | #[\JetBrains\PhpStorm\Pure] FILE: src/OpenPlatform/ComponentAccessToken.php class ComponentAccessToken (line 20) | class ComponentAccessToken implements RefreshableAccessTokenInterface method __construct (line 26) | public function __construct( method getKey (line 38) | public function getKey(): string method setKey (line 43) | public function setKey(string $key): static method getToken (line 50) | public function getToken(): string method toQuery (line 61) | #[\JetBrains\PhpStorm\ArrayShape(['component_access_token' => 'string'])] method refresh (line 70) | public function refresh(): string FILE: src/OpenPlatform/Config.php class Config (line 7) | class Config extends \EasyWeChat\Kernel\Config FILE: src/OpenPlatform/Contracts/Account.php type Account (line 7) | interface Account method getAppId (line 9) | public function getAppId(): string; method getSecret (line 11) | public function getSecret(): string; method getToken (line 13) | public function getToken(): string; method getAesKey (line 15) | public function getAesKey(): string; FILE: src/OpenPlatform/Contracts/Application.php type Application (line 20) | interface Application method getAccount (line 22) | public function getAccount(): Account; method getEncryptor (line 24) | public function getEncryptor(): Encryptor; method getServer (line 26) | public function getServer(): Server; method getRequest (line 28) | public function getRequest(): ServerRequestInterface; method getClient (line 30) | public function getClient(): AccessTokenAwareClient; method getHttpClient (line 32) | public function getHttpClient(): HttpClientInterface; method getConfig (line 34) | public function getConfig(): Config; method getComponentAccessToken (line 36) | public function getComponentAccessToken(): AccessToken; method getCache (line 38) | public function getCache(): CacheInterface; method getOAuth (line 40) | public function getOAuth(): ProviderInterface; method getMiniApp (line 45) | public function getMiniApp(AuthorizerAccessToken $authorizerAccessToke... method getOfficialAccount (line 50) | public function getOfficialAccount( FILE: src/OpenPlatform/Contracts/VerifyTicket.php type VerifyTicket (line 7) | interface VerifyTicket method getTicket (line 9) | public function getTicket(): string; method setTicket (line 11) | public function setTicket(string $ticket): static; FILE: src/OpenPlatform/Message.php class Message (line 11) | class Message extends \EasyWeChat\Kernel\Message FILE: src/OpenPlatform/Server.php class Server (line 21) | class Server implements ServerInterface method __construct (line 30) | public function __construct( method serve (line 37) | public function serve(): ResponseInterface method handleAuthorized (line 56) | public function handleAuthorized(callable $handler): static method handleUnauthorized (line 65) | public function handleUnauthorized(callable $handler): static method handleAuthorizeUpdated (line 74) | public function handleAuthorizeUpdated(callable $handler): static method withDefaultVerifyTicketHandler (line 83) | public function withDefaultVerifyTicketHandler(callable $handler): void method handleVerifyTicketRefreshed (line 89) | public function handleVerifyTicketRefreshed(callable $handler): static method decryptRequestMessage (line 102) | protected function decryptRequestMessage(): Closure method getRequestMessage (line 119) | public function getRequestMessage(?ServerRequestInterface $request = n... method getDecryptedMessage (line 124) | public function getDecryptedMessage(?ServerRequestInterface $request =... FILE: src/OpenPlatform/VerifyTicket.php class VerifyTicket (line 16) | class VerifyTicket implements VerifyTicketInterface method __construct (line 20) | public function __construct( method getKey (line 28) | public function getKey(): string method setKey (line 33) | public function setKey(string $key): static method setTicket (line 40) | public function setTicket(string $ticket): static method getTicket (line 50) | public function getTicket(): string FILE: src/OpenWork/Account.php class Account (line 9) | class Account implements AccountInterface method __construct (line 11) | public function __construct( method getCorpId (line 21) | public function getCorpId(): string method getProviderSecret (line 26) | public function getProviderSecret(): string method getSuiteId (line 31) | public function getSuiteId(): string method getSuiteSecret (line 36) | public function getSuiteSecret(): string method getToken (line 41) | public function getToken(): string method getAesKey (line 46) | public function getAesKey(): string FILE: src/OpenWork/Application.php class Application (line 26) | class Application implements ApplicationInterface method getAccount (line 51) | public function getAccount(): AccountInterface method setAccount (line 67) | public function setAccount(AccountInterface $account): static method getEncryptor (line 74) | public function getEncryptor(): Encryptor method setEncryptor (line 87) | public function setEncryptor(Encryptor $encryptor): static method getSuiteEncryptor (line 94) | public function getSuiteEncryptor(): SuiteEncryptor method setSuiteEncryptor (line 107) | public function setSuiteEncryptor(SuiteEncryptor $encryptor): static method getServer (line 114) | public function getServer(): Server|ServerInterface method setServer (line 135) | public function setServer(ServerInterface $server): static method getProviderAccessToken (line 142) | public function getProviderAccessToken(): AccessTokenInterface method setProviderAccessToken (line 156) | public function setProviderAccessToken(AccessTokenInterface $accessTok... method getSuiteAccessToken (line 163) | public function getSuiteAccessToken(): AccessTokenInterface method setSuiteAccessToken (line 178) | public function setSuiteAccessToken(AccessTokenInterface $accessToken)... method getSuiteTicket (line 185) | public function getSuiteTicket(): SuiteTicketInterface method setSuiteTicket (line 197) | public function setSuiteTicket(SuiteTicketInterface $suiteTicket): Sui... method getAuthorization (line 207) | public function getAuthorization( method getAuthorizerAccessToken (line 231) | public function getAuthorizerAccessToken( method createClient (line 247) | public function createClient(): AccessTokenAwareClient method getAuthorizerClient (line 257) | public function getAuthorizerClient(string $corpId, string $permanentC... method getJsApiTicket (line 267) | public function getJsApiTicket(string $corpId, string $permanentCode, ... method getOAuth (line 276) | public function getOAuth( method getCorpOAuth (line 291) | public function getCorpOAuth( method getHttpClientDefaultOptions (line 309) | protected function getHttpClientDefaultOptions(): array FILE: src/OpenWork/Authorization.php class Authorization (line 15) | class Authorization implements Arrayable, ArrayAccess, Jsonable method getAppId (line 19) | public function getAppId(): string FILE: src/OpenWork/AuthorizerAccessToken.php class AuthorizerAccessToken (line 17) | class AuthorizerAccessToken implements RefreshableAccessToken, Stringable method __construct (line 23) | public function __construct( method getCorpId (line 35) | public function getCorpId(): string method getToken (line 40) | public function getToken(): string method __toString (line 55) | public function __toString() method toQuery (line 60) | #[\JetBrains\PhpStorm\ArrayShape(['access_token' => 'string'])] method getKey (line 66) | public function getKey(): string method setKey (line 71) | public function setKey(string $key): static method refresh (line 81) | public function refresh(): string FILE: src/OpenWork/Config.php class Config (line 7) | class Config extends \EasyWeChat\Kernel\Config FILE: src/OpenWork/Contracts/Account.php type Account (line 7) | interface Account method getCorpId (line 9) | public function getCorpId(): string; method getProviderSecret (line 11) | public function getProviderSecret(): string; method getSuiteId (line 13) | public function getSuiteId(): string; method getSuiteSecret (line 15) | public function getSuiteSecret(): string; method getToken (line 17) | public function getToken(): string; method getAesKey (line 19) | public function getAesKey(): string; FILE: src/OpenWork/Contracts/Application.php type Application (line 16) | interface Application method getAccount (line 18) | public function getAccount(): Account; method getEncryptor (line 20) | public function getEncryptor(): Encryptor; method getSuiteEncryptor (line 22) | public function getSuiteEncryptor(): Encryptor; method getServer (line 24) | public function getServer(): Server; method getRequest (line 26) | public function getRequest(): ServerRequestInterface; method getClient (line 28) | public function getClient(): AccessTokenAwareClient; method getHttpClient (line 30) | public function getHttpClient(): HttpClientInterface; method getConfig (line 32) | public function getConfig(): Config; method getProviderAccessToken (line 34) | public function getProviderAccessToken(): AccessToken; method getCache (line 36) | public function getCache(): CacheInterface; FILE: src/OpenWork/Contracts/SuiteTicket.php type SuiteTicket (line 7) | interface SuiteTicket method getTicket (line 9) | public function getTicket(): string; method setTicket (line 11) | public function setTicket(string $ticket): static; FILE: src/OpenWork/Encryptor.php class Encryptor (line 5) | class Encryptor extends \EasyWeChat\Kernel\Encryptor method __construct (line 7) | #[\JetBrains\PhpStorm\Pure] FILE: src/OpenWork/JsApiTicket.php class JsApiTicket (line 18) | class JsApiTicket method __construct (line 24) | public function __construct( method createConfigSignature (line 37) | public function createConfigSignature(string $nonce, int $timestamp, s... method getTicketSignature (line 51) | public function getTicketSignature(string $ticket, string $nonce, int ... method getTicket (line 59) | public function getTicket(): string method setKey (line 79) | public function setKey(string $key): static method getKey (line 86) | public function getKey(): string method createAgentConfigSignature (line 91) | public function createAgentConfigSignature(int $agentId, string $nonce... method getAgentTicket (line 106) | public function getAgentTicket(int $agentId): string method getAgentKey (line 126) | public function getAgentKey(int $agentId): string FILE: src/OpenWork/Message.php class Message (line 15) | class Message extends \EasyWeChat\Kernel\Message FILE: src/OpenWork/ProviderAccessToken.php class ProviderAccessToken (line 19) | class ProviderAccessToken implements RefreshableAccessTokenInterface method __construct (line 25) | public function __construct( method getKey (line 36) | public function getKey(): string method setKey (line 41) | public function setKey(string $key): static method getToken (line 48) | public function getToken(): string method toQuery (line 62) | #[\JetBrains\PhpStorm\ArrayShape(['provider_access_token' => 'string'])] method refresh (line 71) | public function refresh(): string FILE: src/OpenWork/Server.php class Server (line 24) | class Server implements ServerInterface method __construct (line 33) | public function __construct( method serve (line 46) | public function serve(): ResponseInterface method withDefaultSuiteTicketHandler (line 74) | public function withDefaultSuiteTicketHandler(callable $handler): void method handleSuiteTicketRefreshed (line 80) | public function handleSuiteTicketRefreshed(callable $handler): static method handleAuthCreated (line 93) | public function handleAuthCreated(callable $handler): static method handleAuthChanged (line 102) | public function handleAuthChanged(callable $handler): static method handleAuthCancelled (line 111) | public function handleAuthCancelled(callable $handler): static method handleUserCreated (line 120) | public function handleUserCreated(callable $handler): static method handleUserUpdated (line 132) | public function handleUserUpdated(callable $handler): static method handleUserDeleted (line 144) | public function handleUserDeleted(callable $handler): static method handlePartyCreated (line 156) | public function handlePartyCreated(callable $handler): static method handlePartyUpdated (line 168) | public function handlePartyUpdated(callable $handler): static method handlePartyDeleted (line 180) | public function handlePartyDeleted(callable $handler): static method handleUserTagUpdated (line 192) | public function handleUserTagUpdated(callable $handler): static method handleShareAgentChanged (line 204) | public function handleShareAgentChanged(callable $handler): static method handleResetPermanentCode (line 213) | public function handleResetPermanentCode(callable $handler): static method handleChangeAppAdmin (line 222) | public function handleChangeAppAdmin(callable $handler): static method decryptRequestMessage (line 234) | protected function decryptRequestMessage(): Closure method getRequestMessage (line 254) | public function getRequestMessage(?ServerRequestInterface $request = n... method getDecryptedMessage (line 263) | public function getDecryptedMessage(?ServerRequestInterface $request =... FILE: src/OpenWork/SuiteAccessToken.php class SuiteAccessToken (line 22) | class SuiteAccessToken implements RefreshableAccessTokenInterface method __construct (line 28) | public function __construct( method getKey (line 41) | public function getKey(): string method setKey (line 46) | public function setKey(string $key): static method getToken (line 53) | public function getToken(): string method toQuery (line 67) | #[\JetBrains\PhpStorm\ArrayShape(['suite_access_token' => 'string'])] method refresh (line 76) | public function refresh(): string FILE: src/OpenWork/SuiteEncryptor.php class SuiteEncryptor (line 7) | class SuiteEncryptor extends Encryptor method __construct (line 9) | #[\JetBrains\PhpStorm\Pure] FILE: src/OpenWork/SuiteTicket.php class SuiteTicket (line 16) | class SuiteTicket implements SuiteTicketInterface method __construct (line 20) | public function __construct( method getKey (line 28) | public function getKey(): string method setKey (line 33) | public function setKey(string $key): static method setTicket (line 40) | public function setTicket(string $ticket): static method getTicket (line 50) | public function getTicket(): string FILE: src/Pay/Application.php class Application (line 18) | class Application implements \EasyWeChat\Pay\Contracts\Application method getUtils (line 33) | public function getUtils(): Utils method getMerchant (line 38) | public function getMerchant(): Merchant method getValidator (line 54) | public function getValidator(): ValidatorInterface method setValidator (line 63) | public function setValidator(ValidatorInterface $validator): static method getServer (line 70) | public function getServer(): Server|ServerInterface method setServer (line 82) | public function setServer(ServerInterface $server): static method setConfig (line 89) | public function setConfig(ConfigInterface $config): static method getConfig (line 96) | public function getConfig(): ConfigInterface method getClient (line 101) | public function getClient(): Client|HttpClientInterface method setClient (line 110) | public function setClient(HttpClientInterface $client): static FILE: src/Pay/Client.php class Client (line 47) | class Client implements HttpClientInterface method __construct (line 90) | public function __construct( method request (line 112) | public function request(string $method, string $url, array $options = ... method isV3Request (line 178) | protected function isV3Request(string $url): bool method withSerialHeader (line 194) | public function withSerialHeader(?string $serial = null): static method __call (line 210) | public function __call(string $name, array $arguments): mixed method uploadMedia (line 219) | public function uploadMedia(string $uri, string $pathOrContents, ?arra... method createSignature (line 247) | protected function createSignature(string $method, string $url, array ... method attachLegacySignature (line 258) | protected function attachLegacySignature(array $body): array method createMockClient (line 263) | public static function createMockClient(MockHttpClient $mockHttpClient... FILE: src/Pay/Config.php class Config (line 7) | class Config extends \EasyWeChat\Kernel\Config FILE: src/Pay/Contracts/Application.php type Application (line 10) | interface Application method getMerchant (line 12) | public function getMerchant(): Merchant; method getConfig (line 14) | public function getConfig(): Config; method getHttpClient (line 16) | public function getHttpClient(): HttpClientInterface; method getClient (line 18) | public function getClient(): HttpClientInterface; FILE: src/Pay/Contracts/Merchant.php type Merchant (line 10) | interface Merchant method getMerchantId (line 12) | public function getMerchantId(): int; method getPrivateKey (line 14) | public function getPrivateKey(): PrivateKey; method getSecretKey (line 16) | public function getSecretKey(): string; method getV2SecretKey (line 18) | public function getV2SecretKey(): ?string; method getCertificate (line 20) | public function getCertificate(): PublicKey; method getPlatformCert (line 22) | public function getPlatformCert(string $serial): ?PublicKey; method getPlatformCerts (line 27) | public function getPlatformCerts(): array; FILE: src/Pay/Contracts/ResponseValidator.php type ResponseValidator (line 10) | interface ResponseValidator method validate (line 12) | public function validate(ResponseInterface|Response $response): void; FILE: src/Pay/Contracts/Validator.php type Validator (line 9) | interface Validator method validate (line 11) | public function validate(MessageInterface $message): void; FILE: src/Pay/Exceptions/EncryptionFailureException.php class EncryptionFailureException (line 7) | class EncryptionFailureException extends RuntimeException FILE: src/Pay/Exceptions/InvalidSignatureException.php class InvalidSignatureException (line 7) | class InvalidSignatureException extends RuntimeException FILE: src/Pay/LegacySignature.php class LegacySignature (line 19) | class LegacySignature method __construct (line 21) | public function __construct(protected MerchantInterface $merchant) method sign (line 32) | public function sign(array $params): array FILE: src/Pay/Merchant.php class Merchant (line 16) | class Merchant implements MerchantInterface method __construct (line 26) | public function __construct( method getMerchantId (line 37) | public function getMerchantId(): int method getPrivateKey (line 42) | public function getPrivateKey(): PrivateKey method getCertificate (line 47) | public function getCertificate(): PublicKey method getSecretKey (line 52) | public function getSecretKey(): string method getV2SecretKey (line 57) | public function getV2SecretKey(): ?string method getPlatformCert (line 62) | public function getPlatformCert(string $serial): ?PublicKey method getPlatformCerts (line 67) | public function getPlatformCerts(): array method normalizePlatformCerts (line 78) | protected function normalizePlatformCerts(array $platformCerts): array FILE: src/Pay/Message.php class Message (line 14) | class Message extends \EasyWeChat\Kernel\Message method getOriginalAttributes (line 19) | public function getOriginalAttributes(): array method getEventType (line 29) | public function getEventType(): ?string FILE: src/Pay/ResponseValidator.php class ResponseValidator (line 12) | class ResponseValidator implements \EasyWeChat\Pay\Contracts\ResponseVal... method __construct (line 14) | public function __construct(protected MerchantInterface $merchant) method validate (line 21) | public function validate(PsrResponse|HttpClientResponse $response): void FILE: src/Pay/Server.php class Server (line 29) | class Server implements ServerInterface method __construct (line 34) | public function __construct( method serve (line 41) | public function serve(): ResponseInterface method handlePaid (line 120) | public function handlePaid(callable $handler): static method handleRefunded (line 185) | public function handleRefunded(callable $handler): static method getRequestMessage (line 198) | public function getRequestMessage(?ServerRequestInterface $request = n... method decodeXmlMessage (line 214) | protected function decodeXmlMessage(string $contents): array method decodeJsonMessage (line 256) | protected function decodeJsonMessage(string $contents): array method getDecryptedMessage (line 285) | public function getDecryptedMessage(?ServerRequestInterface $request =... FILE: src/Pay/Signature.php class Signature (line 23) | class Signature method __construct (line 25) | public function __construct(protected MerchantInterface $merchant) method createHeader (line 32) | public function createHeader(string $method, string $url, array $optio... FILE: src/Pay/URLSchemeBuilder.php class URLSchemeBuilder (line 12) | class URLSchemeBuilder method __construct (line 14) | public function __construct(protected MerchantInterface $merchant) method forProduct (line 18) | public function forProduct(string|int $productId, string $appId): string method forCodeUrl (line 33) | public function forCodeUrl(string $codeUrl): string FILE: src/Pay/Utils.php class Utils (line 20) | class Utils method __construct (line 22) | public function __construct(protected MerchantInterface $merchant) method buildBridgeConfig (line 29) | #[\JetBrains\PhpStorm\ArrayShape([ method buildSdkConfig (line 68) | #[\JetBrains\PhpStorm\ArrayShape([ method buildMiniAppConfig (line 91) | #[\JetBrains\PhpStorm\ArrayShape([ method buildAppConfig (line 107) | #[\JetBrains\PhpStorm\ArrayShape([ method createSignature (line 137) | protected function createSignature(string $message): string method encryptWithRsaPublicKey (line 155) | public function encryptWithRsaPublicKey(string $plaintext, ?string $se... method createV2Signature (line 176) | public function createV2Signature(array $params): string FILE: src/Pay/Validator.php class Validator (line 12) | class Validator implements \EasyWeChat\Pay\Contracts\Validator method __construct (line 24) | public function __construct(protected MerchantInterface $merchant) method validate (line 32) | public function validate(MessageInterface $message): void FILE: src/Work/AccessToken.php class AccessToken (line 22) | class AccessToken implements RefreshableAccessToken method __construct (line 28) | public function __construct( method getKey (line 39) | public function getKey(): string method setKey (line 44) | public function setKey(string $key): static method getToken (line 51) | public function getToken(): string method toQuery (line 65) | #[\JetBrains\PhpStorm\ArrayShape(['access_token' => 'string'])] method refresh (line 74) | public function refresh(): string FILE: src/Work/Account.php class Account (line 9) | class Account implements AccountInterface method __construct (line 11) | public function __construct( method getCorpId (line 19) | public function getCorpId(): string method getSecret (line 24) | public function getSecret(): string method getToken (line 29) | public function getToken(): string method getAesKey (line 34) | public function getAesKey(): string FILE: src/Work/Application.php class Application (line 24) | class Application implements ApplicationInterface method getAccount (line 43) | public function getAccount(): AccountInterface method setAccount (line 57) | public function setAccount(AccountInterface $account): static method getEncryptor (line 64) | public function getEncryptor(): Encryptor method setEncryptor (line 77) | public function setEncryptor(Encryptor $encryptor): static method getServer (line 84) | public function getServer(string $messageType = 'xml'): Server|ServerI... method setServer (line 97) | public function setServer(ServerInterface $server): static method getAccessToken (line 104) | public function getAccessToken(): AccessTokenInterface method setAccessToken (line 118) | public function setAccessToken(AccessTokenInterface $accessToken): static method getUtils (line 125) | public function getUtils(): Utils method createClient (line 130) | public function createClient(): AccessTokenAwareClient method getOAuth (line 140) | public function getOAuth(): SocialiteProviderInterface method getTicket (line 160) | public function getTicket(): JsApiTicket method setTicket (line 173) | public function setTicket(JsApiTicket $ticket): static method getHttpClientDefaultOptions (line 183) | protected function getHttpClientDefaultOptions(): array FILE: src/Work/Config.php class Config (line 7) | class Config extends \EasyWeChat\Kernel\Config FILE: src/Work/Contracts/Account.php type Account (line 7) | interface Account method getCorpId (line 9) | public function getCorpId(): string; method getSecret (line 11) | public function getSecret(): string; method getToken (line 13) | public function getToken(): string; method getAesKey (line 15) | public function getAesKey(): string; FILE: src/Work/Contracts/Application.php type Application (line 16) | interface Application method getAccount (line 18) | public function getAccount(): Account; method getEncryptor (line 20) | public function getEncryptor(): Encryptor; method getServer (line 22) | public function getServer(): Server; method getRequest (line 24) | public function getRequest(): ServerRequestInterface; method getClient (line 26) | public function getClient(): AccessTokenAwareClient; method getHttpClient (line 28) | public function getHttpClient(): HttpClientInterface; method getConfig (line 30) | public function getConfig(): Config; method getAccessToken (line 32) | public function getAccessToken(): AccessToken; method getCache (line 34) | public function getCache(): CacheInterface; FILE: src/Work/Encryptor.php class Encryptor (line 5) | class Encryptor extends \EasyWeChat\Kernel\Encryptor method __construct (line 7) | #[\JetBrains\PhpStorm\Pure] FILE: src/Work/JsApiTicket.php class JsApiTicket (line 18) | class JsApiTicket method __construct (line 24) | public function __construct( method createConfigSignature (line 37) | #[\JetBrains\PhpStorm\ArrayShape([ method getTicketSignature (line 55) | public function getTicketSignature(string $ticket, string $nonce, int ... method getTicket (line 63) | public function getTicket(): string method setKey (line 83) | public function setKey(string $key): static method getKey (line 90) | public function getKey(): string method createAgentConfigSignature (line 98) | #[\JetBrains\PhpStorm\ArrayShape([ method getAgentTicket (line 121) | public function getAgentTicket(int $agentId): string method getAgentKey (line 142) | public function getAgentKey(int $agentId): string FILE: src/Work/Message.php class Message (line 13) | class Message extends \EasyWeChat\Kernel\Message FILE: src/Work/Server.php class Server (line 20) | class Server implements ServerInterface method __construct (line 28) | public function __construct( method serve (line 36) | public function serve(): ResponseInterface method handleContactChanged (line 66) | public function handleContactChanged(callable $handler): static method handleUserTagUpdated (line 75) | public function handleUserTagUpdated(callable $handler): static method handleUserCreated (line 87) | public function handleUserCreated(callable $handler): static method handleUserUpdated (line 99) | public function handleUserUpdated(callable $handler): static method handleUserDeleted (line 111) | public function handleUserDeleted(callable $handler): static method handlePartyCreated (line 123) | public function handlePartyCreated(callable $handler): static method handlePartyUpdated (line 135) | public function handlePartyUpdated(callable $handler): static method handlePartyDeleted (line 147) | public function handlePartyDeleted(callable $handler): static method handleBatchJobsFinished (line 159) | public function handleBatchJobsFinished(callable $handler): static method addMessageListener (line 168) | public function addMessageListener(string $type, callable $handler): s... method addEventListener (line 179) | public function addEventListener(string $event, callable $handler): st... method validateUrl (line 190) | protected function validateUrl(): Closure method decryptRequestMessage (line 205) | protected function decryptRequestMessage(): Closure method getRequestMessage (line 222) | public function getRequestMessage(?ServerRequestInterface $request = n... method getDecryptedMessage (line 227) | public function getDecryptedMessage(?ServerRequestInterface $request =... FILE: src/Work/Utils.php class Utils (line 9) | class Utils method __construct (line 11) | public function __construct(protected Application $app) method buildJsSdkConfig (line 20) | public function buildJsSdkConfig( method buildJsSdkAgentConfig (line 38) | public function buildJsSdkAgentConfig( FILE: tests/Kernel/EncryptorTest.php class EncryptorTest (line 9) | class EncryptorTest extends TestCase method getEncryptor (line 11) | public function getEncryptor() method test_decrypt (line 16) | public function test_decrypt() method test_decrypt_with_error_signature (line 28) | public function test_decrypt_with_error_signature() method test_decrypt_with_error_received_id (line 36) | public function test_decrypt_with_error_received_id() method test_encrypt_and_decrypt (line 45) | public function test_encrypt_and_decrypt() method test_get_token (line 69) | public function test_get_token() FILE: tests/Kernel/HttpClient/AccessTokenAwareClientTest.php class AccessTokenAwareClientTest (line 11) | class AccessTokenAwareClientTest extends TestCase method test_full_uri_call (line 13) | public function test_full_uri_call() method test_shortcuts_call (line 30) | public function test_shortcuts_call() method test_it_will_auto_wrap_body (line 45) | public function test_it_will_auto_wrap_body() method test_it_will_apply_access_token_to_query (line 90) | public function test_it_will_apply_access_token_to_query() method test_it_will_merge_presets (line 112) | public function test_it_will_merge_presets() FILE: tests/Kernel/HttpClient/AccessTokenExpiredRetryStrategyTest.php class AccessTokenExpiredRetryStrategyTest (line 13) | class AccessTokenExpiredRetryStrategyTest extends TestCase method test_it_will_passthru_to_parent_retry_strategy (line 15) | public function test_it_will_passthru_to_parent_retry_strategy() method test_it_will_refresh_access_token_when_token_is_refreshable (line 28) | public function test_it_will_refresh_access_token_when_token_is_refres... method getContext (line 69) | private function getContext($retryCount, $method, $url, $statusCode): ... FILE: tests/Kernel/HttpClient/HttpClientMethodsTest.php class HttpClientMethodsTest (line 11) | class HttpClientMethodsTest extends TestCase method test_get (line 13) | public function test_get() method test_post (line 24) | public function test_post() method test_post_json (line 44) | public function test_post_json() method test_post_xml (line 61) | public function test_post_xml() method test_put (line 98) | public function test_put() method test_patch (line 108) | public function test_patch() method test_patch_json (line 118) | public function test_patch_json() method test_delete (line 129) | public function test_delete() class DummyHttpClient (line 139) | class DummyHttpClient method request (line 143) | public function request($method, $url, $options = []): ResponseInterface FILE: tests/Kernel/HttpClient/RequestUtilTest.php class RequestUtilTest (line 10) | class RequestUtilTest extends TestCase method test_merge_default_retry_options (line 12) | public function test_merge_default_retry_options() method test_format_default_options (line 30) | public function test_format_default_options() method test_format_options (line 50) | public function test_format_options() method test_format_xml_body (line 124) | public function test_format_xml_body() method test_format_json_body (line 147) | public function test_format_json_body() FILE: tests/Kernel/HttpClient/RequestWithPresetsTest.php class RequestWithPresetsTest (line 8) | class RequestWithPresetsTest extends TestCase method test_it_can_with_key_value (line 10) | public function test_it_can_with_key_value() method test_it_can_with_key_of_presets (line 46) | public function test_it_can_with_key_of_presets() method test_it_can_with_use_magic_call (line 68) | public function test_it_can_with_use_magic_call() method test_it_can_merge_to_options (line 96) | public function test_it_can_merge_to_options() method test_it_can_with_headers (line 207) | public function test_it_can_with_headers() class DummyClassForRequestWithPresetsTest (line 227) | class DummyClassForRequestWithPresetsTest method getPrependsParts (line 231) | public function getPrependsParts(): array method getPrependsHeaders (line 236) | public function getPrependsHeaders(): array method __call (line 241) | public function __call(string $name, array $arguments) FILE: tests/Kernel/HttpClient/ResponseTest.php class ResponseTest (line 12) | class ResponseTest extends TestCase method test_it_will_throw_if_body_is_empty (line 14) | public function test_it_will_throw_if_body_is_empty() method test_it_can_decode_xml (line 24) | public function test_it_can_decode_xml() method test_it_support_array_access (line 39) | public function test_it_support_array_access() method test_it_support_to_json (line 56) | public function test_it_support_to_json() method test_it_can_get_headers (line 69) | public function test_it_can_get_headers() method test_it_can_save_content_to_files (line 85) | public function test_it_can_save_content_to_files() method test_it_can_transform_to_data_url (line 113) | public function test_it_can_transform_to_data_url() method test_it_can_judge_failure_with_custom_callback (line 126) | public function test_it_can_judge_failure_with_custom_callback() method test_it_can_has_global_throw_settings (line 167) | public function test_it_can_has_global_throw_settings() FILE: tests/Kernel/HttpClient/RetryableClientTest.php class RetryableClientTest (line 15) | class RetryableClientTest extends TestCase method test_it_can_retry_with_default_config (line 17) | public function test_it_can_retry_with_default_config() method test_it_can_retry_with_custom_strategy (line 42) | public function test_it_can_retry_with_custom_strategy() class DummyClientForRetryableClientTest (line 73) | class DummyClientForRetryableClientTest implements HttpClientInterface method __construct (line 78) | public function __construct($response = null) method getClient (line 83) | public function getClient(): HttpClientInterface method __call (line 88) | public function __call(string $name, array $arguments) FILE: tests/Kernel/MessageTest.php class MessageTest (line 8) | class MessageTest extends TestCase method test_message (line 10) | public function test_message() method test_message_can_be_encode_as_json (line 17) | public function test_message_can_be_encode_as_json() FILE: tests/Kernel/ServerResponseTest.php class ServerResponseTest (line 9) | class ServerResponseTest extends TestCase method test_to_string (line 11) | public function test_to_string() method test_to_string_without_headers (line 21) | public function test_to_string_without_headers() method test_it_can_send_response (line 30) | public function test_it_can_send_response() FILE: tests/Kernel/Support/AesCbcTest.php class AesCbcTest (line 10) | class AesCbcTest extends TestCase method test_it_can_encrypt_and_decrypt (line 12) | public function test_it_can_encrypt_and_decrypt() FILE: tests/Kernel/Support/AesEcbTest.php class AesEcbTest (line 11) | class AesEcbTest extends TestCase method test_it_can_encrypt_and_decrypt (line 13) | public function test_it_can_encrypt_and_decrypt() FILE: tests/Kernel/Support/AesGcmTest.php class AesGcmTest (line 10) | class AesGcmTest extends TestCase method test_it_can_encrypt_and_decrypt (line 12) | public function test_it_can_encrypt_and_decrypt() FILE: tests/Kernel/Support/MessageParserTest.php class MessageParserTest (line 11) | class MessageParserTest extends TestCase method test_it_can_parse_json_content (line 13) | public function test_it_can_parse_json_content() method test_it_can_parse_json_with_whitespace (line 23) | public function test_it_can_parse_json_with_whitespace() method test_it_falls_back_to_xml_when_json_decode_fails (line 32) | public function test_it_falls_back_to_xml_when_json_decode_fails() method test_it_falls_back_to_xml_when_json_is_not_array (line 42) | public function test_it_falls_back_to_xml_when_json_is_not_array() method test_it_falls_back_to_xml_when_json_is_empty_array (line 50) | public function test_it_falls_back_to_xml_when_json_is_empty_array() method test_it_falls_back_to_xml_when_json_is_not_array_but_xml_is_valid (line 58) | public function test_it_falls_back_to_xml_when_json_is_not_array_but_x... method test_it_throws_exception_when_both_json_and_xml_fail (line 69) | public function test_it_throws_exception_when_both_json_and_xml_fail() method test_it_prioritizes_json_over_xml (line 77) | public function test_it_prioritizes_json_over_xml() method test_it_can_parse_xml_with_whitespace (line 88) | public function test_it_can_parse_xml_with_whitespace() FILE: tests/Kernel/Support/PrivateKeyTest.php class PrivateKeyTest (line 8) | class PrivateKeyTest extends TestCase method test_create_from_contents (line 10) | public function test_create_from_contents() method test_create_from_path (line 19) | public function test_create_from_path() FILE: tests/Kernel/Support/PublicKeyTest.php class PublicKeyTest (line 8) | class PublicKeyTest extends TestCase method test_create_from_contents (line 10) | public function test_create_from_contents() method test_create_from_path (line 18) | public function test_create_from_path() FILE: tests/Kernel/Support/UserAgentTest.php class UserAgentTest (line 11) | class UserAgentTest extends TestCase method test_it_can_generate_user_agent (line 13) | public function test_it_can_generate_user_agent() FILE: tests/Kernel/Traits/DecryptJsonMessageTest.php class DecryptJsonMessageTest (line 11) | class DecryptJsonMessageTest extends TestCase method test_it_can_decrypt_json_message (line 15) | public function test_it_can_decrypt_json_message(): void class JsonDummyMessage (line 66) | class JsonDummyMessage extends Message FILE: tests/Kernel/Traits/DecryptXmlMessageTest.php class DecryptXmlMessageTest (line 11) | class DecryptXmlMessageTest extends TestCase method test_it_can_decrypt_message (line 15) | public function test_it_can_decrypt_message() class DummyMessage (line 40) | class DummyMessage extends Message FILE: tests/Kernel/Traits/InteractWithCacheTest.php class InteractWithCacheTest (line 10) | class InteractWithCacheTest extends TestCase method test_get_and_set_cache (line 12) | public function test_get_and_set_cache() class DummyClassForInteractWithCacheTest (line 26) | class DummyClassForInteractWithCacheTest FILE: tests/Kernel/Traits/InteractWithClientTest.php class InteractWithClientTest (line 9) | class InteractWithClientTest extends TestCase method test_get_and_set_client (line 11) | public function test_get_and_set_client() class DummyClassForInteractWithClientTest (line 25) | class DummyClassForInteractWithClientTest method createClient (line 29) | public function createClient(): AccessTokenAwareClient FILE: tests/Kernel/Traits/InteractWithConfigTest.php class InteractWithConfigTest (line 9) | class InteractWithConfigTest extends TestCase method test_get_and_set_config (line 11) | public function test_get_and_set_config() class DummyClassForInteractWithConfigTest (line 25) | class DummyClassForInteractWithConfigTest FILE: tests/Kernel/Traits/InteractWithHandlersTest.php class InteractWithHandlersTest (line 10) | class InteractWithHandlersTest extends TestCase method test_it_has_callable_handlers (line 15) | public function test_it_has_callable_handlers() method test_it_has_closure_handlers (line 55) | public function test_it_has_closure_handlers() method test_it_has_class_based_handlers (line 73) | public function test_it_has_class_based_handlers() method test_it_will_run_by_sort (line 91) | public function test_it_will_run_by_sort() method test_it_can_push_with_conditions (line 121) | public function test_it_can_push_with_conditions() method test_it_can_handle_with_chain_handles (line 145) | public function test_it_can_handle_with_chain_handles() method test_it_can_handle_with_default_value (line 179) | public function test_it_can_handle_with_default_value() method test_it_can_prepend_handlers (line 215) | public function test_it_can_prepend_handlers() class DummyClassBasedHandler (line 247) | class DummyClassBasedHandler method __invoke (line 249) | public function __invoke($payload, \Closure $next) FILE: tests/Kernel/Traits/InteractWithHttpClientTest.php class InteractWithHttpClientTest (line 10) | class InteractWithHttpClientTest extends TestCase method test_get_and_set_http_client (line 12) | public function test_get_and_set_http_client() class DummyClassForInteractWithHttpClientTest (line 26) | class DummyClassForInteractWithHttpClientTest FILE: tests/Kernel/Traits/InteractWithServerRequestTest.php class InteractWithServerRequestTest (line 9) | class InteractWithServerRequestTest extends TestCase method test_get_and_set_request (line 11) | public function test_get_and_set_request() method test_it_can_set_request_from_symfony_request (line 24) | public function test_it_can_set_request_from_symfony_request() class DummyClassForInteractWithServerRequestTest (line 38) | class DummyClassForInteractWithServerRequestTest FILE: tests/Kernel/Traits/RespondXmlMessageTest.php class RespondXmlMessageTest (line 10) | class RespondXmlMessageTest extends TestCase method test_it_will_return_success_response (line 14) | public function test_it_will_return_success_response() method test_it_will_handle_array_response (line 22) | public function test_it_will_handle_array_response() method test_it_will_handle_string_response (line 40) | public function test_it_will_handle_string_response() method test_it_will_throw_when_response_type_error (line 56) | public function test_it_will_throw_when_response_type_error() FILE: tests/MiniApp/AccessTokenTest.php class AccessTokenTest (line 8) | class AccessTokenTest extends TestCase method test_it_will_use_mini_app_cache_prefix (line 10) | public function test_it_will_use_mini_app_cache_prefix() FILE: tests/MiniApp/ApplicationTest.php class ApplicationTest (line 20) | class ApplicationTest extends TestCase method test_get_and_set_account (line 22) | public function test_get_and_set_account() method test_get_and_set_encryptor (line 42) | public function test_get_and_set_encryptor() method test_get_and_set_server (line 62) | public function test_get_and_set_server() method test_get_and_set_access_token (line 82) | public function test_get_and_set_access_token() method test_get_utils (line 101) | public function test_get_utils() FILE: tests/MiniApp/DecryptorTest.php class DecryptorTest (line 9) | class DecryptorTest extends TestCase method test_it_can_decrypt_message (line 11) | public function test_it_can_decrypt_message() method test_it_will_throw_exception_when_payload_is_invalid (line 37) | public function test_it_will_throw_exception_when_payload_is_invalid() FILE: tests/MiniApp/UtilsTest.php class UtilsTest (line 12) | class UtilsTest extends TestCase method test_code_to_session (line 14) | public function test_code_to_session() method test_decrypt_session (line 41) | public function test_decrypt_session() method test_get_phone_number (line 91) | public function test_get_phone_number() method test_get_phone_number_with_error (line 130) | public function test_get_phone_number_with_error() FILE: tests/OfficialAccount/AccessTokenTest.php class AccessTokenTest (line 13) | class AccessTokenTest extends TestCase method test_get_token_from_http_request (line 15) | public function test_get_token_from_http_request() method test_get_token_from_cache (line 47) | public function test_get_token_from_cache() method test_set_key (line 70) | public function test_set_key() FILE: tests/OfficialAccount/AccountTest.php class AccountTest (line 12) | class AccountTest extends TestCase method test_application_can_create_account_instance (line 17) | public function test_application_can_create_account_instance() method test_set_account_to_application (line 33) | public function test_set_account_to_application() method test_get_account_app_id (line 72) | public function test_get_account_app_id() method test_get_account_secret (line 91) | public function test_get_account_secret() method test_get_account_token (line 110) | public function test_get_account_token() method test_get_account_aes_key (line 129) | public function test_get_account_aes_key() FILE: tests/OfficialAccount/ApplicationTest.php class ApplicationTest (line 22) | class ApplicationTest extends TestCase method test_get_and_set_account (line 24) | public function test_get_and_set_account() method test_get_and_set_encryptor (line 44) | public function test_get_and_set_encryptor() method test_get_and_set_server (line 64) | public function test_get_and_set_server() method test_get_and_set_access_token (line 84) | public function test_get_and_set_access_token() method test_get_client_without_http_config (line 104) | public function test_get_client_without_http_config() method test_get_and_set_ticket (line 131) | public function test_get_and_set_ticket() method test_get_utils (line 150) | public function test_get_utils() FILE: tests/OfficialAccount/ConfigTest.php class ConfigTest (line 13) | class ConfigTest extends TestCase method test_application_created_can_get_config (line 18) | public function test_application_created_can_get_config() method test_set_config_to_application (line 35) | public function test_set_config_to_application() method test_init_config_can_check_missing_keys (line 71) | public function test_init_config_can_check_missing_keys() FILE: tests/OfficialAccount/JsApiTicketTest.php class JsApiTicketTest (line 12) | class JsApiTicketTest extends TestCase method test_get_key (line 14) | public function test_get_key() method test_get_ticket (line 29) | public function test_get_ticket() method test_config_signature (line 59) | public function test_config_signature() FILE: tests/OfficialAccount/ServerTest.php class ServerTest (line 13) | class ServerTest extends TestCase method test_it_will_handle_validation_request (line 15) | public function test_it_will_handle_validation_request() method test_it_will_response_success_without_handlers (line 25) | public function test_it_will_response_success_without_handlers() method test_it_will_respond_from_message_handlers (line 43) | public function test_it_will_respond_from_message_handlers() method test_it_will_respond_from_event_handlers (line 77) | public function test_it_will_respond_from_event_handlers() method test_it_can_decrypt_json_mode_messages (line 112) | public function test_it_can_decrypt_json_mode_messages() FILE: tests/OfficialAccount/UtilsTest.php class UtilsTest (line 10) | class UtilsTest extends TestCase method test_build_js_sdk_config (line 12) | public function test_build_js_sdk_config() FILE: tests/OpenPlatform/AccountTest.php class AccountTest (line 10) | class AccountTest extends TestCase method test_application_can_create_account_instance (line 12) | public function test_application_can_create_account_instance() method test_set_account_to_application (line 29) | public function test_set_account_to_application() method test_get_account_app_id (line 63) | public function test_get_account_app_id() method test_get_account_secret (line 82) | public function test_get_account_secret() method test_get_account_token (line 101) | public function test_get_account_token() method test_get_account_aes_key (line 120) | public function test_get_account_aes_key() FILE: tests/OpenPlatform/ApplicationTest.php class ApplicationTest (line 29) | class ApplicationTest extends TestCase method test_get_and_set_account (line 31) | public function test_get_and_set_account() method test_get_and_set_encryptor (line 50) | public function test_get_and_set_encryptor() method test_get_and_set_server (line 72) | public function test_get_and_set_server() method test_get_and_set_component_access_token (line 93) | public function test_get_and_set_component_access_token() method test_get_and_set_verify_ticket (line 109) | public function test_get_and_set_verify_ticket() method test_get_authorization (line 126) | public function test_get_authorization() method test_get_authorization_exception (line 174) | public function test_get_authorization_exception() method test_refresh_authorizer_token (line 214) | public function test_refresh_authorizer_token() method test_refresh_authorizer_token_exception (line 267) | public function test_refresh_authorizer_token_exception() method test_get_oauth (line 310) | public function test_get_oauth() method test_get_official_account (line 322) | public function test_get_official_account() method test_get_mini_app (line 339) | public function test_get_mini_app() FILE: tests/OpenPlatform/AuthorizationTest.php class AuthorizationTest (line 9) | class AuthorizationTest extends TestCase method test_get_app_id (line 11) | public function test_get_app_id() method test_get_access_token (line 22) | public function test_get_access_token() method test_get_refresh_token (line 36) | public function test_get_refresh_token() FILE: tests/OpenPlatform/AuthorizerAccessTokenTest.php class AuthorizerAccessTokenTest (line 8) | class AuthorizerAccessTokenTest extends TestCase method test_get_app_id_and_token (line 10) | public function test_get_app_id_and_token() FILE: tests/OpenPlatform/ComponentAccessTokenTest.php class ComponentAccessTokenTest (line 12) | class ComponentAccessTokenTest extends TestCase method test_set_and_get_cache_key (line 14) | public function test_set_and_get_cache_key() method test_get_token_from_cache (line 24) | public function test_get_token_from_cache() method test_get_token_from_server (line 38) | public function test_get_token_from_server() FILE: tests/OpenPlatform/ServerTest.php class ServerTest (line 9) | class ServerTest extends TestCase method test_it_will_handle_authorized_event (line 11) | public function test_it_will_handle_authorized_event() method test_it_will_handle_unauthorized_event (line 37) | public function test_it_will_handle_unauthorized_event() method test_it_will_handle_authorize_updated_event (line 60) | public function test_it_will_handle_authorize_updated_event() method test_it_will_handle_verify_ticket_refresh_event (line 86) | public function test_it_will_handle_verify_ticket_refresh_event() FILE: tests/Pay/ApplicationTest.php class ApplicationTest (line 14) | class ApplicationTest extends TestCase method test_get_merchant (line 16) | public function test_get_merchant() method test_get_client (line 32) | public function test_get_client() method test_get_server (line 48) | public function test_get_server() method test_get_and_set_validator (line 64) | public function test_get_and_set_validator() FILE: tests/Pay/ClientTest.php class ClientTest (line 12) | class ClientTest extends TestCase method test_v3_request (line 14) | public function test_v3_request() method test_v2_request_with_array (line 32) | public function test_v2_request_with_array() method test_v2_request_without_body (line 52) | public function test_v2_request_without_body() method test_v2_request_with_xml_option (line 68) | public function test_v2_request_with_xml_option() method test_v2_request_with_xml_string (line 84) | public function test_v2_request_with_xml_string() method test_v2_request_with_xml_string_as_body (line 113) | public function test_v2_request_with_xml_string_as_body() method test_v2_request_appauth_getaccesstoken (line 129) | public function test_v2_request_appauth_getaccesstoken() method test_v3_upload_media (line 146) | public function test_v3_upload_media() method test_v3_with_serial_header (line 176) | public function test_v3_with_serial_header() FILE: tests/Pay/MerchantTest.php class MerchantTest (line 12) | class MerchantTest extends TestCase method test_construct (line 14) | public function test_construct() FILE: tests/Pay/ServerTest.php class ServerTest (line 24) | class ServerTest extends TestCase method test_it_will_handle_validation_request (line 26) | public function test_it_will_handle_validation_request() method test_legacy_encryped_by_aesecb_refund_request (line 47) | public function test_legacy_encryped_by_aesecb_refund_request() method test_legacy_encryped_by_aesgcm_notification_request (line 93) | public function test_legacy_encryped_by_aesgcm_notification_request() FILE: tests/Pay/UtilsTest.php class UtilsTest (line 15) | class UtilsTest extends TestCase method test_create_v2_signature (line 39) | public function test_create_v2_signature() method test_encrypt_with_rsa_public_key (line 60) | public function test_encrypt_with_rsa_public_key() FILE: tests/TestCase.php class TestCase (line 12) | class TestCase extends BaseTestCase method tearDown (line 17) | protected function tearDown(): void method createEncryptedXmlMessageRequest (line 26) | public function createEncryptedXmlMessageRequest($plainMessageXml, Enc... FILE: tests/Work/AccessTokenTest.php class AccessTokenTest (line 13) | class AccessTokenTest extends TestCase method test_get_token_from_http_request (line 15) | public function test_get_token_from_http_request() method test_get_token_from_cache (line 46) | public function test_get_token_from_cache() method test_set_key (line 69) | public function test_set_key() FILE: tests/Work/AccountTest.php class AccountTest (line 12) | class AccountTest extends TestCase method test_application_created_can_get_account (line 17) | public function test_application_created_can_get_account() method test_set_account_to_application (line 35) | public function test_set_account_to_application() method test_get_account_corp_id (line 69) | public function test_get_account_corp_id() method test_get_account_secret (line 88) | public function test_get_account_secret() method test_get_account_token (line 107) | public function test_get_account_token() method test_get_account_aes_key (line 126) | public function test_get_account_aes_key() FILE: tests/Work/ApplicationTest.php class ApplicationTest (line 28) | class ApplicationTest extends TestCase method test_get_and_set_account (line 30) | public function test_get_and_set_account() method test_get_and_set_encryptor (line 51) | public function test_get_and_set_encryptor() method test_get_and_set_request (line 71) | public function test_get_and_set_request() method test_get_and_set_server (line 91) | public function test_get_and_set_server() method test_get_and_set_client (line 114) | public function test_get_and_set_client() method test_get_and_set_http_client (line 134) | public function test_get_and_set_http_client() method test_get_and_set_access_token (line 154) | public function test_get_and_set_access_token() method test_get_and_set_cache (line 174) | public function test_get_and_set_cache() method test_get_and_set_config (line 194) | public function test_get_and_set_config() method test_get_and_set_ticket (line 221) | public function test_get_and_set_ticket() method test_get_utils (line 241) | public function test_get_utils() method test_get_oauth (line 256) | public function test_get_oauth() FILE: tests/Work/ConfigTest.php class ConfigTest (line 13) | class ConfigTest extends TestCase method test_application_created_can_get_config (line 18) | public function test_application_created_can_get_config() method test_set_config_to_application (line 35) | public function test_set_config_to_application() method test_init_config_can_check_missing_keys (line 72) | public function test_init_config_can_check_missing_keys() FILE: tests/Work/JsApiTicketTest.php class JsApiTicketTest (line 11) | class JsApiTicketTest extends TestCase method test_get_key (line 13) | public function test_get_key() method test_get_agent_key (line 28) | public function test_get_agent_key() method test_get_ticket (line 43) | public function test_get_ticket() method test_get_agent_ticket (line 73) | public function test_get_agent_ticket() method test_config_signature (line 104) | public function test_config_signature() method test_agent_config_signature (line 129) | public function test_agent_config_signature() method test_get_ticket_signature (line 155) | public function test_get_ticket_signature() FILE: tests/Work/ServerTest.php class ServerTest (line 13) | class ServerTest extends TestCase method test_it_will_handle_validation_request (line 17) | public function test_it_will_handle_validation_request() method test_it_will_validate_message (line 40) | public function test_it_will_validate_message() method test_it_will_response_success_without_handlers (line 68) | public function test_it_will_response_success_without_handlers() method test_it_will_respond_from_message_handlers (line 96) | public function test_it_will_respond_from_message_handlers() method test_it_will_respond_from_event_handlers (line 142) | public function test_it_will_respond_from_event_handlers() FILE: tests/Work/UtilsTest.php class UtilsTest (line 10) | class UtilsTest extends TestCase method test_build_js_sdk_config (line 12) | public function test_build_js_sdk_config() method test_build_js_sdk_agent_config (line 47) | public function test_build_js_sdk_agent_config()