antoinelemaire / sqreen-php-client
PHP 的 Sqreen 库
1.0.0
2019-01-17 15:38 UTC
Requires
- guzzlehttp/guzzle: ^6.3
- psr/http-message: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.14
This package is auto-updated.
Last update: 2024-09-19 03:07:21 UTC
README
使用说明
<?php use Sqreen\SqreenClient; $client = new SqreenClient( '1234567890123456789012', // applicationId 'login@example.org', // email 'my_beautiful_password!' // password ); // Get Security Response events $events = $client->application->getSecurityResponse(); // Stop a Security Response $securityResponseId = 'NWJlMTk2ZDdmM2Y1ZmEwMDE1MTMwMTRhOjVjM2UwZjIzMjlmMTcwMDAxZWM3NTM5MDo1YzNmNjQwNDUJyksICgnaWQnLCAnMzAzMzE3OCcpXSk6YmFjYTJiMmMxOWIwMTFlOWFlM2IwMjQyYWMxMTAwMDM'; $events = $client->application->deleteSecurityResponse($securityResponseId); ?>