Class MixedRealityStsAsyncClient
java.lang.Object
com.azure.mixedreality.authentication.MixedRealityStsAsyncClient
Represents the Mixed Reality STS client for retrieving STS tokens used to access Mixed Reality services.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionMono<com.azure.core.credential.AccessToken>getToken()Retrieve a token from the STS service for the specified account information.Mono<com.azure.core.http.rest.Response<com.azure.core.credential.AccessToken>>Retrieve a token from the STS service for the specified account information.
-
Method Details
-
getToken
Retrieve a token from the STS service for the specified account information.- Returns:
- An
AccessTokenused to access Mixed Reality services matching the account's permissions.
-
getTokenWithResponse
public Mono<com.azure.core.http.rest.Response<com.azure.core.credential.AccessToken>> getTokenWithResponse()Retrieve a token from the STS service for the specified account information.- Returns:
- A REST response contains the
AccessTokenused to access Mixed Reality services matching the account's permissions.
-