Skip to content

[AuthenticationServices] Bind new macOS 27.0 APIs. - #25822

Merged
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27authenticationservices
Jun 26, 2026
Merged

[AuthenticationServices] Bind new macOS 27.0 APIs.#25822
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27authenticationservices

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Bind the missing AuthenticationServices APIs listed in the macOS xtro .todo file (new in the macOS 27.0 / Xcode 27 SDK):

  • ASAuthorizationProviderExtensionAuthenticationMethod.OpenId
  • ASAuthorizationProviderExtensionFederationType.OpenId / DynamicOpenId
  • ASAuthorizationProviderExtensionSupportedGrantTypes.TokenExchange
  • ASAuthorizationProviderExtensionLoginConfiguration.FallbackFederationType
  • ASAuthorizationProviderExtensionLoginConfiguration.AuthorizationUrl
  • ASAuthorizationProviderExtensionLoginConfiguration.AuthorizationUrlKeypath

All entries are macOS-only. Resolve and remove the now-empty macOS-AuthenticationServices.todo, and add the new members to the documentation known-failures list (the AuthenticationServices framework is entirely undocumented).

Bind the missing AuthenticationServices APIs listed in the macOS xtro
.todo file (new in the macOS 27.0 / Xcode 27 SDK):

* ASAuthorizationProviderExtensionAuthenticationMethod.OpenId
* ASAuthorizationProviderExtensionFederationType.OpenId / DynamicOpenId
* ASAuthorizationProviderExtensionSupportedGrantTypes.TokenExchange
* ASAuthorizationProviderExtensionLoginConfiguration.FallbackFederationType
* ASAuthorizationProviderExtensionLoginConfiguration.AuthorizationUrl
* ASAuthorizationProviderExtensionLoginConfiguration.AuthorizationUrlKeypath

All entries are macOS-only. Resolve and remove the now-empty
macOS-AuthenticationServices.todo, and add the new members to the
documentation known-failures list (the AuthenticationServices framework
is entirely undocumented).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Binds newly introduced macOS 27.0 AuthenticationServices APIs identified by xtro, ensuring the generated macOS API surface matches the Xcode 27 SDK and keeping xtro-sanity/cecil documentation checks green.

Changes:

  • Added macOS 27.0 enum values to ASAuthorizationProviderExtensionAuthenticationMethod, ASAuthorizationProviderExtensionFederationType, and ASAuthorizationProviderExtensionSupportedGrantTypes.
  • Added macOS 27.0 ASAuthorizationProviderExtensionLoginConfiguration properties: FallbackFederationType, AuthorizationUrl, and AuthorizationUrlKeypath.
  • Removed the resolved xtro .todo file entries and added the new members to Documentation.KnownFailures.txt (AuthenticationServices is undocumented).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/xtro-sharpie/api-annotations-dotnet/macOS-AuthenticationServices.todo Removes resolved xtro TODO entries for the newly bound macOS 27.0 APIs.
tests/cecil-tests/Documentation.KnownFailures.txt Marks the newly added members as known documentation failures for AuthenticationServices.
src/authenticationservices.cs Adds the missing macOS 27.0 bindings (enum values + login configuration properties).

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #54b1d7c] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 54b1d7c01c7cb05c163492178b077afb65e0ea5c [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #54b1d7c] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 54b1d7c01c7cb05c163492178b077afb65e0ea5c [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 54b1d7c01c7cb05c163492178b077afb65e0ea5c [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #54b1d7c] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 54b1d7c01c7cb05c163492178b077afb65e0ea5c [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@dalexsoto
dalexsoto enabled auto-merge (squash) June 26, 2026 15:35
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #54b1d7c] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 200 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. [attempt 3] Html Report (VSDrops) Download
✅ monotouch (iOS): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 18 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Golden Gate (27): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 54b1d7c01c7cb05c163492178b077afb65e0ea5c [PR build]

@dalexsoto
dalexsoto merged commit 22fa47a into xcode27.0 Jun 26, 2026
56 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27authenticationservices branch June 26, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants