Subject.php 550 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace fphammerle\yii2\auth\clientcert;
  3. class Subject extends \yii\db\ActiveRecord
  4. {
  5. public static function tableName()
  6. {
  7. return 'identity_cert_subject';
  8. }
  9. // public function getIdentityId()
  10. // {
  11. // return $this->identity_id;
  12. // }
  13. // public static function getIdentityClass()
  14. // {
  15. // return \Yii::$app->user->identityClass;
  16. // }
  17. //
  18. // public function getIdentity()
  19. // {
  20. // return $this->hasOne(self::getIdentityClass(), ['id' => 'identity_id']);
  21. // }
  22. }