Instance Method

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

At some point after you call this method, the system dismisses the associated view controller.

See Also

Providing Credentials

class ASPasswordCredential

A password credential.