File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,13 @@ 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::searchUserByName(string $name): array
155+ @api POST '/api/{version}/user/name'
156+
157+ @return array With the data of user owner of document given
158+ ```
159+
153160``` php
154161@method \Oauth2::getUserSystems(): array
155162@api GET '/api/{version}/user/systems'
Original file line number Diff line number Diff line change @@ -106,6 +106,18 @@ public static function getUserByCpf(string $cpf)
106106 return self ::getResponse ('user/cpf ' , ['cpf ' => $ cpf ]);
107107 }
108108
109+ /**
110+ * @api POST '/api/{version}/user/name'
111+ *
112+ * @param string $name
113+ *
114+ * @return array With the data of user owner of document given
115+ */
116+ public static function searchUserByName (string $ name ): array
117+ {
118+ return self ::getResponse ('user/name ' , ['name ' => $ name ]);
119+ }
120+
109121 /**
110122 * @api GET '/api/{version}/user/systems'
111123 *
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.10 " ,
5+ "version" : " 1.0.11 " ,
66 "authors" : [
77 {
88 "name" : " Felipe da Silva Pinheiro" ,
You can’t perform that action at this time.
0 commit comments