Partager via


Class SessionConfiguration

Use this class to set up the service configuration for a SpatialAnchorSession.

class Microsoft::Azure::SpatialAnchors::SessionConfiguration final : public std::enable_shared_from_this<Microsoft::Azure::SpatialAnchors::SessionConfiguration>

Properties

AccessToken

Access token for the Azure Spatial Anchors service.

auto AccessToken() const -> std::string;
auto AccessToken(std::string const& value) -> void;

AccountDomain

Account domain for the Azure Spatial Anchors service.

The default is "mixedreality.azure.com".

auto AccountDomain() const -> std::string;
auto AccountDomain(std::string const& value) -> void;

AccountId

Account-level ID for the Azure Spatial Anchors service.

auto AccountId() const -> std::string;
auto AccountId(std::string const& value) -> void;

AccountKey

Account-level key for the Azure Spatial Anchors service.

auto AccountKey() const -> std::string;
auto AccountKey(std::string const& value) -> void;

AuthenticationToken

Authentication token for Azure Active Directory (AAD).

If the access token and the account key are missing, the session will obtain an access token based on this value.

auto AuthenticationToken() const -> std::string;
auto AuthenticationToken(std::string const& value) -> void;