I hereby claim:
- I am kiall on github.
- I am kiall (https://keybase.io/kiall) on keybase.
- I have a public key whose fingerprint is CABB 372A 4BDD EA49 C21F ED52 9D78 AE5F 6DD1 92A2
To claim this, I am signing this object:
d-i debian-installer/language string en | |
d-i debian-installer/locale string en_US.UTF-8 | |
d-i localechooser/preferred-locale string en_US.UTF-8 | |
d-i localechooser/supported-locales en_US.UTF-8 | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/layout select USA | |
d-i keyboard-configuration/variant select USA | |
d-i keyboard-configuration/modelcode string pc105 |
I hereby claim:
To claim this, I am signing this object:
<?php | |
error_reporting(E_ALL); | |
ini_set('display_errors', TRUE); | |
ini_set('display_startup_errors', TRUE); | |
<?php defined('SYSPATH') or die('No direct script access.'); | |
class Model_Bla extends ORM { | |
public function rules() | |
{ | |
return array( | |
'phone_one' => array( | |
array('at_least', array($this, 1, array('phone_one', 'phone_two', 'phone_three'))), | |
), |
object Validation(6) { | |
protected _bound => array(4) ( | |
":validation" => object Validation(6) { | |
*RECURSION* | |
} | |
":data" => array(5) ( | |
"client_id" => string(4) "test" | |
"response_type" => string(4) "code" | |
"redirect_uri" => string(30) "http://wk01-lmst.managedit.ie/" | |
"state" => NULL |
<?php defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* | |
* | |
* @package OAuth2 | |
* @category Library | |
* @author Managed I.T. | |
* @copyright (c) 2011 Managed I.T. | |
*/ |
if ($request->method() == Request::GET) | |
{ | |
// Basic Request Validation | |
$params = $this->_get_authorize_params($request); | |
$validation = Validation::factory($params) | |
->rule('client_id', 'not_empty') | |
->rule('client_id', 'regex', array(':value', OAuth2::CLIENT_ID_REGEXP)) | |
->rule('response_type', 'not_empty') | |
->rule('response_type', 'regex', array(':value', OAuth2::RESPONSE_TYPE_REGEXP)) |
<?php defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* | |
* | |
* @package OAuth2 | |
* @category Library | |
* @author Managed I.T. | |
* @copyright (c) 2011 Managed I.T. | |
*/ | |
class OAuth2 { |
<?php defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* | |
* | |
* @package OAuth2 | |
* @category Library | |
* @author Managed I.T. | |
* @copyright (c) 2011 Managed I.T. | |
*/ |
/oauth2/authorize?response_type=code&client_id=[CLIENT_ID]&redirect_uri=[REDIRECT_URI] | |
/oauth2/authorize?response_type=token&client_id=[CLIENT_ID]&redirect_uri=[REDIRECT_URI] | |
/oauth2/token?client_id=[CLIENT_ID]&client_secret=[CLIENT_SECRET]&redirect_uri=[REDIRECT_URI]&grant_type=authorization_code&code=[CODE] | |
/oauth2/token?client_id=[CLIENT_ID]&client_secret=[CLIENT_SECRET]&redirect_uri=[REDIRECT_URI]&grant_type=refresh_token&refresh_token=[REFRESH_TOKEN] | |
/protected/resource?client_id=[CLIENT_ID]&client_secret=[CLIENT_SECRET]&access_token=[ACCESS_TOKEN] |