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