ASAccountAuthenticationModificationViewController
A view controller that can upgrade user passwords to strong passwords, or convert accounts to use Sign in with Apple.
Declaration
class ASAccountAuthenticationModificationViewControllerMentioned in
Overview
Adding an account modification extension lets your app seamlessly upgrade user passwords to strong passwords, or convert from using passwords to using Sign in with Apple. The entire process can be automatic, requiring no user interaction, or you can include interactions, such as two-factor authentication confirmation.
Topics
Upgrading to Sign in with Apple
convertAccountToSignInWithAppleWithoutUserInteraction(for:existingCredential:userInfo:)prepareInterfaceToConvertAccountToSignInWithApple(for:existingCredential:userInfo:)ASAccountAuthenticationModificationSupportsUpgradeToSignInWithApple
Upgrading to Strong Passwords
changePasswordWithoutUserInteraction(for:existingCredential:newPassword:userInfo:)prepareInterfaceToChangePassword(for:existingCredential:newPassword:userInfo:)ASAccountAuthenticationModificationSupportsStrongPasswordChangeASAccountAuthenticationModificationPasswordGenerationRequirementsASAccountAuthenticationModificationOptOutOfSecurityPromptsOnSignIn
Handling Modification Requests
cancelRequest()ASAccountAuthenticationModificationControllerDelegateASAccountAuthenticationModificationControllerPresentationContextProviding