Cloud Mail 2020 C++ Builder Edition

Questions / Feedback?

ReturnURL Event

Fires when the user is redirected to the embedded web server.

Syntax

typedef struct {
  String URLPath;
  String QueryString;
  String ResponseHeaders;
  String ResponseBody;
} TicmOAuthReturnURLEventParams;

typedef void __fastcall (__closure *TicmOAuthReturnURLEvent)(System::TObject* Sender, TicmOAuthReturnURLEventParams *e);

__property TicmOAuthReturnURLEvent OnReturnURL = { read=FOnReturnURL, write=FOnReturnURL };

Remarks

When ClientProfile is set to cfApplication and the embedded web server is used (default), this event will fire when the user is redirected from authorization server back to the local embedded web server. The event provides an opportunity to set the ResponseHeaders and ResponseBody and provide a custom response that the user will see in their browser.

URLPath and QueryString are informational parameters that show the values sent by the authorization server.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 C++ Builder Edition - Version 20.0 [Build 8308]