Skip to content

Commit 2d7b6c5

Browse files
authored
Merge pull request #90 from punktDeForks/feature/improve-credential-representation
FEATURE: Add additional values to credential representation
2 parents c5dcbe6 + 544fa47 commit 2d7b6c5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/Representation/Credential.php

+21
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
* @method string|null getType()
1515
* @method string|null getUserLabel()
1616
* @method string|null getValue()
17+
* @method string|null getDevice()
18+
* @method string|null getSalt()
19+
* @method int|null getHashIterations()
20+
* @method string|null getAlgorithm()
21+
* @method int|null getCounter()
22+
* @method int|null getDigits()
23+
* @method int|null getPeriod()
1724
* @method self withCreatedDate(?int $createdDate)
1825
* @method self withCredentialData(?string $credentialData)
1926
* @method self withId(?string $id)
@@ -23,6 +30,13 @@
2330
* @method self withType(?string $type)
2431
* @method self withUserLabel(?string $userLabel)
2532
* @method self withValue(?string $value)
33+
* @method self withDevice(?string $device)
34+
* @method self withSalt(?string $salt)
35+
* @method self withHashIterations(?int $value)
36+
* @method self withAlgorithm(?string $value)
37+
* @method self withCounter(?string $counter)
38+
* @method self withDigits(?string $digits)
39+
* @method self withPeriod(?string $period)
2640
*
2741
* @codeCoverageIgnore
2842
*/
@@ -38,6 +52,13 @@ public function __construct(
3852
protected ?string $type = null,
3953
protected ?string $userLabel = null,
4054
protected ?string $value = null,
55+
protected ?string $device = null,
56+
protected ?string $salt = null,
57+
protected ?int $hashIterations = null,
58+
protected ?string $algorithm = null,
59+
protected ?int $counter = null,
60+
protected ?int $digits = null,
61+
protected ?int $period = null,
4162
) {
4263
}
4364
}

0 commit comments

Comments
 (0)