Discuss this help topic in SecureBlackbox Forum

TElOAuth2Client.Refresh

TElOAuth2Client     See also     


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


Creates a refresh request.

Declaration

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

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

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

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

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

Parameters

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

Return value

    Returns the newly generated refresh request.

Description

    Call this method to create an access token refresh 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