hydrateAccessToken example


    public function getAccessToken($shopwareId$password)
    {
        $response = $this->doPostRequest(
            '/accesstokens',
            [
                'shopwareId' => $shopwareId,
                'password' => $password,
            ]
        );

        return $this->structHydrator->hydrateAccessToken($response$shopwareId);
    }

    /** * @param string $resource * @param array<string, mixed> $params * @param array<string, string> $headers * * @throws Exception * * @return array<string, mixed> */
    
Home | Imprint | This part of the site doesn't use cookies.