Get authorization link
Generates an authorization link for browser transition
Function GetAuthorizationLink(Val AppKey) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
AppKey | --appkey | String | ✔ | Application key |
Returns: String - URL for browser transition
1C:Enterprise/OneScript code example
AppKey = "oynqxds...";
Result = OPI_Dropbox.GetAuthorizationLink(AppKey);
- Bash
- CMD/Bat
oint dropbox GetAuthorizationLink \
--appkey "***"
oint dropbox GetAuthorizationLink ^
--appkey "***"
Result
"https://www.dropbox.com/oauth2/authorize?client_id=oynqxdsqft8oyky&response_type=code&token_access_type=offline"