1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-31 22:05:13 +02:00
OpenIntegrations/docs/en/md/Twitter/Data-and-settings/Handle-incoming-request-after-authorization.mdx
Vitaly the Alpaca (bot) 4de7fa4268 Main build (Jenkins)
2024-12-16 19:38:57 +03:00

40 lines
909 B
Plaintext

---
sidebar_position: 4
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
#
Method for insertion into an http service, the address of which is specified in redirect_uri Calls the token acquisition method, as for obtaining a token from the code received on redirect_uri after authorization via the browser is only 30 seconds
`Function HandleIncomingRequestAfterAuthorization(Request) Export // Service`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Request | | HTTPServiceRequest | ✔ | Request coming to the http service |
Returns: HTTPResponse, Arbitrary, BinaryData - Result of reading the JSON response from the server
<br/>
:::caution
**NOCLI:** данный метод недоступен для использования в CLI версии
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```