You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/LaunchDarkly/LDUser.php
+21-11Lines changed: 21 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -16,21 +16,23 @@ class LDUser {
16
16
protected$_avatar = null;
17
17
protected$_firstName = null;
18
18
protected$_lastName = null;
19
+
protected$_anonyomus = false;
19
20
protected$_custom = [];
20
21
21
22
/**
22
-
* @param string $key Unique key for the user. For authenticated users, this may be a username or e-mail address. For anonymous users, this could be an IP address or session ID.
23
-
* @param string|null $secondary An optional secondary identifier
24
-
* @param string|null $ip The user's IP address (optional)
25
-
* @param string|null $country The user's country, as an ISO 3166-1 alpha-2 code (e.g. 'US') (optional)
26
-
* @param string|null $email The user's e-mail address (optional)
27
-
* @param string|null $name The user's full name (optional)
28
-
* @param string|null $avatar A URL pointing to the user's avatar image (optional)
29
-
* @param string|null $firstName The user's first name (optional)
30
-
* @param string|null $lastName The user's last name (optional)
31
-
* @param array|null $custom Other custom attributes that can be used to create custom rules
23
+
* @param string $key Unique key for the user. For authenticated users, this may be a username or e-mail address. For anonymous users, this could be an IP address or session ID.
24
+
* @param string|null $secondary An optional secondary identifier
25
+
* @param string|null $ip The user's IP address (optional)
26
+
* @param string|null $country The user's country, as an ISO 3166-1 alpha-2 code (e.g. 'US') (optional)
27
+
* @param string|null $email The user's e-mail address (optional)
28
+
* @param string|null $name The user's full name (optional)
29
+
* @param string|null $avatar A URL pointing to the user's avatar image (optional)
30
+
* @param string|null $firstName The user's first name (optional)
31
+
* @param string|null $lastName The user's last name (optional)
32
+
* @param boolean|null $anonymous Whether this is an anonymous user
33
+
* @param array|null $custom Other custom attributes that can be used to create custom rules
0 commit comments