TokenAcquisitionMetadata Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Metadata describing how an access token was acquired: timings, cache state, region routing, and any additional response parameters returned by the token endpoint.
public sealed class TokenAcquisitionMetadata
type TokenAcquisitionMetadata = class
Public NotInheritable Class TokenAcquisitionMetadata
- Inheritance
-
TokenAcquisitionMetadata
Constructors
| Name | Description |
|---|---|
| TokenAcquisitionMetadata() | |
Properties
| Name | Description |
|---|---|
| CacheLevel |
Cache tier that served the token. |
| CacheRefreshReason |
Reason the cache was refreshed during this attempt, if any. |
| DurationInCacheInMs |
Time spent reading and writing the token cache, in milliseconds. |
| DurationInHttpInMs |
Time spent in HTTP calls to the token endpoint, in milliseconds. |
| DurationTotalInMs |
Total wall-clock duration of the token-acquisition attempt, in milliseconds. |
| ExpiresOn |
Point in time at which the access token expires, or |
| RefreshOn |
Point in time at which the token should be proactively refreshed,
or |
| RegionDetails |
Regional ESTS routing details, or |
| TokenEndpoint |
Token endpoint contacted, or |
| TokenSource |
Source the token was obtained from. |