<?php
declare(strict_types=1);
* Copyright (c) 2021-2026 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/notify
*/
namespace Guanguans\Notify\Pushover;
use Guanguans\Notify\Foundation\Authenticators\OptionsAuthenticator;
use GuzzleHttp\RequestOptions;
* @api
*/
class Authenticator extends OptionsAuthenticator
{
public function __construct(
string $user,
#[\SensitiveParameter]
string $token
) {
parent::__construct([RequestOptions::QUERY => ['user' => $user, 'token' => $token]]);
}
}