-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for connection.update-secret (#114)
* Add support for connection.update-secret This method is in the AMQP 0.9.1 spec and it is supported by RabbitMQ. This is useful when the secret used in the connection has an expiry, as it allows the applications to renew the secret without the hassle of closing-reconnecting consumers/producers. Signed-off-by: Aitor Perez Cedres <acedres@vmware.com> * Add documentation for Connection.UpdateSecret Setting up an OAuth2 server to end-2-end test this function feels a bit overkill. This function is used mainly in the context of OAuth2 authentication, where tokens expire. From this client perspective, all it has to ensure is that a specific frame is put out in the wire to RabbitMQ server. Then we trust that RabbitMQ will hold its part of the contract and do the right thing. Signed-off-by: Aitor Perez Cedres <acedres@vmware.com> Signed-off-by: Aitor Perez Cedres <acedres@vmware.com>
- Loading branch information
Showing
2 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters