System.Tether.Manager.TTetheringAdapter.DoRequestManagerPassword

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoRequestManagerPassword(const ARemoteIdentifier: string; var Password: string); virtual;

C++

virtual void __fastcall DoRequestManagerPassword(const System::UnicodeString ARemoteIdentifier, System::UnicodeString &Password);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringAdapter

Description

Dispatcher of the OnRequestManagerPassword event of the manager of the adapter, responsible for providing the password required to pair with a remote manager.

When the manager of your adapter requests to pair with a remote manager and the remote manager requires a password, your adapter calls DoRequestManagerPassword to obtain a password to send to the remote manager for authentication.

DoRequestManagerPassword receives the following parameters:

  • ARemoteIdentifier is the identifier of the remote manager that requests a password.
  • APassword is a variable parameter that must be filled with the password to use for authentication with the remote manager.

DoRequestManagerPassword passes both parameters to the manager of your adapter. The manager of your adapter then passes both a reference to itself and these two parameters to the handler of its OnRequestManagerPassword event. The event handler can define the password to use for authentication with the remote manager.

See Also