Class WebPubSubClientAccessToken
java.lang.Object
com.azure.messaging.webpubsub.models.WebPubSubClientAccessToken
A wrapper class for results of the
getClientAccessToken
APIs on
WebPubSubServiceAsyncClient
and
WebPubSubServiceClient
.-
Constructor Summary
ConstructorDescriptionWebPubSubClientAccessToken
(String token, String url) Creates a new instance with the given values set as immutable properties. -
Method Summary
-
Constructor Details
-
WebPubSubClientAccessToken
Creates a new instance with the given values set as immutable properties.- Parameters:
token
- The client access token that may be used to access the service.url
- The url that may be used to access the service.
-
-
Method Details
-
getToken
Returns the client access token that may be used to access the service.- Returns:
- The client access token that may be used to access the service.
-
getUrl
Returns the url that may be used to access the service.- Returns:
- The url that may be used to access the service.
-