Discuss this help topic in SecureBlackbox Forum

TElOAuth2Client.Start

TElOAuth2Client     See also     


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


Creates an authorization request.

Declaration

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

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

[Pascal]
    procedure Start(out {$ifdef OXYGENE}&{$endif}Method : Integer; out URL : string; RequestHeader : TElStringList; out RequestBody : ByteArray);
    procedure Start(Request : TElOAuth2Request); overload;

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

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

[Java]
    TElOAuth2Request start();

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