(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;
$sdk = Backend\ClerkBackend::builder()
->setSecurity(
'<YOUR_BEARER_TOKEN_HERE>'
)
->build();
$response = $sdk->jwks->get(
);
if ($response->wellKnownJWKS !== null) {
// handle response
}
Error Type | Status Code | Content Type |
---|---|---|
Errors\SDKException | 4XX, 5XX | */* |