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(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken

Cancellation token

Returns
Type Description
System.Threading.Tasks.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 - 200.8
.NET Windows200.5 - 200.8
.NET Android200.5 - 200.8
.NET iOS200.5 - 200.8
.NET Framework200.5 - 200.8
UWP200.5 - 200.8
In This Article
Back to top Copyright © 2022 Esri.