Package | Description |
---|---|
com.azure.messaging.webpubsub |
Package containing classes for creating clients to perform operations on the Azure Web Pub Sub Service.
|
com.azure.messaging.webpubsub.models |
Package containing model classes for use with the Azure Web Pub Sub Service.
|
Modifier and Type | Method and Description |
---|---|
Mono<WebPubSubAuthenticationToken> |
WebPubSubServiceAsyncClient.getAuthenticationToken(GetAuthenticationTokenOptions options)
Creates an authentication token.
|
WebPubSubAuthenticationToken |
WebPubSubServiceClient.getAuthenticationToken(GetAuthenticationTokenOptions options)
Creates an authentication token.
|
Modifier and Type | Method and Description |
---|---|
GetAuthenticationTokenOptions |
GetAuthenticationTokenOptions.addRole(String role)
Adds a role to the requested authentication token.
|
GetAuthenticationTokenOptions |
GetAuthenticationTokenOptions.setExpiresAfter(Duration expiresAfter)
Specifies when the duration after which the requested authentication token will expire.
|
GetAuthenticationTokenOptions |
GetAuthenticationTokenOptions.setRoles(List<String> roles)
Specifies the complete set of roles to be included when creating the authentication token, overwriting any other
roles previously set on this instance.
|
GetAuthenticationTokenOptions |
GetAuthenticationTokenOptions.setUserId(String userId)
Specifies the user ID to be used when creating the authentication token.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.