File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -150,11 +150,18 @@ The facade **\Oauth2** provides all helpers needed to get and post data from the
150150@return array With the data of user owner of document given
151151```
152152
153+ ``` php
154+ @method \Oauth2::getUsersByCpf(array $cpf): array
155+ @api POST '/api/{version}/user/search/cpf'
156+
157+ @return array With the data of user owner of document given: limit array size to 100 items
158+ ```
159+
153160``` php
154161@method \Oauth2::searchUserByName(string $name): array
155162@api POST '/api/{version}/user/name'
156163
157- @return array With the data of user owner of document given
164+ @return array With the data of users owner of document given
158165```
159166
160167``` php
Original file line number Diff line number Diff line change @@ -106,6 +106,19 @@ public static function getUserByCpf(string $cpf)
106106 return self ::getResponse ('user/cpf ' , ['cpf ' => $ cpf ]);
107107 }
108108
109+ /**
110+ * @api POST '/api/{version}/user/search/cpf'
111+ *
112+ * @param array $cpf
113+ * limit array size to 100 items
114+ *
115+ * @return array With the data of users owner of document given
116+ */
117+ public static function getUsersByCpf (array $ cpf )
118+ {
119+ return self ::getResponse ('user/search/cpf ' , ['cpf ' => $ cpf ]);
120+ }
121+
109122 /**
110123 * @api POST '/api/{version}/user/name'
111124 *
Original file line number Diff line number Diff line change 22 "name" : " univicosa/laravel-openid-client" ,
33 "license" : " MIT" ,
44 "description" : " OpenId client for the Univiçosa authenticated projects." ,
5- "version" : " 1.0.11 " ,
5+ "version" : " 1.0.12 " ,
66 "authors" : [
77 {
88 "name" : " Felipe da Silva Pinheiro" ,
You can’t perform that action at this time.
0 commit comments