You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-23 22:05:15 +02:00
723 B
723 B
sidebar_position
| sidebar_position |
|---|
| 2 |
Convert code to token
Converts the code to a token after entering the code when executing GetConfirmationCode
Function ConvertCodeToToken(Val ClientId, Val ClientSecret, Val DeviceCode) Export
| Parameter | CLI option | Type | Destination |
|---|---|---|---|
| ClientId | --id | String | Client id |
| ClientSecret | --secret | String | Client secret |
| DeviceCode | --device | String | device_code from GetConfirmationCode() |
Returns: Key-Value Pair - serialized JSON response from Yandex
oint yandex ConvertCodeToToken --id %id% --secret %secret% --device %device%