File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/main/java/com/rabbitmq/client/amqp Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,14 @@ public interface ConnectionSettings<T> {
154154 */
155155 Affinity <? extends T > affinity ();
156156
157+ /**
158+ * OAuth 2 settings.
159+ *
160+ * <p>OAuth 2 requires RabbitMQ 4.1 or more.
161+ *
162+ * @return OAuth 2 settings
163+ * @see OAuth2Settings
164+ */
157165 OAuth2Settings <? extends T > oauth2 ();
158166
159167 /**
Original file line number Diff line number Diff line change 2323 * Configuration to retrieve a token using the <a
2424 * href="https://tools.ietf.org/html/rfc6749#section-4.4">OAuth 2 Client Credentials flow</a>.
2525 *
26+ * <p>OAuth 2 requires RabbitMQ 4.1 or more.
27+ *
2628 * @param <T> the type of object returned by methods, usually the object itself
2729 */
2830public interface OAuth2Settings <T > {
You can’t perform that action at this time.
0 commit comments