Show / Hide Table of Contents

Method GetTokenInfoAsync

GetTokenInfoAsync(CancellationToken)

Returns an instance of IapTokenInfo generated by this credential.

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

A cancellation token that can be used to cancel the operation.

Returns
Type Description
Task<IapTokenInfo>

Returns the non-expired IapTokenInfo generated by this credential.

Remarks

If the access or ID token has expired, this method regenerates it. While regenerating the access or ID tokens, if the refresh token is expired, an invalid Identity-Aware Proxy (IAP) credential error is thrown.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.