public final class WebPubSubAuthenticationToken extends Object
getAuthenticationToken
APIs on
WebPubSubAsyncServiceClient
and
WebPubSubServiceClient
.Constructor and Description |
---|
WebPubSubAuthenticationToken(String authToken,
String url)
Creates a new instance with the given values set as immutable properties.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthToken()
Returns the authentication token that may be used to access the service.
|
String |
getUrl()
Returns the url that may be used to access the service.
|
public WebPubSubAuthenticationToken(String authToken, String url)
authToken
- The authentication token that may be used to access the service.url
- The url that may be used to access the service.public String getAuthToken()
public String getUrl()
Copyright © 2021 Microsoft Corporation. All rights reserved.