convertAccountToSignInWithAppleWithoutUserInteraction(for:existingCredential:userInfo:)
Converts an account’s authentication mechanism from using passwords to using Sign in with Apple.
Declaration
func convertAccountToSignInWithAppleWithoutUserInteraction(for serviceIdentifier: ASCredentialServiceIdentifier, existingCredential: ASPasswordCredential, userInfo: [AnyHashable : Any]? = nil)Parameters
- serviceIdentifier:
An identifier that represents a particular service that the user needs a credential for, like a web site.
- existingCredential:
The current password credential for the service.
- userInfo:
A dictionary that contains app-specific values when the request to upgrade to Sign in with Apple initiates from the parent app. If the request to upgrade to Sign in with Apple doesn’t initiate from the app, this parameter is
nil.