Class WebPubSubClientAccessToken
- java.lang.Object
-
- com.azure.messaging.webpubsub.models.WebPubSubClientAccessToken
-
public final class WebPubSubClientAccessToken extends Object
A wrapper class for results of thegetClientAccessTokenAPIs onWebPubSubServiceAsyncClientandWebPubSubServiceClient.
-
-
Constructor Summary
Constructors Constructor Description WebPubSubClientAccessToken(String token, String url)Creates a new instance with the given values set as immutable properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetToken()Returns the client access token that may be used to access the service.StringgetUrl()Returns the url that may be used to access the service.
-
-
-
Method Detail
-
getToken
public String 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
public String getUrl()
Returns the url that may be used to access the service.- Returns:
- The url that may be used to access the service.
-
-