1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-23 22:05:15 +02:00
Files
OpenIntegrations/docs/en/md/Yandex_ID/Public/Convert-code-to-token.md
2024-06-04 21:55:01 +03:00

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%