Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace MiniOrange\OAuth\Helper\OAuth; use MiniOrange\OAuth\Helper\OAuth\S..
Decoded Output download
<?php
namespace MiniOrange\OAuth\Helper\OAuth;
use MiniOrange\OAuth\Helper\OAuth\SAML2Utilities;
use MiniOrange\OAuth\Helper\OAuthConstants;
class AccessTokenRequest
{
private $clientID;
private $clientSecret;
private $grantType;
private $redirectURL;
private $code;
public function __construct($AN, $oa, $V_, $KL, $kx)
{
$this->clientID = $AN;
$this->clientSecret = $oa;
$this->grantType = $V_;
$this->redirectURL = $KL;
$this->code = $kx;
}
private function generateRequest()
{
$tk = ["redirect_uri" => $this->redirectURL, "grant_type" => OAuthConstants::GRANT_TYPE, "client_id" => $this->clientID, "client_secret" => $this->clientSecret, "code" => $this->code];
return $tk;
}
public function build()
{
$tk = $this->generateRequest();
return $tk;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace MiniOrange\OAuth\Helper\OAuth;
use MiniOrange\OAuth\Helper\OAuth\SAML2Utilities;
use MiniOrange\OAuth\Helper\OAuthConstants;
class AccessTokenRequest
{
private $clientID;
private $clientSecret;
private $grantType;
private $redirectURL;
private $code;
public function __construct($AN, $oa, $V_, $KL, $kx)
{
$this->clientID = $AN;
$this->clientSecret = $oa;
$this->grantType = $V_;
$this->redirectURL = $KL;
$this->code = $kx;
}
private function generateRequest()
{
$tk = ["\162\145\x64\x69\x72\x65\x63\x74\x5f\x75\x72\151" => $this->redirectURL, "\x67\162\x61\x6e\x74\x5f\x74\x79\x70\145" => OAuthConstants::GRANT_TYPE, "\143\x6c\x69\145\156\164\137\151\x64" => $this->clientID, "\x63\154\151\x65\156\x74\x5f\x73\x65\143\162\145\164" => $this->clientSecret, "\x63\x6f\144\x65" => $this->code];
return $tk;
}
public function build()
{
$tk = $this->generateRequest();
return $tk;
}
}
Function Calls
None |
Stats
MD5 | 006717bf4dfb8ffa675356f91e3f24fa |
Eval Count | 0 |
Decode Time | 45 ms |