src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/UnverifiedSecondFactorRepository.php 1 location
|
@@ 63-71 (lines=9) @@
|
60 |
|
return $queryBuilder->getQuery(); |
61 |
|
} |
62 |
|
|
63 |
|
public function removeByIdentityId(IdentityId $identityId) |
64 |
|
{ |
65 |
|
$this->getEntityManager()->createQueryBuilder() |
66 |
|
->delete($this->_entityName, 'sf') |
67 |
|
->where('sf.identityId = :identityId') |
68 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
69 |
|
->getQuery() |
70 |
|
->execute(); |
71 |
|
} |
72 |
|
|
73 |
|
/** |
74 |
|
* @param UnverifiedSecondFactor $secondFactor |
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/VettedSecondFactorRepository.php 1 location
|
@@ 58-66 (lines=9) @@
|
55 |
|
return $queryBuilder->getQuery(); |
56 |
|
} |
57 |
|
|
58 |
|
public function removeByIdentityId(IdentityId $identityId) |
59 |
|
{ |
60 |
|
$this->getEntityManager()->createQueryBuilder() |
61 |
|
->delete($this->_entityName, 'sf') |
62 |
|
->where('sf.identityId = :identityId') |
63 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
64 |
|
->getQuery() |
65 |
|
->execute(); |
66 |
|
} |
67 |
|
|
68 |
|
/** |
69 |
|
* @param VettedSecondFactor $secondFactor |
src/Surfnet/StepupMiddleware/GatewayBundle/Repository/SecondFactorRepository.php 1 location
|
@@ 55-63 (lines=9) @@
|
52 |
|
return $this->findBy(['identityId' => (string) $identityId]); |
53 |
|
} |
54 |
|
|
55 |
|
public function removeByIdentityId(IdentityId $identityId) |
56 |
|
{ |
57 |
|
$this->getEntityManager()->createQueryBuilder() |
58 |
|
->delete($this->_entityName, 'sf') |
59 |
|
->where('sf.identityId = :identityId') |
60 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
61 |
|
->getQuery() |
62 |
|
->execute(); |
63 |
|
} |
64 |
|
|
65 |
|
/** |
66 |
|
* @param SecondFactor $secondFactor |
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/AuditLogRepository.php 1 location
|
@@ 118-126 (lines=9) @@
|
115 |
|
* @param IdentityId $identityId |
116 |
|
* @return void |
117 |
|
*/ |
118 |
|
public function removeByIdentityId(IdentityId $identityId) |
119 |
|
{ |
120 |
|
$this->getEntityManager()->createQueryBuilder() |
121 |
|
->delete($this->_entityName, 'al') |
122 |
|
->where('al.identityId = :identityId') |
123 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
124 |
|
->getQuery() |
125 |
|
->execute(); |
126 |
|
} |
127 |
|
|
128 |
|
/** |
129 |
|
* @param AuditLogEntry $entry |
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/IdentityRepository.php 1 location
|
@@ 157-165 (lines=9) @@
|
154 |
|
->getSingleResult(); |
155 |
|
} |
156 |
|
|
157 |
|
public function removeByIdentityId(IdentityId $identityId) |
158 |
|
{ |
159 |
|
$this->getEntityManager()->createQueryBuilder() |
160 |
|
->delete($this->_entityName, 'i') |
161 |
|
->where('i.id = :identityId') |
162 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
163 |
|
->getQuery() |
164 |
|
->execute(); |
165 |
|
} |
166 |
|
|
167 |
|
/** |
168 |
|
* @param Institution $institution |
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/RaSecondFactorRepository.php 1 location
|
@@ 173-181 (lines=9) @@
|
170 |
|
* @param IdentityId $identityId |
171 |
|
* @return void |
172 |
|
*/ |
173 |
|
public function removeByIdentityId(IdentityId $identityId) |
174 |
|
{ |
175 |
|
$this->getEntityManager()->createQueryBuilder() |
176 |
|
->delete($this->_entityName, 'rasf') |
177 |
|
->where('rasf.identityId = :identityId') |
178 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
179 |
|
->getQuery() |
180 |
|
->execute(); |
181 |
|
} |
182 |
|
|
183 |
|
public function save(RaSecondFactor $secondFactor) |
184 |
|
{ |
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/VerifiedSecondFactorRepository.php 1 location
|
@@ 136-144 (lines=9) @@
|
133 |
|
return $queryBuilder->getQuery(); |
134 |
|
} |
135 |
|
|
136 |
|
public function removeByIdentityId(IdentityId $identityId) |
137 |
|
{ |
138 |
|
$this->getEntityManager()->createQueryBuilder() |
139 |
|
->delete($this->_entityName, 'sf') |
140 |
|
->where('sf.identityId = :identityId') |
141 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
142 |
|
->getQuery() |
143 |
|
->execute(); |
144 |
|
} |
145 |
|
|
146 |
|
/** |
147 |
|
* @param VerifiedSecondFactor $secondFactor |
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/RaListingRepository.php 1 location
|
@@ 177-186 (lines=10) @@
|
174 |
|
* @param IdentityId $identityId |
175 |
|
* @return void |
176 |
|
*/ |
177 |
|
public function removeByIdentityId(IdentityId $identityId) |
178 |
|
{ |
179 |
|
$this->getEntityManager()->createQueryBuilder() |
180 |
|
->delete($this->_entityName, 'ral') |
181 |
|
->where('ral.identityId = :identityId') |
182 |
|
->andWhere('ral.raInstitution = :institution') |
183 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
184 |
|
->getQuery() |
185 |
|
->execute(); |
186 |
|
} |
187 |
|
|
188 |
|
/** |
189 |
|
* @param IdentityId $identityId |