[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/oauthserver/storage/ -> PhabricatorOAuthServerAuthorizationCode.php (source)

   1  <?php
   2  
   3  final class PhabricatorOAuthServerAuthorizationCode
   4    extends PhabricatorOAuthServerDAO {
   5  
   6    protected $id;
   7    protected $code;
   8    protected $clientPHID;
   9    protected $clientSecret;
  10    protected $userPHID;
  11    protected $redirectURI;
  12  
  13    public function getConfiguration() {
  14      return array(
  15        self::CONFIG_COLUMN_SCHEMA => array(
  16          'code' => 'text32',
  17          'clientSecret' => 'text32',
  18          'redirectURI' => 'text255',
  19        ),
  20        self::CONFIG_KEY_SCHEMA => array(
  21          'code' => array(
  22            'columns' => array('code'),
  23            'unique' => true,
  24          ),
  25        ),
  26      ) + parent::getConfiguration();
  27    }
  28  
  29  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1