Class TokenRequiredEventArgs

Declaration

struct winrt::Microsoft::Azure::SpatialAnchors::TokenRequiredEventArgs

Description

Informs the application that the service requires an updated access token or authentication token.

Methods

GetDeferral

Returns a deferral object that can be used to provide an updated access token or authentication token from another asynchronous operation.

winrt::Microsoft::Azure::SpatialAnchors::CloudSpatialAnchorSessionDeferral GetDeferral();

Returns

  • winrt::Microsoft::Azure::SpatialAnchors::CloudSpatialAnchorSessionDeferral - A new deferral instance that should be completed when a new service access token or authentication token is set in the session configuration.

Properties

AccessToken

The access token to be used by the operation that requires it.

hstring AccessToken();
void AccessToken(hstring const& value);

AuthenticationToken

The authentication token to be used by the operation that requires it.

hstring AuthenticationToken();
void AuthenticationToken(hstring const& value);