Connection | AMQP1 Authentication

The component has the following authentication methods:

 

 

 

SASL Authentication

The most common authentication is using amqp1authSASLPlain type. This authentication type, can be enabled in the AMQP1 component, accessing to the property AMQPOptions.Authentication.

 

 

The result of the SASL Authentication can be obtained when the event OnAMQPSASLAuthentication.

 


procedure OnAMQP1SASLAuthentication(Sender: TObject;
  aCode: TsgcAMQP1SaslCode; const aDescription: string; var Handled: Boolean);
begin
  ShowMessage('#sasl-authentication: ' + aDescription);
end;