Show / Hide Table of Contents

Method GetTokenInfoAsync

GetTokenInfoAsync(CancellationToken)

Returns an instance of OAuthApplicationTokenInfo generated by this credential.

Declaration
public Task<OAuthApplicationTokenInfo> GetTokenInfoAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken

Cancellation token

Returns
Type Description
Task<OAuthApplicationTokenInfo>

Returns the non-expired OAuth application token information generated by this credential.

Remarks

Expired tokens are automatically regenerated while credentials remain valid.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.5 - 200.8
.NET200.5 - 300.0
.NET Windows200.5 - 300.0
.NET Android200.5 - 300.0
.NET iOS200.5 - 300.0
.NET Framework200.5 - 200.8
UWP200.5 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.