|
1 | 1 | module Auth0 |
2 | 2 | module Api |
3 | 3 | module V2 |
4 | | - # Methods to use the users endpoints |
| 4 | + # Methods to use the users' endpoints |
5 | 5 | module Users |
6 | 6 | include Auth0::Mixins::Validation |
7 | 7 |
|
@@ -94,10 +94,10 @@ def delete_user(user_id) |
94 | 94 | # Some considerations: |
95 | 95 | # The properties of the new object will replace the old ones. |
96 | 96 | # The metadata fields are an exception to this rule (user_metadata and app_metadata). These properties are |
97 | | - # merged instead of being replaced but be careful, the merge only occurs on the first level. |
| 97 | + # merged instead of being replaced, but be careful, the merge only occurs on the first level. |
98 | 98 | # If you are updating email_verified, phone_verified, username or password you need to specify the connection |
99 | 99 | # property too. |
100 | | - # If your are updating email or phone_number you need to specify the connection and the client_id properties. |
| 100 | + # If you are updating email or phone_number you need to specify the connection and the client_id properties. |
101 | 101 | # @see https://auth0.com/docs/api/v2#!/Users/patch_users_by_id |
102 | 102 | # @param user_id [string] The user_id of the user to update. |
103 | 103 | # @param body [hash] The optional parameters to update. |
@@ -137,7 +137,7 @@ def delete_user_provider(user_id, provider_name) |
137 | 137 | # update:current_user_identities scope. In this case only the link_with param is required in the body, |
138 | 138 | # containing the JWT obtained upon the secondary account's authentication. |
139 | 139 | # 2. With an API V2 generated token with update:users scope. In this case you need to send provider and user_id |
140 | | - # in the body. Optionally you can also send the connection_id param which is suitable for identifying a |
| 140 | + # in the body. Optionally, you can also send the connection_id param, which is suitable for identifying a |
141 | 141 | # particular database connection for the 'auth0' provider. |
142 | 142 | # @see https://auth0.com/docs/api/v2#!/Users/post_identities |
143 | 143 | # @param user_id [string] The user_id of the primary identity where you are linking the secondary account to. |
|
0 commit comments