Uses of Class
com.azure.messaging.webpubsub.models.GetClientAccessTokenOptions
-
Packages that use GetClientAccessTokenOptions 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. -
-
Uses of GetClientAccessTokenOptions in com.azure.messaging.webpubsub
Methods in com.azure.messaging.webpubsub with parameters of type GetClientAccessTokenOptions Modifier and Type Method Description Mono<WebPubSubClientAccessToken>WebPubSubServiceAsyncClient. getClientAccessToken(GetClientAccessTokenOptions options)Creates a client access token.WebPubSubClientAccessTokenWebPubSubServiceClient. getClientAccessToken(GetClientAccessTokenOptions options)Creates a client access token. -
Uses of GetClientAccessTokenOptions in com.azure.messaging.webpubsub.models
Methods in com.azure.messaging.webpubsub.models that return GetClientAccessTokenOptions Modifier and Type Method Description GetClientAccessTokenOptionsGetClientAccessTokenOptions. addRole(String role)Adds a role to the requested authentication token.GetClientAccessTokenOptionsGetClientAccessTokenOptions. setExpiresAfter(Duration expiresAfter)Specifies when the duration after which the requested authentication token will expire.GetClientAccessTokenOptionsGetClientAccessTokenOptions. 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.GetClientAccessTokenOptionsGetClientAccessTokenOptions. setUserId(String userId)Specifies the user ID to be used when creating the authentication token.
-