---
title: "performWithoutUserInteractionIfPossible(savePasswordRequest:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/ascredentialproviderviewcontroller/performwithoutuserinteractionifpossible(savepasswordrequest:)"
---

# performWithoutUserInteractionIfPossible(savePasswordRequest:)

Attempt to save a password credential.

## Declaration

```swift
func performWithoutUserInteractionIfPossible(savePasswordRequest: ASSavePasswordRequest)
```

## Discussion

Discussion To return results, you must call  completeSavePasswordRequest(completionHandler:). note: When this method is called, your extension’s view controller is not present on the screen. You can request user interaction by calling ASCredentialProviderExtensionContext/cancelRequest(with:), using userInteractionRequired. To indicate support for this feature, add SupportsSavePasswordCredentials under the ASCredentialProviderExtensionCapabilities dictionary. Info.plist ├─ NSExtension     ├─ NSExtensionAttributes         ├─ ASCredentialProviderExtensionCapabilities             ├─ SupportsSavePasswordCredentials => true
