D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
modules
/
wp-toolkit
/
vendor
/
lcobucci
/
jwt
/
src
/
Signer
/
Filename :
InvalidKeyProvided.php
back
Copy
<?php declare (strict_types=1); namespace WPToolkitDependenciesIsolationPrefix\Lcobucci\JWT\Signer; use InvalidArgumentException; use WPToolkitDependenciesIsolationPrefix\Lcobucci\JWT\Exception; final class InvalidKeyProvided extends InvalidArgumentException implements Exception { public static function cannotBeParsed(string $details) : self { return new self('It was not possible to parse your key, reason: ' . $details); } public static function incompatibleKey() : self { return new self('This key is not compatible with this signer'); } }