Contents

performWithoutUserInteraction(generatePasswordsRequest:)

Attempt to generate passwords based on developer-specified rules.

Declaration

func performWithoutUserInteraction(generatePasswordsRequest: ASGeneratePasswordsRequest)

Discussion

To return results, you must call ``ASCredentialProviderExtensionContext/completeGeneratePasswordRequest(results:completionHandler:)`.

To indicate support for this feature, add SupportsGeneratePasswordCredentials under the ASCredentialProviderExtensionCapabilities dictionary.

Info.plist
├─ NSExtension
    ├─ NSExtensionAttributes
        ├─ ASCredentialProviderExtensionCapabilities
            ├─ SupportsSavePasswordCredentials => true
            ├─ SupportsGeneratePasswordCredentials => true