Skip to main content

Get authorization link

Generates an authorization link for browser transition

Function GetAuthorizationLink(Val AppKey) Export

ParameterCLI optionTypeRequiredDescription
AppKey--appkeyStringApplication key

Returns: String - URL for browser transition


1C:Enterprise/OneScript code example
    AppKey = "oynqxds...";
Result = OPI_Dropbox.GetAuthorizationLink(AppKey);
    oint dropbox GetAuthorizationLink \
--appkey "***"
Result
"https://www.dropbox.com/oauth2/authorize?client_id=oynqxdsqft8oyky&response_type=code&token_access_type=offline"