Class HttpTokenRequester
java.lang.Object
com.rabbitmq.client.amqp.oauth2.HttpTokenRequester
- All Implemented Interfaces:
TokenRequester
Token requester using HTTP(S) to request an OAuth 2 access token.
Uses HttpURLConnection for the HTTP operations.
This class is intended for internal use by the library. Its API, including this Javadoc, is not part of the public API of the library and may change without notice.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpTokenRequester.Builderbuilder()request()Request a token.
-
Method Details
-
builder
-
request
Description copied from interface:TokenRequesterRequest a token.- Specified by:
requestin interfaceTokenRequester- Returns:
- the token
-