oauth client
/oauth/members/{member}/clients/{client} [GET]
API Support | Available since | Last updated | Output |
---|---|---|---|
5.8900 | 5.9500 | xml, json |
Description
Returns information about an OAuth client.
Parameters
No parameters required.
Permission
Members can only get their own OAuth clients.
Administrators can get any client.
Response
This service returns a <client> element.
<client id="1" identifier="2aa92c5a79baf3fe" requires-consent="false" confidential="false" name="My app" grant-type="authorization_code" [created="2020-03-08T12:34:00+10:00"] [modified="2020-03-10T11:24:00+10:00"] [last-token="2020-05-10T10:28:00+10:00"] [app="Timesheet"] [webhook-secret="S0meP@ssw0d"] [redirect-uri="http://example.org/login"] [description="My example timesheet"] [client-uri="http://example.org"] [scope="openid profile email"] access-token-max-age="7200" refresh-token-max-age="0"> <member id="45" ...> <fullname>John Smith</fullname> </member> </client>
Error Handling
HTTP code | Condition |
---|---|
403 | The client is not owned by the member |
404 | Unable to find client |