(jwks)
- get - Retrieve the JSON Web Key Set of the instance
Retrieve the JSON Web Key Set of the instance
declare(strict_types=1);
require 'vendor/autoload.php';
use Clerk\Backend;
$security = '<YOUR_BEARER_TOKEN_HERE>';
$sdk = Backend\ClerkBackend::builder()->setSecurity($security)->build();
$response = $sdk->jwks->get(
);
if ($response->wellKnownJWKS !== null) {
// handle response
}
Error Type | Status Code | Content Type |
---|---|---|
Errors\SDKException | 4XX, 5XX | */* |