Skip to content

Commit bcb80c1

Browse files
committed
Generated
1 parent 23b0675 commit bcb80c1

7 files changed

Lines changed: 192 additions & 1 deletion

File tree

build/v1.changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,13 @@
1414
- VerifySetPasswordLink
1515
- Webhook
1616

17+
####Build Process @ 2020-09-17 10:10:09
18+
####New Classes
19+
- ChangeEmailLink
20+
- EmailUpdate
21+
- PasswordUpdate
22+
- ProfileUpdate
23+
####Updated Classes
24+
- LoginLink
25+
- Webhook
26+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
namespace Fident\Webhooks\Generated\V1;
3+
4+
use Fident\Webhooks\WebhookFoundation;
5+
6+
/**
7+
* A link to update the address on the users account
8+
*/
9+
class ChangeEmailLink extends WebhookFoundation
10+
{
11+
/**
12+
* ID for the identity of this action
13+
*
14+
* @var string
15+
*/
16+
public $identity;
17+
18+
/**
19+
* IP address of where the request for this action originated
20+
*
21+
* @var string
22+
*/
23+
public $ipAddress;
24+
25+
/**
26+
* Useragent from where the request for this action originated
27+
*
28+
* @var string
29+
*/
30+
public $useragent;
31+
32+
/**
33+
* The accounts updated address and recipient of the change link
34+
*
35+
* @var string
36+
*/
37+
public $emailAddress;
38+
39+
/**
40+
* The link that once clicked will confirm the accounts new address
41+
*
42+
* @var string
43+
*/
44+
public $changeEmailLink;
45+
46+
}

src/Generated/V1/EmailUpdate.php

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
namespace Fident\Webhooks\Generated\V1;
3+
4+
use Fident\Webhooks\WebhookFoundation;
5+
6+
/**
7+
* A notification indicating that the email address for an identity has been updated
8+
*/
9+
class EmailUpdate extends WebhookFoundation
10+
{
11+
/**
12+
* ID for the identity of this action
13+
*
14+
* @var string
15+
*/
16+
public $identity;
17+
18+
/**
19+
* IP address of where the request for this action originated
20+
*
21+
* @var string
22+
*/
23+
public $ipAddress;
24+
25+
/**
26+
* Useragent from where the request for this action originated
27+
*
28+
* @var string
29+
*/
30+
public $useragent;
31+
32+
/**
33+
* The updated email address for the identity
34+
*
35+
* @var string
36+
*/
37+
public $emailAddress;
38+
39+
}

src/Generated/V1/LoginLink.php

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,26 @@
99
class LoginLink extends WebhookFoundation
1010
{
1111
/**
12-
* ID for the identity requesting a login link
12+
* ID for the identity of this action
1313
*
1414
* @var string
1515
*/
1616
public $identity;
1717

18+
/**
19+
* IP address of where the request for this action originated
20+
*
21+
* @var string
22+
*/
23+
public $ipAddress;
24+
25+
/**
26+
* Useragent from where the request for this action originated
27+
*
28+
* @var string
29+
*/
30+
public $useragent;
31+
1832
/**
1933
* Link for the user to click to login to their account (Single Use)
2034
*
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
namespace Fident\Webhooks\Generated\V1;
3+
4+
use Fident\Webhooks\WebhookFoundation;
5+
6+
/**
7+
* A notification indicating that the password for an identity has been updated
8+
*/
9+
class PasswordUpdate extends WebhookFoundation
10+
{
11+
/**
12+
* ID for the identity of this action
13+
*
14+
* @var string
15+
*/
16+
public $identity;
17+
18+
/**
19+
* IP address of where the request for this action originated
20+
*
21+
* @var string
22+
*/
23+
public $ipAddress;
24+
25+
/**
26+
* Useragent from where the request for this action originated
27+
*
28+
* @var string
29+
*/
30+
public $useragent;
31+
32+
}

src/Generated/V1/ProfileUpdate.php

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?php
2+
namespace Fident\Webhooks\Generated\V1;
3+
4+
use Fident\Webhooks\WebhookFoundation;
5+
6+
/**
7+
* A notification indicating that the profile for an identity has been updated
8+
*/
9+
class ProfileUpdate extends WebhookFoundation
10+
{
11+
/**
12+
* ID for the identity of this action
13+
*
14+
* @var string
15+
*/
16+
public $identity;
17+
18+
/**
19+
* IP address of where the request for this action originated
20+
*
21+
* @var string
22+
*/
23+
public $ipAddress;
24+
25+
/**
26+
* Useragent from where the request for this action originated
27+
*
28+
* @var string
29+
*/
30+
public $useragent;
31+
32+
/**
33+
* The updated first name for the identity
34+
*
35+
* @var string
36+
*/
37+
public $firstName;
38+
39+
/**
40+
* The updated last name for the identity
41+
*
42+
* @var string
43+
*/
44+
public $lastName;
45+
46+
}

src/Generated/V1/Webhook.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ class Webhook extends WebhookFoundation
1515
const TYPE_LOGIN_LINK = "loginLink";
1616
const TYPE_RESET_PASSWORD_LINK = "resetPasswordLink";
1717
const TYPE_VERIFY_SET_PASSWORD_LINK = "verifySetPasswordLink";
18+
const TYPE_CHANGE_EMAIL_LINK = "changeEmailLink";
1819
const TYPE_VERIFY_ACCOUNT = "verifyAccount";
20+
const TYPE_PROFILE_UPDATE = "profileUpdate";
21+
const TYPE_PASSWORD_UPDATE = "passwordUpdate";
22+
const TYPE_EMAIL_UPDATE = "emailUpdate";
1923
/**
2024
* Notification type
2125
*

0 commit comments

Comments
 (0)