package amqp-client-lwt

  1. Overview
  2. Docs

Module Connection.Update_secretSource

This method updates the secret used to authenticate this connection. It is used when secrets have an expiration date and need to be renewed, like OAuth 2 tokens.

Sourcetype t = {
  1. new_secret : Amqp_client_lib.Types.longstr;
    (*

    The new secret.

    *)
  2. reason : Amqp_client_lib.Types.shortstr;
    (*

    The reason for the secret update.

    *)
}
Sourceval init : new_secret:Amqp_client_lib.Types.longstr -> reason:Amqp_client_lib.Types.shortstr -> unit -> t
Sourceval reply : ?once:bool -> (Framing.t * Framing.channel_no) -> (t -> unit Thread.Deferred.t) -> unit Thread.Deferred.t
OCaml

Innovation. Community. Security.