コード例 #1
0
ファイル: Client.php プロジェクト: claroline/distribution
 public function __construct()
 {
     parent::__construct();
     $this->accessTokens = new ArrayCollection();
     $this->authCodes = new ArrayCollection();
     $this->refreshTokens = new ArrayCollection();
 }
コード例 #2
0
ファイル: Client.php プロジェクト: josecollazzi/bigblue
 /**
  * @param string $role ( ROLE_WEB | ROLE_MOBILE )
  */
 public function __construct($role = self::ROLE_WEB)
 {
     parent::__construct();
     if ($role == self::ROLE_WEB) {
         $this->role = self::ROLE_MOBILE;
     } else {
         $this->role = self::ROLE_WEB;
     }
 }
コード例 #3
0
ファイル: Client.php プロジェクト: johnpaulada/oauth-api-test
 public function __construct()
 {
     parent::__construct();
 }
コード例 #4
0
ファイル: Client.php プロジェクト: hacklabr/login-cidadao
 public function __construct()
 {
     parent::__construct();
     $this->authorizations = new ArrayCollection();
     $this->owners = new ArrayCollection();
     $this->maxNotificationLevel = Notification::LEVEL_NORMAL;
     $this->allowedScopes = array('public_profile', 'openid');
 }
コード例 #5
0
 public function __construct()
 {
     parent::__construct();
     // your own logic
 }
コード例 #6
0
ファイル: ExternalApp.php プロジェクト: dstansby/camdram
 public function __construct()
 {
     parent::__construct();
     $this->created_at = new \DateTime();
     $this->updated_at = new \DateTime();
 }
コード例 #7
0
ファイル: Client.php プロジェクト: quef/api-bundle
 public function __construct()
 {
     parent::__construct();
     $this->setCreatedAt(new \DateTime());
     // your own logic
 }
コード例 #8
0
ファイル: Client.php プロジェクト: redelivre/login-cidadao
 public function __construct()
 {
     parent::__construct();
     $this->authorizations = new ArrayCollection();
     $this->owners = new ArrayCollection();
     $this->allowedScopes = array('public_profile', 'openid');
 }
コード例 #9
0
 public function __construct()
 {
     parent::__construct();
     $this->users = new ArrayCollection();
 }
コード例 #10
0
ファイル: Client.php プロジェクト: dricaveloso/id-cultura
 public function __construct()
 {
     parent::__construct();
     $this->authorizations = new ArrayCollection();
     $this->owners = new ArrayCollection();
     $this->maxNotificationLevel = Notification::LEVEL_NORMAL;
 }