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 - 200.8 |
| .NET | 200.5 - 200.8 |
| .NET Windows | 200.5 - 200.8 |
| .NET Android | 200.5 - 200.8 |
| .NET iOS | 200.5 - 200.8 |
| .NET Framework | 200.5 - 200.8 |
| UWP | 200.5 - 200.8 |