We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c39c87 + bb7daf5 commit ddd1c43Copy full SHA for ddd1c43
lib/DiscourseAPI.php
@@ -230,6 +230,18 @@ function getUserByUsername($userName)
230
{
231
return $this->_getRequest("/users/{$userName}.json");
232
}
233
+
234
+ /**
235
+ * getUserByExternalID
236
+ *
237
+ * @param string $externalID external id of sso user
238
239
+ * @return mixed HTTP return code and API return object
240
+ */
241
+ function getUserByExternalID($externalID)
242
+ {
243
+ return $this->_getRequest("/users/by-external/{$externalID}.json");
244
+ }
245
246
/**
247
* createCategory
0 commit comments