ODRecordSetNodeCredentialsExtended(_:_:_:_:_:_:_:)
Sets node authentication credentials for a record using a specified authentication method.
Declaration
func ODRecordSetNodeCredentialsExtended(_ record: ODRecordRef!, _ recordType: String!, _ authType: String!, _ authItems: CFArray!, _ outAuthItems: UnsafeMutablePointer<Unmanaged<CFArray>?>!, _ outContext: UnsafeMutablePointer<Unmanaged<ODContext>?>!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> BoolParameters
- record:
The record.
- recordType:
The record type that uses the credentials. Can be
NULL. The default value iskODRecordTypeUsers. - authType:
The type of authentication to use.
- authItems:
An array of
CFStringorCFDataobjects to be used in the authentication process. - outAuthItems:
An array of
CFDataobjects returned from the authentication process, if any are returned;NULLotherwise. - outContext:
The proper context if the authentication attempt requires a context;
NULLotherwise. If notNULL, then more calls must be made with the Context to continue the authentication. - error:
An error reference for error details. Can be
NULL.
Return Value
true if no error occurs; otherwise, false.
Discussion
If you want to set credentials for all references to a node, use ODNodeSetCredentialsExtended(_:_:_:_:_:_:_:) instead.
See Also
Related Documentation
Working with Records
ODRecordAddMember(_:_:_:)ODRecordAddValue(_:_:_:_:)ODRecordChangePassword(_:_:_:_:)ODRecordContainsMember(_:_:_:)ODRecordCopyDetails(_:_:_:)ODRecordCopyValues(_:_:_:)ODRecordDelete(_:_:)ODRecordGetRecordName(_:)ODRecordGetRecordType(_:)ODRecordGetTypeID()ODRecordRemoveMember(_:_:_:)ODRecordRemoveValue(_:_:_:_:)ODRecordSetNodeCredentials(_:_:_:_:)ODRecordSetValue(_:_:_:_:)ODRecordSynchronize(_:_:)