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
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 |
.NET | 200.5 |
.NET Windows | 200.5 |
.NET Android | 200.5 |
.NET iOS | 200.5 |
.NET Framework | 200.5 |
UWP | 200.5 |