File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 99class 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 *
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff 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 *
You can’t perform that action at this time.
0 commit comments