AdminOAuthClientService
Chatto exposes this service below /api/connect.
Shared message and enum definitions are documented in Shared Types And Enums.
AdminOAuthClientService
Section titled “AdminOAuthClientService”Manages OAuth clients authorized through this server. Requires server.manage.
ListOAuthClients
Section titled “ListOAuthClients”Lists clients that completed at least one authorization. Requires server.manage.
POST /api/connect/chatto.admin.v1.AdminOAuthClientService/ListOAuthClientsInput: ListOAuthClientsRequest
Section titled “Input: ListOAuthClientsRequest”Lists OAuth clients with recorded authorizations using offset pagination. Results use first authorization order, oldest first.
| Field | Type | Description |
|---|---|---|
page | chatto.api.v1.PageRequest | Defaults to 20 results when absent or limit is zero. Maximum: 100. |
Result: ListOAuthClientsResponse
Section titled “Result: ListOAuthClientsResponse”One page of OAuth clients in stable first-authorization order.
| Field | Type | Description |
|---|---|---|
oauth_clients | repeated OAuthClient | Clients visible to the caller in this page. |
page | chatto.api.v1.PageInfo | Total count and whether another page is available. |
GetOAuthClient
Section titled “GetOAuthClient”Gets one recorded client or returns NOT_FOUND. Requires server.manage.
POST /api/connect/chatto.admin.v1.AdminOAuthClientService/GetOAuthClientInput: GetOAuthClientRequest
Section titled “Input: GetOAuthClientRequest”Identifies one OAuth client by its exact stable client ID.
| Field | Type | Description |
|---|---|---|
client_id | string | Exact CIMD URL or built-in application URI. |
Result: GetOAuthClientResponse
Section titled “Result: GetOAuthClientResponse”Returns one OAuth client with a recorded authorization.
| Field | Type | Description |
|---|---|---|
oauth_client | OAuthClient | The requested client. |
UpdateOAuthClientPolicy
Section titled “UpdateOAuthClientPolicy”Replaces a client’s policy and revokes tokens when blocked. Requires server.manage.
POST /api/connect/chatto.admin.v1.AdminOAuthClientService/UpdateOAuthClientPolicyInput: UpdateOAuthClientPolicyRequest
Section titled “Input: UpdateOAuthClientPolicyRequest”Replaces the administrative policy for one OAuth client.
| Field | Type | Description |
|---|---|---|
client_id | string | Exact CIMD URL or built-in application URI. |
policy | OauthClientPolicy | New complete policy value. Default removes any trusted or blocked label. |
update_mask | google.protobuf.FieldMask | Editable fields to apply or reset: policy. Omit to infer populated fields; * selects all editable fields. An explicit empty mask is invalid. Unselected values are ignored. A selected absent policy resets to DEFAULT. An explicit UNSPECIFIED value is also a reset when policy is selected by the mask. |
Result: UpdateOAuthClientPolicyResponse
Section titled “Result: UpdateOAuthClientPolicyResponse”Returns the OAuth client with its updated policy.
| Field | Type | Description |
|---|---|---|
oauth_client | OAuthClient | The updated client. |