src/EntityDescriptor/User/AbstractUser.php
public static function httpAuthenticate() {
		try { 
			static::httpLogin();
			return true;
		} catch( NotFoundException $e ) {
			if( Config::get('httpauth_autocreate') ) {
				$user = static::httpCreate();
				$user->login();
				return true;
			}
		} catch( UserException $e ) { }
		return false;
	}
public static function httpAuthenticate() {
		try { 
			static::httpLogin();
			return true;
		} catch( NotFoundException $e ) {
			if( Config::get('httpauth_autocreate') ) {
				$user = static::httpCreate();
				$user->login();
				return true;
			}
		} catch( UserException $e ) { }
		return false;
	}
public static function httpAuthenticate ( ) { try { static :: httpLogin ( ) ; return true ; } catch ( NotFoundException $ e ) { if ( Config :: get ( 'httpauth_autocreate' ) ) { $ user = static :: httpCreate ( ) ; $ user -> login ( ) ; return true ; } } catch ( UserException $ e ) { } return false ; }
Login from HTTP authentication, create user if not existing

@return boolean
@warning Require other data than name and password are optional

Create user from HTTP authentication
Login from HTTP authentication create user if not existing