Discuss this help topic in SecureBlackbox Forum

TElDropboxDataStorage.GetAuthorizationURL

TElDropboxDataStorage     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Retrieves the authorization URL from the server.

Declaration

[C#/Java]
    string GetAuthorizationURL();
    string GetAuthorizationURL(string Callback);
    string GetAuthorizationURL(string Callback, string Locale);

[VB.NET]
    Function GetAuthorizationURL() As String
    Function GetAuthorizationURL(ByVal Callback As String) As String
    Function GetAuthorizationURL(ByVal Callback As String, ByVal Locale As String) As String

[Pascal]
    function GetAuthorizationURL() : string;
    function GetAuthorizationURL(const Callback : string) : string;
    function GetAuthorizationURL(const Callback : string; const Locale : string) : string;

[C++]
    void GetAuthorizationURL(std::string &OutResult);
    void GetAuthorizationURL(const std::string &Callback, std::string &OutResult);
    void GetAuthorizationURL(const std::string &Callback, const std::string &Locale, std::string &OutResult);

[PHP]
    string GetAuthorizationURL()
    string GetAuthorizationURL(string $Callback)
    string GetAuthorizationURL(string $Callback, string $Locale)

Parameters

  • Callback - specifies the oauth_callback parameter. After the user either authorizes or disallows the application, he/she is redirected to this URL.
  • Locale - specifies the default language settings; Dropbox redirects users to the translated authorization web page.

Return value

    Returns the authorization URL.

Description

    Call this method to obtain the URL over which the user must authorize his/her account. Typically, the user has to navigate to the retrieved URL in a browser, and authorize the access. After the access is authorized, the access token can be received by calling RequestAccessToken method.

See also:     RequestAccessToken    

Discuss this help topic in SecureBlackbox Forum