Instance Method

verifyExtended(withAuthenticationType:authenticationItems:continueItems:context:)

Verifies the credentials for interaction with the record’s node using other types of authentication available to Open Directory.

Declaration

func verifyExtended(withAuthenticationType inType: String!, authenticationItems inItems: [Any]!, continueItems outItems: AutoreleasingUnsafeMutablePointer<NSArray?>!, context outContext: AutoreleasingUnsafeMutablePointer<AnyObject?>!) throws

Parameters

inType

The authentication type.

inItems

An array of NSString or NSData objects to be used in the authentication process.

outItems

An array of NSData objects returned from the authentication process, if any are returned; nil otherwise.

outContext

The proper context if the authentication attempt requires a context; nil otherwise. If not nil, then more calls must be made with the Context to continue the authentication.

outError

An error reference for error details. Can be nil.

Return Value

true if verification succeeds; otherwise, false.

Discussion

See Also

Managing Authentication

func setNodeCredentials(String!, password: String!)

Sets credentials for the record’s node.

func verifyPassword(String!)

Verifies the password for interaction with the record.