Skip to content

Add TokenAcquisitionMetadata.ExpiresOn to surface access-token expiry#259

Merged
bgavrilMS merged 1 commit into
mainfrom
nebharg/3682127-surface-expireson
Jul 1, 2026
Merged

Add TokenAcquisitionMetadata.ExpiresOn to surface access-token expiry#259
bgavrilMS merged 1 commit into
mainfrom
nebharg/3682127-surface-expireson

Conversation

@neha-bhargava

@neha-bhargava neha-bhargava commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds TokenAcquisitionMetadata.ExpiresOn (nullable, init-only) exposing the access token's absolute expiration on the token-acquisition metadata surface, mirroring AcquireTokenResult.ExpiresOn. Additive and non-breaking.

Changes

  • New DateTimeOffset? ExpiresOn on TokenAcquisitionMetadata.
  • PublicAPI.Unshipped.txt entries for all 6 TFMs.
  • Changelog: 12.4.0.

Related PRs

Surfaces the access token's absolute expiration on the token-acquisition
metadata surface, mirroring AcquireTokenResult.ExpiresOn. Additive and
non-breaking (nullable init-only property).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bgavrilMS bgavrilMS merged commit 71919b2 into main Jul 1, 2026
5 checks passed
@bgavrilMS bgavrilMS deleted the nebharg/3682127-surface-expireson branch July 1, 2026 09:47
@neha-bhargava neha-bhargava mentioned this pull request Jul 7, 2026
neha-bhargava added a commit that referenced this pull request Jul 7, 2026
Move the 12.3.0 (IAuthorizationHeaderProvider2) and 12.4.0 (TokenAcquisitionMetadata.ExpiresOn) additions from PublicAPI.Unshipped to PublicAPI.Shipped across all TFMs now that 12.4.0 has shipped, add the #259 changelog link, and bump the version to 12.4.1.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants