Share via


CloudSpatialAnchorSession.GetAccessTokenWithAccountKeyAsync(String) Method

Definition

Gets the Azure Spatial Anchors access token from account key.

public:
 System::Threading::Tasks::Task<System::String ^> ^ GetAccessTokenWithAccountKeyAsync(System::String ^ accountKey);
public System.Threading.Tasks.Task<string> GetAccessTokenWithAccountKeyAsync (string accountKey);
member this.GetAccessTokenWithAccountKeyAsync : string -> System.Threading.Tasks.Task<string>
Public Function GetAccessTokenWithAccountKeyAsync (accountKey As String) As Task(Of String)

Parameters

accountKey
String

Account key.

Returns

Applies to