$id]); } public static function findIdentityByAccessToken($token, $type = null) { throw new NotSupportedException(); } public function getId() { return $this->primaryKey; } public function getAuthKey() { return sprintf('auth-key-%d', $this->id); } public function validateAuthKey($authKey) { return $this->getAuthKey() === $authKey; } }