LdapTools\Operation\AuthenticationOperation::getLogArray PHP Method

getLogArray() public method

public getLogArray ( )
    public function getLogArray()
    {
        // By default we probably shouldn't expose password info to the logger.
        // Though it is still available via the getPassword() method if needed.
        return $this->mergeLogDefaults(['Username' => $this->properties['username'], 'Password' => LdapUtilities::MASK_PASSWORD, 'Anonymous' => var_export($this->properties['isAnonymousBind'], true), 'Switch to Credentials' => var_export($this->properties['switchToCredentials'], true)]);
    }