Delegate TokenRequiredDelegate
Informs the application that a session requires an updated access token or authentication token.
using TokenRequiredDelegate = std::function<void(void*, std::shared_ptr<Microsoft::Azure::SpatialAnchors::TokenRequiredEventArgs> const&)>;
Applications use this type when registering events.
For more information on std::function
, see the reference for function class.
Parameters
Name | Type | Description |
---|---|---|
sender |
object | The session that requires an updated access token or authentication token. |
args |
TokenRequiredEventArgs | The event arguments that require an AccessToken property or an AuthenticationToken property to be set. |