Show / Hide Table of Contents

Method GetTokenInfoAsync

GetTokenInfoAsync(CancellationToken)

Returns an instance of TokenInfo generated by this credential.

Declaration
public Task<TokenInfo> GetTokenInfoAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<TokenInfo>

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

Remarks

If the token has expired, this method regenerates the access token. Token expiration is based on the TokenExpirationInterval.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.8
.NET200.6 - 200.8
.NET Windows200.6 - 200.8
.NET Android200.6 - 200.8
.NET iOS200.6 - 200.8
.NET Framework200.6 - 200.8
UWP200.6 - 200.8
In This Article
Back to top Copyright © 2022 Esri.