Discuss this help topic in SecureBlackbox Forum

TElOAuth2Client.Start

TElOAuth2Client     See also     


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


Creates an authorization request.

Declaration

[C#/Java]
    void Start([out] ref int Method, [out] ref string URL, TElStringList RequestHeader, [out] ref byte[] RequestBody);
    TElOAuth2Request Start();

[VB.NET]
    Sub Start(ByRef Method As Integer, ByRef URL As String, ByVal RequestHeader As TElStringList, ByRef RequestBody As Byte())
    Function Start() As TElOAuth2Request

[Pascal]
    procedure Start(out Method : integer; out URL : string; RequestHeader : TStringList; out RequestBody : ByteArray);
    procedure Start(Request : TElOAuth2Request);

[C++]
    void Start(int32_t &Method, std::string &URL, TStringList &RequestHeader, std::vector<uint8_t> &RequestBody);
    void Start(int32_t &Method, std::string &URL, TStringList *RequestHeader, std::vector<uint8_t> &RequestBody);
    void Start(TElOAuth2Request &Request);
    void Start(TElOAuth2Request *Request);

[PHP]
    void Start(integer &$Method, string &$URL, TStringList $RequestHeader, array of byte|string &$RequestBody)
    void Start(TElOAuth2Request $Request)

Parameters

  • Method - returns the HTTP method used by the authorization request.
  • Request - returns the authorization request.
  • RequestBody - contains the request body.
  • RequestHeader - contains the request header.
  • URL - specifies the URL of the request.

Return value

    Returns the newly generated authorization request.

Description

    Call this method to create a new authorization request. This request should be sent to the authorization server using any transport component. When the response is received it can be processed by the Process method.

See also:     Process    

Discuss this help topic in SecureBlackbox Forum