Discuss this help topic in SecureBlackbox Forum

TElSimpleOAuth2Client.Authorize

TElSimpleOAuth2Client     See also     


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


Initiates authorization process with an external browser.

Declaration

[C#]
    bool Authorize();

[VB.NET]
    Function Authorize() As Boolean

[Pascal]
    function Authorize : Boolean;

[C++]
    bool Authorize();

[PHP]
    bool Authorize()

[Java]
    boolean authorize();

Return value

Returns true if the authorization was granted, and false otherwise.

Description

Call this method to start authorization process. When the user completes authentication and its data is sent to the server, TElSimpleOAuth2Client will fire the OnWait event periodically, to show how much waiting time is left. Upon successful authorization, the SuccessResponse and AccessToken properties are filled. If authorization fails, the FailureResponse is returned.

See also:     AccessToken     FailureResponse     SuccessResponse     OnWait    

Discuss this help topic in SecureBlackbox Forum