/home/kueuepay/public_html/vendor/lcobucci/jwt/src/Validation/Constraint/SignedWith.php
<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Validation\Constraint;

use Lcobucci\JWT\Signer;
use Lcobucci\JWT\Token;
use Lcobucci\JWT\Validation\Constraint;
use Lcobucci\JWT\Validation\ConstraintViolation;

final class SignedWith implements Constraint
{
    private Signer $signer;
    private Signer\Key $key;

    public function __construct(Signer $signer, Signer\Key $key)
    {
        $this->signer = $signer;
        $this->key    = $key;
    }

    public function assert(Token $token): void
    {
        if (! $token instanceof Token\Plain) {
            throw new ConstraintViolation('You should pass a plain token');
        }

        if ($token->headers()->get('alg') !== $this->signer->algorithmId()) {
            throw new ConstraintViolation('Token signer mismatch');
        }

        if (! $this->signer->verify($token->signature()->hash(), $token->payload(), $this->key)) {
            throw new ConstraintViolation('Token signature mismatch');
        }
    }
}
Transfer Money
top

Effortless and Secure Money Transfers

Our transfer system provides a seamless and secure way to move your funds. Enjoy a straightforward process with top-notch security features, ensuring that sending money to friends, family, or businesses is both quick and worry-free. Experience smooth transactions with confidence, knowing that your security is our highest priority.

  • Access the Transfer Section: Open the transfer section on our website or app.
  • Choose a Recipient: Select the recipient from your contacts or manually enter their details.
  • Enter the Amount: Specify the amount you want to transfer.
  • Authorize the Transfer: Confirm the transaction using your PIN or biometric authentication.
  • Receive Confirmation: Get a confirmation message indicating that your transfer was successful.
img