MixedRealityStsClient.GetToken(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve a token from the STS service for the specified account identifier.
public virtual Azure.Response<Azure.Core.AccessToken> GetToken (System.Threading.CancellationToken cancellationToken = default);
abstract member GetToken : System.Threading.CancellationToken -> Azure.Response<Azure.Core.AccessToken>
override this.GetToken : System.Threading.CancellationToken -> Azure.Response<Azure.Core.AccessToken>
Public Overridable Function GetToken (Optional cancellationToken As CancellationToken = Nothing) As Response(Of AccessToken)
Parameters
- cancellationToken
- CancellationToken
The cancellation token.