completeRequest(withSelectedCredential:completionHandler:)
Provides the user-selected credential.
Declaration
func completeRequest(withSelectedCredential credential: ASPasswordCredential, completionHandler: ((Bool) -> Void)? = nil)Parameters
- credential:
The credential that the user selected.
- completionHandler:
Optional work that the extension performs as a background priority task after the request completes. The
expiredparameter isYESif the system prematurely terminates a previous non-expiration invocation of thecompletionHandler.
Discussion
After calling this method, the system dismisses the associated view controller.