Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 877 Bytes

README.md

File metadata and controls

46 lines (26 loc) · 877 Bytes

TestingTokens

(testingTokens)

Overview

Available Operations

  • create - Retrieve a new testing token

create

Retrieve a new testing token. Only available for development instances.

Example Usage

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->testingTokens->create(

);

if ($response->testingToken !== null) {
    // handle response
}

Response

?Operations\CreateTestingTokenResponse

Errors

Error Type Status Code Content Type
Errors\SDKException 4XX, 5XX */*