kODAuthenticationTypeGetPolicy

Static kODAuthenticationTypeGetPolicy 

Source
pub unsafe static kODAuthenticationTypeGetPolicy: Option<&'static ODAuthenticationType>
Available on crate feature CFOpenDirectoryConstants only.
Expand description

The plug-in should determine which specific authentication method to use.

The plug-in should determine which specific authentication method to use. Authentication is not required to get policies. The authenticator name and password fields may be left blank by using a length of 1 and a zero-byte for the data.

Authentication array has following items in order: authenticator’s name or Password Server ID in UTF8 encoding, authenticator’s password in UTF8 encoding account’s name or Password Server ID

The Password Server does not require authentication for this authentication method. The first two fields are to cover us for future policy changes and to keep the buffer format as standardized as possible.

See also Apple’s documentation