yield 'client_credentials grant type with incorrect clientIdentifier' => ['client_credentials', 'SWUAJOHNDOE', 'shopware', false];
yield 'client_credentials grant type with correct clientIdentifier' => ['client_credentials', 'SWUAADMIN', 'shopware', true];
}
/**
* @return iterable<string, array<mixed>>
*/
public static function getClientEntityDataProvider(): iterable
{
yield 'null clientIdentifier' => [null, null];
yield 'bool clientIdentifier' => [false, null];
yield 'user origin clientIdentifier' => ['SWUAUSERCORRECT', new ApiClient('SWUAUSERCORRECT', true, 'foo')];
yield 'user origin clientIdentifier invalid' => ['SWUAUSERINVALID', null];
yield 'integration origin clientIdentifier' => ['SWIAINTEGRATION', new ApiClient('SWIAINTEGRATION', true, 'foo')];
yield 'integration origin clientIdentifier invalid' => ['SWIAINTEGRATIONINVALID', null];
yield 'integration origin clientIdentifier inactive' => ['SWIAINTEGRATIONINACTIVE', null];
yield 'sales channel origin clientIdentifier' => ['SWSCSALESCHANNEL', null];
yield 'administration clientIdentifier' => ['administration', new ApiClient('administration', true)];
}
}