forked from klevu/php-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccountCredentials.php
More file actions
29 lines (25 loc) · 845 Bytes
/
AccountCredentials.php
File metadata and controls
29 lines (25 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* Copyright © Klevu Oy. All rights reserved. See LICENSE.txt for license details.
*/
declare(strict_types=1);
namespace Klevu\PhpSDK\Model;
/**
* Immutable object used to provide access credentials when invoking API service classes
*
* @link https://help.klevu.com/support/solutions/articles/5000876417-how-to-retrieve-store-specific-api-keys--js-template-version-and-end-points-for-product-sync--querying-indexed-data-and-submitting-analytics-events-
* @api
* @since 1.0.0
*/
class AccountCredentials
{
/**
* @param string $jsApiKey The JS API Key, in the format klevu-xxxxxxxxxx
* @param string $restAuthKey The REST AUTH Key; used for server-side communication
*/
public function __construct(
public readonly string $jsApiKey,
public readonly string $restAuthKey,
) {
}
}