Class MixedRealityStsAsyncClient

java.lang.Object
com.azure.mixedreality.authentication.MixedRealityStsAsyncClient

public final class MixedRealityStsAsyncClient extends Object
Represents the Mixed Reality STS client for retrieving STS tokens used to access Mixed Reality services.
See Also:
  • Method Details

    • getToken

      public Mono<AccessToken> getToken()
      Retrieve a token from the STS service for the specified account information.
      Returns:
      An AccessToken used to access Mixed Reality services matching the account's permissions.
    • getTokenWithResponse

      public Mono<Response<AccessToken>> getTokenWithResponse()
      Retrieve a token from the STS service for the specified account information.
      Returns:
      A REST response contains the AccessToken used to access Mixed Reality services matching the account's permissions.