Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_..
Decoded Output download
<? defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->helper('cookie');
$this->load->library('OpenIDConnectClient');
$this->oidc = new OpenIDConnectClient();
$this->oidc->setClientID(CLIENT);
$this->oidc->setClientSecret(SECRET);
$this->oidc->providerConfigParam(array(
'token_endpoint'=>'https://login.microsoftonline.com/'.TENENT.'/oauth2/v2.0/token',
'userinfo_endpoint'=>'https://graph.microsoft.com/v1.0/me',
'authorization_endpoint'=>'https://login.microsoftonline.com/'.TENENT.'/oauth2/v2.0/authorize'));
$this->oidc->setProviderURL('https://login.microsoftonline.com/'.TENENT);
$this->oidc->setRedirectURL(base_url().'welcome/login');
$this->oidc->setIssuer('https://login.microsoftonline.com/'.TENENT.'/v2.0');
$this->load->model('AuthModel');
$this->load->model('Users_Model');
} ?>
Did this file decode correctly?
Original Code
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->helper('cookie');
$this->load->library('OpenIDConnectClient');
$this->oidc = new OpenIDConnectClient();
$this->oidc->setClientID(CLIENT);
$this->oidc->setClientSecret(SECRET);
$this->oidc->providerConfigParam(array(
'token_endpoint'=>'https://login.microsoftonline.com/'.TENENT.'/oauth2/v2.0/token',
'userinfo_endpoint'=>'https://graph.microsoft.com/v1.0/me',
'authorization_endpoint'=>'https://login.microsoftonline.com/'.TENENT.'/oauth2/v2.0/authorize'));
$this->oidc->setProviderURL('https://login.microsoftonline.com/'.TENENT);
$this->oidc->setRedirectURL(base_url().'welcome/login');
$this->oidc->setIssuer('https://login.microsoftonline.com/'.TENENT.'/v2.0');
$this->load->model('AuthModel');
$this->load->model('Users_Model');
}
Function Calls
None |
Stats
MD5 | 1fe9f6a0764f417b7788b3f7c70bd4f9 |
Eval Count | 0 |
Decode Time | 54 ms |