-
-
Notifications
You must be signed in to change notification settings - Fork 453
Expand file tree
/
Copy pathServiceAccount.php
More file actions
41 lines (37 loc) · 1.3 KB
/
ServiceAccount.php
File metadata and controls
41 lines (37 loc) · 1.3 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
<?php
declare(strict_types=1);
namespace Kreait\Firebase;
use SensitiveParameter;
/**
* @internal
*/
final class ServiceAccount
{
public function __construct(
/** @var non-empty-string */
public string $type,
/** @var non-empty-string */
#[SensitiveParameter] public string $projectId,
/** @var non-empty-string */
#[SensitiveParameter] public string $clientEmail,
/** @var non-empty-string */
#[SensitiveParameter] public string $clientId,
/** @var non-empty-string */
#[SensitiveParameter] public string $privateKey,
/** @var non-empty-string */
#[SensitiveParameter] public string $privateKeyId,
/** @var non-empty-string */
#[SensitiveParameter] public string $authUri,
/** @var non-empty-string */
#[SensitiveParameter] public string $tokenUri,
/** @var non-empty-string */
#[SensitiveParameter] public string $authProviderX509CertUrl,
/** @var non-empty-string */
#[SensitiveParameter] public string $clientX509CertUrl,
/** @var non-empty-string|null */
#[SensitiveParameter] public ?string $quotaProjectId = null,
/** @var non-empty-string|null */
#[SensitiveParameter] public ?string $universeDomain = null,
) {
}
}