To create an actor token with the sdk like so:
use Clerk\Backend\Models\Operations\Actor;
use Clerk\Backend\Models\Operations\CreateActorTokenRequestBody;
$actor = new Actor();
$sdk->actorTokens->create(new CreateActorTokenRequestBody(
userId: '...',
actor: $actor
));
The Clerk\Backend\Models\Operations\Actor is has no properties so there is no way to set the sub which is required, and ideally you should be able to add additional data.
To create an actor token with the sdk like so:
The
Clerk\Backend\Models\Operations\Actoris has no properties so there is no way to set thesubwhich is required, and ideally you should be able to add additional data.