Adldap\Laravel\Auth\NoDatabaseUserProvider::retrieveById PHP Method

retrieveById() public method

public retrieveById ( $identifier )
    public function retrieveById($identifier)
    {
        $user = $this->newAdldapUserQuery()->where([$this->getSchema()->objectSid() => $identifier])->first();
        if ($user instanceof Authenticatable) {
            // We'll verify we have the correct instance just to ensure we
            // don't return an incompatible model that may be returned.
            return $user;
        }
    }