src/Traits/Auth/AuthFactoryTrait.php
public function getAuthFactory(): ?Factory
    {
        if (!$this->hasAuthFactory()) {
            $this->setAuthFactory($this->getDefaultAuthFactory());
        }
        return $this->authFactory;
    }
public function getAuthFactory(): ?Factory
    {
        if (!$this->hasAuthFactory()) {
            $this->setAuthFactory($this->getDefaultAuthFactory());
        }
        return $this->authFactory;
    }
public function getAuthFactory ( ) : ? Factory { if ( ! $ this -> hasAuthFactory ( ) ) { $ this -> setAuthFactory ( $ this -> getDefaultAuthFactory ( ) ) ; } return $ this -> authFactory ; }
Get auth factory

If no auth factory has been set, this method will
set and return a default auth factory, if any such
value is available

@see getDefaultAuthFactory()

@return Factory|null auth factory or null if none auth factory has been set
Get auth factory