Framework

AuthenticationServices

Make it easy for users to log into apps and services.

Overview

Use the Authentication Services framework to improve the experience of users when they enter credentials to establish their identity.

  • Give users the ability to sign into your services with their Apple ID.

  • Enable users to look up their stored passwords from within the sign-in flow of an app.

  • Share data between an app and a web browser using technologies like OAuth to leverage existing web-based logins in the app.

  • Create a single sign-on (SSO) experience in an enterprise app.

Simple and straightforward sign-up and sign-in flows reduce the burden on the user to remember passwords. This encourages the use of strong passwords, which improves security.

Topics

Sign In with Apple

Sign In with Apple Entitlement

An entitlement that lets your app use Sign In with Apple.

Key: com.apple.developer.applesignin
ASAuthorizationAppleIDProvider

A mechanism for generating requests to authenticate users based on their Apple ID.

ASAuthorizationController

A controller that manages authorization requests created by a provider.

ASAuthorizationAppleIDCredential

A credential that results from a successful Apple ID authentication.

Password-Based Login

Password AutoFill

Streamline your app’s login and onboarding procedures.

ASAuthorizationPasswordProvider

A mechanism for generating requests to perform keychain credential sharing.

ASPasswordCredential

A password credential.

Web-Based Login

Authenticating a User Through a Web Service

Use a web authentication session to authenticate a user in your app.

ASWebAuthenticationSession

A session that an app uses to authenticate a user through a web service.

Enterprise Single Sign-On

ASAuthorizationSingleSignOnProvider

A mechanism for generating requests to authenticate users with third-party providers.

ASAuthorizationSingleSignOnCredential

A credential that results from a successful single sign-on (SSO) authentication.

ASAuthorizationProviderExtensionAuthorizationRequestHandler

An interface through which a single sign-on (SSO) authentication provider extension handles authentication requests.

AutoFill Credential Provider Support

AutoFill Credential Provider Entitlement

A Boolean value that indicates whether the app may, with user permission, provide user names and passwords for AutoFill in Safari and other apps.

Key: com.apple.developer.authentication-services.autofill-credential-provider
ASCredentialProviderViewController

A view controller that a password manager app uses to extend Password AutoFill.

Web Browser Authentication Session Support

Supporting Single Sign-On in a Web Browser App

Extend your web browser app to handle web authentication requests from other apps.

ASWebAuthenticationSessionWebBrowserSessionManager

A session manager that mediates sharing data between an app and a web browser.

property list key ASWebAuthenticationSessionWebBrowserSupportCapabilities

A collection of keys that a browser app uses to declare its ability to handle authentication requests from other apps.