Get user social id or null if it is not set

@return string|null
487077
public function getSocialId(){
		$result = null;
		if(isset($this->userInfo[$this->socialFieldsMap['socialId']])) {
			$result = $this->userInfo[$this->socialFieldsMap['socialId']];
			}
		return $result;
		}
991320
public function user()
    {
        if ($this->loggedOut) {
            return NULL;
        }
        // If we've already retrieved the user for the current request we can just
        // return it back immediately. We do not want to fetch the user data on
        // every call to this method because that would be tremendously slow.
        if (!is_null($this->user)) {
            if ($this->session->get('expires_at') < Carbon::now()) {
                $this->logout();

                return NULL;
            }

            return $this->user;
        }
        // First we will try to load the user using the identifier in the session if
        // one exists. Otherwise we will check for a "remember me" cookie in this
        // request, and if one exists, attempt to retrieve the user using that.
        $id = $this->session->get($this->getName());
        $user = NULL;
        if (!is_null($id)) {
            $token = $this->validateToken($id);
            if (!$token) {
                return NULL;
            }
            $user = new User();
            if ($token->hasClaim('sub')) {
                $user->id = $token->getClaim('sub');
            }
            if ($token->hasClaim('name')) {
                $user->name = $token->getClaim('name');
            }
            if ($token->hasClaim('email')) {
                $user->email = $token->getClaim('email');
            }
            if ($token->hasClaim('roles')) {
                $user->roles = explode(' ', $token->getClaim('roles'));
            }
            if ($token->hasClaim('registries')) {
                $user->registries = explode(' ', $token->getClaim('registries'));
            }
            if ($token->hasClaim('cpf')) {
                $user->cpf = $token->getClaim('cpf');
            }
            if ($token->hasClaim('avatar')) {
                $user->avatar = $token->getClaim('avatar');
            }
            if ($user) {
                $this->fireAuthenticatedEvent($user);
            }
        }

        return $this->user = $user;
    }
253562
public function getFacebook()
        {
            return isset($this->_data[self::PROFILE][self::FACEBOOK_ID]) ? $this->_data[self::PROFILE][self::FACEBOOK_ID] : null;
        }
746896
public function getIdentity()
    {
        if($this->hasIdentity()){
            if($this->identity === null){
                
                $identity = $this->authenticationService->getIdentity();
                $identity = array_merge(
                    $identity,
                    $this->getOption('identity')        
                );
                
                // Extend with real identity information
                if ($this->getServiceBroker()->exists('User')) {
                    $userService = $this->getServiceBroker()->service('User');
                    
                    // Access filter needs to be disabled to prevent infinite looping
                    $userService->disableFilter('access');
                    
                    $extension = $userService->find(
                        '$'.$identity['username'],
                        array('id', 'email')
                    );
                    
                    if ($extension) {
                        $identity = array_merge($identity, $extension);
                    }
                }
                
                $this->identity = $identity;
            }
            
            return $this->identity;
        }
        else{
            return null;
        }
    }
383220
public function get_user_id()
	{
		if (empty($this->user))
		{
			return false;
		}

		return array($this->id, (int) $this->user['id']);
	}
876063
public function getUser()
    {
        if ($this->user_id) {
            return $this->hasOne(Yii::$app->user->identityClass, ['id' => 'user_id']);
        }
        return null;
    }
713635
protected function getUsername()
    {

        // initialize the name
        $name = null;

        // query whether or not we've an principal
        if ($identity = $this->getIdentity()) {
            $name = $identity->getName();
        }

        // return the name
        return $name;
    }
1028538
public function getProfileAlias()
    {
        $link = $this->getProfile();
        if ($link && $link->href) {
            $guidOrAlias = explode('/', $link->href);
            $guidOrAlias = end($guidOrAlias);
            return isset(self::$_profileAliases[$guidOrAlias]) ? self::$_profileAliases[$guidOrAlias] : $guidOrAlias;
        } else {
            return null;
        }
    }
1137865
public function getId()
    {
      $decoded = $this->getDecoded();
      return !is_null($decoded)
                ? $decoded->data->{$this->id_field}
                : null;
    }
160507
protected function getSidFromRequest()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $sid = null;

        $sForceSidParam = $myConfig->getRequestParameter($this->getForcedName());
        $sSidParam = $myConfig->getRequestParameter($this->getName());

        //forcing sid for SSL<->nonSSL transitions
        if ($sForceSidParam) {
            $sid = $sForceSidParam;
        } elseif ($this->_getSessionUseCookies() && $this->_getCookieSid()) {
            $sid = $this->_getCookieSid();
        } elseif ($sSidParam) {
            $sid = $sSidParam;
        }

        return $sid;
    }
553222
public function getUserId()
    {
        if (null === $this->userId && null !== $this->user) {
            $this->userId = $this->user->id;
        }

        return $this->userId;
    }
945898
public function getSocialConfig()
    {
        if ($this->SocialConfig == null) {
            $this->SocialConfig = $this->getServiceManager()->get('SocialConfig');
        }

        return $this->SocialConfig;
    }
1133587
public function getUser()
    {
        if (empty($this->obHelper)) {
            return null;
        }

        $sAuthFacadeClass = $this->obHelper->getAuthFacade();

        return $sAuthFacadeClass::getUser();
    }
28200
protected function getSessionId()
    {
        if (!isset($this->token)) return null;

        $checksum = hash('sha256', 'session' . $this->token . $this->secret);
        return "SSO-{$this->broker}-{$this->token}-$checksum";
    }
531838
public function getUserId()
    {
        /* @var $session \Mage_Customer_Model_Session */
        $session = Mage::getSingleton('customer/session');
        $customer = $session->getCustomer();
        if ($customer !== null) {
            return $session->getCustomer()->getId();
        } else {
            return null;
        }
    }
760767
public function clientId()
	{
		if (isset($this->client_id)) {
			return $this->client_id ? $this->client_id : null;
		}
		
		if (!$this->check()) {
			return null;
		}
		
		if (Request::input('client_id')) {
			$this->client_id = Request::input('client_id');
		}
		else if ($id = Authorizer::getClientId()) {
			$this->client_id = $id;
		}
		else {
			$this->client_id = false;
		}
		
		return $this->client_id ? $this->client_id : null;
	}
145321
protected function getUser()
    {
        if ($this->_user === null) {
            $user = $this->module->model('UserIdentity');
            $this->_user = $user::findByUsername($this->username);
        }
        return $this->_user;
    }