src/Storage/Configurator/LocalAuthConfigurator.php
public function validateUserData($userData)
    {
        $this->assertRequired($userData, "pwhash");
        $this->assertString($userData, "pwhash");
        
        // All remaining options are optional
        $this->assertString($userData, "email");
        $this->assertArray($userData, "attributes");
        $this->assertString($userData, "encoder");
        $this->assertBool($userData, "pwreset");
        $this->assertArrayOfStrings($userData, "groups");
        $this->assertString($userData, "displayName");
    }
public function validateUserData($userData)
    {
        $this->assertRequired($userData, "pwhash");
        $this->assertString($userData, "pwhash");
        
        // All remaining options are optional
        $this->assertString($userData, "email");
        $this->assertArray($userData, "attributes");
        $this->assertString($userData, "encoder");
        $this->assertBool($userData, "pwreset");
        $this->assertArrayOfStrings($userData, "groups");
        $this->assertString($userData, "displayName");
    }
public function validateUserData ( $ userData ) { $ this -> assertRequired ( $ userData , "pwhash" ) ; $ this -> assertString ( $ userData , "pwhash" ) ; // All remaining options are optional $ this -> assertString ( $ userData , "email" ) ; $ this -> assertArray ( $ userData , "attributes" ) ; $ this -> assertString ( $ userData , "encoder" ) ; $ this -> assertBool ( $ userData , "pwreset" ) ; $ this -> assertArrayOfStrings ( $ userData , "groups" ) ; $ this -> assertString ( $ userData , "displayName" ) ; }
Validates all user parameters

@param array $userData Userdata array
@throws ConfigurationException On a failed assertation
Validates all user parameters