private function getAccessTokenFields($code)
    {
        $this->oAuthFields = [
            'grant_type' => 'authorization_code',
            'code' => $code,
            'redirect_uri' => $this->mpRedirectURL,
            'client_id' => $this->mpClientId,
            'client_secret' => $this->mpClientSecret,
        ];

        $this->fieldCount = count($this->oAuthFields);

        return $this->oAuthFields;
    }
private function getAccessTokenFields($code)
    {
        $this->oAuthFields = [
            'grant_type' => 'authorization_code',
            'code' => $code,
            'redirect_uri' => $this->mpRedirectURL,
            'client_id' => $this->mpClientId,
            'client_secret' => $this->mpClientSecret,
        ];

        $this->fieldCount = count($this->oAuthFields);

        return $this->oAuthFields;
    }
private function getAccessTokenFields ( $ code ) { $ this -> oAuthFields = [ 'grant_type' => 'authorization_code' , 'code' => $ code , 'redirect_uri' => $ this -> mpRedirectURL , 'client_id' => $ this -> mpClientId , 'client_secret' => $ this -> mpClientSecret , ] ; $ this -> fieldCount = count ( $ this -> oAuthFields ) ; return $ this -> oAuthFields ; }
Field list for Access Token Request

@return array|null
Field list for Access Token Request