UserModel::getAuthentication PHP Method

getAuthentication() public method

Get the a user authentication row.
public getAuthentication ( string $UniqueID, string $Provider ) : array | false
$UniqueID string The unique ID of the user in the foreign authentication scheme.
$Provider string The key of the provider.
return array | false
    public function getAuthentication($UniqueID, $Provider)
    {
        return $this->SQL->getWhere('UserAuthentication', ['ForeignUserKey' => $UniqueID, 'ProviderKey' => $Provider])->firstRow(DATASET_TYPE_ARRAY);
    }
UserModel