src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/RaListingRepository.php 1 location
|
@@ 122-130 (lines=9) @@
|
119 |
|
* @param IdentityId $identityId |
120 |
|
* @return void |
121 |
|
*/ |
122 |
|
public function removeByIdentityId(IdentityId $identityId) |
123 |
|
{ |
124 |
|
$this->getEntityManager()->createQueryBuilder() |
125 |
|
->delete($this->_entityName, 'ral') |
126 |
|
->where('ral.identityId = :identityId') |
127 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
128 |
|
->getQuery() |
129 |
|
->execute(); |
130 |
|
} |
131 |
|
|
132 |
|
/** |
133 |
|
* @param RaListing $raListing |
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
|
@@ 110-118 (lines=9) @@
|
107 |
|
* @param IdentityId $identityId |
108 |
|
* @return void |
109 |
|
*/ |
110 |
|
public function removeByIdentityId(IdentityId $identityId) |
111 |
|
{ |
112 |
|
$this->getEntityManager()->createQueryBuilder() |
113 |
|
->delete($this->_entityName, 'al') |
114 |
|
->where('al.identityId = :identityId') |
115 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
116 |
|
->getQuery() |
117 |
|
->execute(); |
118 |
|
} |
119 |
|
|
120 |
|
/** |
121 |
|
* @param AuditLogEntry $entry |
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/IdentityRepository.php 1 location
|
@@ 143-151 (lines=9) @@
|
140 |
|
->getSingleResult(); |
141 |
|
} |
142 |
|
|
143 |
|
public function removeByIdentityId(IdentityId $identityId) |
144 |
|
{ |
145 |
|
$this->getEntityManager()->createQueryBuilder() |
146 |
|
->delete($this->_entityName, 'i') |
147 |
|
->where('i.id = :identityId') |
148 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
149 |
|
->getQuery() |
150 |
|
->execute(); |
151 |
|
} |
152 |
|
} |
153 |
|
|
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/RaSecondFactorRepository.php 1 location
|
@@ 140-148 (lines=9) @@
|
137 |
|
* @param IdentityId $identityId |
138 |
|
* @return void |
139 |
|
*/ |
140 |
|
public function removeByIdentityId(IdentityId $identityId) |
141 |
|
{ |
142 |
|
$this->getEntityManager()->createQueryBuilder() |
143 |
|
->delete($this->_entityName, 'rasf') |
144 |
|
->where('rasf.identityId = :identityId') |
145 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
146 |
|
->getQuery() |
147 |
|
->execute(); |
148 |
|
} |
149 |
|
|
150 |
|
public function save(RaSecondFactor $secondFactor) |
151 |
|
{ |
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/VerifiedSecondFactorRepository.php 1 location
|
@@ 102-110 (lines=9) @@
|
99 |
|
return $queryBuilder->getQuery(); |
100 |
|
} |
101 |
|
|
102 |
|
public function removeByIdentityId(IdentityId $identityId) |
103 |
|
{ |
104 |
|
$this->getEntityManager()->createQueryBuilder() |
105 |
|
->delete($this->_entityName, 'sf') |
106 |
|
->where('sf.identityId = :identityId') |
107 |
|
->setParameter('identityId', $identityId->getIdentityId()) |
108 |
|
->getQuery() |
109 |
|
->execute(); |
110 |
|
} |
111 |
|
|
112 |
|
/** |
113 |
|
* @param VerifiedSecondFactor $secondFactor |