Contents

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 expired parameter is YES if the system prematurely terminates a previous non-expiration invocation of the completionHandler.

Discussion

After calling this method, the system dismisses the associated view controller.

See Also

Providing credentials