Skip to content

Commit 1588f21

Browse files
committed
deploy: dd89255
1 parent 8f5a334 commit 1588f21

File tree

9 files changed

+118
-66
lines changed

9 files changed

+118
-66
lines changed

controllers/AuthController.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ <h3 id="methods">
316316

317317
<tr>
318318
<td class="col-md-4">
319-
<div class="io-line">Defined in <a href="" data-line="62"
320-
class="link-to-prism">src/core/auth/auth.controller.ts:62</a></div>
319+
<div class="io-line">Defined in <a href="" data-line="64"
320+
class="link-to-prism">src/core/auth/auth.controller.ts:64</a></div>
321321
</td>
322322
</tr>
323323

@@ -407,8 +407,8 @@ <h3 id="methods">
407407

408408
<tr>
409409
<td class="col-md-4">
410-
<div class="io-line">Defined in <a href="" data-line="52"
411-
class="link-to-prism">src/core/auth/auth.controller.ts:52</a></div>
410+
<div class="io-line">Defined in <a href="" data-line="54"
411+
class="link-to-prism">src/core/auth/auth.controller.ts:54</a></div>
412412
</td>
413413
</tr>
414414

@@ -601,7 +601,9 @@ <h3 id="methods">
601601
@UseGuards(AuthGuard(&#x27;jwt&#x27;))
602602
@ApiOperation({ summary: &#x27;Récupération de la session en cours&#x27; })
603603
public async session(@Res() res: Response, @ReqIdentity() identity: AgentType): Promise&lt;Response&gt; {
604+
this.logger.debug(&#x60;Session request for ${identity.id} (${identity.email})&#x60;);
604605
const user &#x3D; await this.service.getSessionData(identity);
606+
this.logger.debug(&#x60;Session data delivered for ${identity.id} (${identity.email}) with ${JSON.stringify(user)}&#x60;);
605607
return res.status(HttpStatus.OK).json({
606608
user: {
607609
...omit(user, [&#x27;security&#x27;]),

coverage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@
15071507
<td>JwtStrategy</td>
15081508
<td align="right" data-sort="0">
15091509
<span class="coverage-percent">0 %</span>
1510-
<span class="coverage-count">(0/3)</span>
1510+
<span class="coverage-count">(0/4)</span>
15111511
</td>
15121512
</tr>
15131513
<tr class="low">

injectables/JwtStrategy.html

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,21 @@ <h3>Extends</h3>
132132
<h3 id="index">Index</h3>
133133
<table class="table table-sm table-bordered index-table">
134134
<tbody>
135+
<tr>
136+
<td class="col-md-4">
137+
<h6><b>Properties</b></h6>
138+
</td>
139+
</tr>
140+
<tr>
141+
<td class="col-md-4">
142+
<ul class="index-list">
143+
<li>
144+
<span class="modifier">Protected</span>
145+
<a href="#logger" >logger</a>
146+
</li>
147+
</ul>
148+
</td>
149+
</tr>
135150

136151
<tr>
137152
<td class="col-md-4">
@@ -169,7 +184,7 @@ <h3 id="constructor">Constructor</h3>
169184
</tr>
170185
<tr>
171186
<td class="col-md-4">
172-
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/core/auth/_strategies/jwt.strategy.ts:11</a></div>
187+
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">src/core/auth/_strategies/jwt.strategy.ts:12</a></div>
173188
</td>
174189
</tr>
175190

@@ -247,8 +262,8 @@ <h3 id="methods">
247262

248263
<tr>
249264
<td class="col-md-4">
250-
<div class="io-line">Defined in <a href="" data-line="25"
251-
class="link-to-prism">src/core/auth/_strategies/jwt.strategy.ts:25</a></div>
265+
<div class="io-line">Defined in <a href="" data-line="27"
266+
class="link-to-prism">src/core/auth/_strategies/jwt.strategy.ts:27</a></div>
252267
</td>
253268
</tr>
254269

@@ -315,6 +330,39 @@ <h3 id="methods">
315330
</div>
316331
</td>
317332
</tr>
333+
</tbody>
334+
</table>
335+
</section>
336+
<section data-compodoc="block-properties">
337+
338+
<h3 id="inputs">
339+
Properties
340+
</h3>
341+
<table class="table table-sm table-bordered">
342+
<tbody>
343+
<tr>
344+
<td class="col-md-4">
345+
<a name="logger"></a>
346+
<span class="name">
347+
<span class="modifier">Protected</span>
348+
<span ><b>logger</b></span>
349+
<a href="#logger"><span class="icon ion-ios-link"></span></a>
350+
</span>
351+
</td>
352+
</tr>
353+
<tr>
354+
<td class="col-md-4">
355+
<i>Type : </i> <code><a href="../classes/Logger.html" target="_self" >Logger</a></code>
356+
357+
</td>
358+
</tr>
359+
<tr>
360+
<td class="col-md-4">
361+
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">src/core/auth/_strategies/jwt.strategy.ts:12</a></div>
362+
</td>
363+
</tr>
364+
365+
318366
</tbody>
319367
</table>
320368
</section>
@@ -334,6 +382,8 @@ <h3 id="methods">
334382

335383
@Injectable()
336384
export class JwtStrategy extends PassportStrategy(Strategy, &#x27;jwt&#x27;) {
385+
protected logger: Logger;
386+
337387
constructor(
338388
private readonly auth: AuthService,
339389
config: ConfigService,
@@ -352,7 +402,7 @@ <h3 id="methods">
352402
payload: JwtPayload &amp; { identity: AgentType },
353403
done: VerifiedCallback,
354404
): Promise&lt;void&gt; {
355-
Logger.verbose(&#x60;Atempt to authenticate with JTI: &lt;${payload.jti}&gt;&#x60;, JwtStrategy.name);
405+
this.logger.verbose(&#x60;Atempt to authenticate with JTI: &lt;${payload.jti}&gt;&#x60;, JwtStrategy.name);
356406
if (!payload?.identity) return done(new UnauthorizedException(), false);
357407
const user &#x3D; await this.auth.verifyIdentity(payload);
358408

js/search/search_index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/KeyringsModule.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@
117117
<title>cluster_KeyringsModule</title>
118118
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="157,-70 157,-268 339,-268 339,-70 157,-70"/>
119119
</g>
120-
<g id="clust4" class="cluster">
121-
<title>cluster_KeyringsModule_exports</title>
122-
<polygon fill="none" stroke="black" points="184,-208 184,-260 312,-260 312,-208 184,-208"/>
123-
</g>
124120
<g id="clust6" class="cluster">
125121
<title>cluster_KeyringsModule_providers</title>
126122
<polygon fill="none" stroke="black" points="165,-78 165,-130 331,-130 331,-78 165,-78"/>
127123
</g>
124+
<g id="clust4" class="cluster">
125+
<title>cluster_KeyringsModule_exports</title>
126+
<polygon fill="none" stroke="black" points="184,-208 184,-260 312,-260 312,-208 184,-208"/>
127+
</g>
128128
<!-- KeyringsService -->
129129
<g id="node1" class="node">
130130
<title>KeyringsService </title>

modules/KeyringsModule/dependencies.svg

Lines changed: 4 additions & 4 deletions
Loading

modules/PasswdModule.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -117,67 +117,67 @@
117117
<title>cluster_PasswdModule</title>
118118
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-195 568,-195 568,-70 8,-70"/>
119119
</g>
120-
<g id="clust3" class="cluster">
121-
<title>cluster_PasswdModule_imports</title>
122-
<polygon fill="none" stroke="black" points="178,-78 178,-130 560,-130 560,-78 178,-78"/>
123-
</g>
124120
<g id="clust6" class="cluster">
125121
<title>cluster_PasswdModule_providers</title>
126-
<polygon fill="none" stroke="black" points="16,-78 16,-130 170,-130 170,-78 16,-78"/>
122+
<polygon fill="none" stroke="black" points="406,-78 406,-130 560,-130 560,-78 406,-78"/>
123+
</g>
124+
<g id="clust3" class="cluster">
125+
<title>cluster_PasswdModule_imports</title>
126+
<polygon fill="none" stroke="black" points="16,-78 16,-130 398,-130 398,-78 16,-78"/>
127127
</g>
128128
<!-- BackendsModule -->
129129
<g id="node1" class="node">
130130
<title>BackendsModule</title>
131-
<polygon fill="#8dd3c7" stroke="black" points="551.97,-122 548.97,-126 527.97,-126 524.97,-122 438.03,-122 438.03,-86 551.97,-86 551.97,-122"/>
132-
<text text-anchor="middle" x="495" y="-99.8" font-family="Times,serif" font-size="14.00">BackendsModule</text>
131+
<polygon fill="#8dd3c7" stroke="black" points="389.97,-122 386.97,-126 365.97,-126 362.97,-122 276.03,-122 276.03,-86 389.97,-86 389.97,-122"/>
132+
<text text-anchor="middle" x="333" y="-99.8" font-family="Times,serif" font-size="14.00">BackendsModule</text>
133133
</g>
134134
<!-- PasswdModule -->
135135
<g id="node4" class="node">
136136
<title>PasswdModule</title>
137-
<polygon fill="#8dd3c7" stroke="black" points="351.54,-187 348.54,-191 327.54,-191 324.54,-187 250.46,-187 250.46,-151 351.54,-151 351.54,-187"/>
138-
<text text-anchor="middle" x="301" y="-164.8" font-family="Times,serif" font-size="14.00">PasswdModule</text>
137+
<polygon fill="#8dd3c7" stroke="black" points="317.54,-187 314.54,-191 293.54,-191 290.54,-187 216.46,-187 216.46,-151 317.54,-151 317.54,-187"/>
138+
<text text-anchor="middle" x="267" y="-164.8" font-family="Times,serif" font-size="14.00">PasswdModule</text>
139139
</g>
140140
<!-- BackendsModule&#45;&gt;PasswdModule -->
141141
<g id="edge1" class="edge">
142142
<title>BackendsModule&#45;&gt;PasswdModule</title>
143-
<path fill="none" stroke="black" d="M495,-122.11C495,-141.34 495,-169 495,-169 495,-169 361.72,-169 361.72,-169"/>
144-
<polygon fill="black" stroke="black" points="361.72,-165.5 351.72,-169 361.72,-172.5 361.72,-165.5"/>
143+
<path fill="none" stroke="black" d="M296.89,-122.11C296.89,-122.11 296.89,-140.99 296.89,-140.99"/>
144+
<polygon fill="black" stroke="black" points="293.39,-140.99 296.89,-150.99 300.39,-140.99 293.39,-140.99"/>
145145
</g>
146146
<!-- IdentitiesModule -->
147147
<g id="node2" class="node">
148148
<title>IdentitiesModule</title>
149-
<polygon fill="#8dd3c7" stroke="black" points="419.65,-122 416.65,-126 395.65,-126 392.65,-122 308.35,-122 308.35,-86 419.65,-86 419.65,-122"/>
150-
<text text-anchor="middle" x="364" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesModule</text>
149+
<polygon fill="#8dd3c7" stroke="black" points="257.65,-122 254.65,-126 233.65,-126 230.65,-122 146.35,-122 146.35,-86 257.65,-86 257.65,-122"/>
150+
<text text-anchor="middle" x="202" y="-99.8" font-family="Times,serif" font-size="14.00">IdentitiesModule</text>
151151
</g>
152152
<!-- IdentitiesModule&#45;&gt;PasswdModule -->
153153
<g id="edge2" class="edge">
154154
<title>IdentitiesModule&#45;&gt;PasswdModule</title>
155-
<path fill="none" stroke="black" d="M329.97,-122.11C329.97,-122.11 329.97,-140.99 329.97,-140.99"/>
156-
<polygon fill="black" stroke="black" points="326.47,-140.99 329.97,-150.99 333.47,-140.99 326.47,-140.99"/>
155+
<path fill="none" stroke="black" d="M237.03,-122.11C237.03,-122.11 237.03,-140.99 237.03,-140.99"/>
156+
<polygon fill="black" stroke="black" points="233.53,-140.99 237.03,-150.99 240.53,-140.99 233.53,-140.99"/>
157157
</g>
158158
<!-- SettingsModule -->
159159
<g id="node3" class="node">
160160
<title>SettingsModule</title>
161-
<polygon fill="#8dd3c7" stroke="black" points="290.16,-122 287.16,-126 266.16,-126 263.16,-122 185.84,-122 185.84,-86 290.16,-86 290.16,-122"/>
162-
<text text-anchor="middle" x="238" y="-99.8" font-family="Times,serif" font-size="14.00">SettingsModule</text>
161+
<polygon fill="#8dd3c7" stroke="black" points="128.16,-122 125.16,-126 104.16,-126 101.16,-122 23.84,-122 23.84,-86 128.16,-86 128.16,-122"/>
162+
<text text-anchor="middle" x="76" y="-99.8" font-family="Times,serif" font-size="14.00">SettingsModule</text>
163163
</g>
164164
<!-- SettingsModule&#45;&gt;PasswdModule -->
165165
<g id="edge3" class="edge">
166166
<title>SettingsModule&#45;&gt;PasswdModule</title>
167-
<path fill="none" stroke="black" d="M270.28,-122.11C270.28,-122.11 270.28,-140.99 270.28,-140.99"/>
168-
<polygon fill="black" stroke="black" points="266.78,-140.99 270.28,-150.99 273.78,-140.99 266.78,-140.99"/>
167+
<path fill="none" stroke="black" d="M76,-122.11C76,-141.34 76,-169 76,-169 76,-169 206.32,-169 206.32,-169"/>
168+
<polygon fill="black" stroke="black" points="206.32,-172.5 216.32,-169 206.32,-165.5 206.32,-172.5"/>
169169
</g>
170170
<!-- PasswdService -->
171171
<g id="node5" class="node">
172172
<title>PasswdService</title>
173-
<ellipse fill="#fdb462" stroke="black" cx="93" cy="-104" rx="68.92" ry="18"/>
174-
<text text-anchor="middle" x="93" y="-99.8" font-family="Times,serif" font-size="14.00">PasswdService</text>
173+
<ellipse fill="#fdb462" stroke="black" cx="483" cy="-104" rx="68.92" ry="18"/>
174+
<text text-anchor="middle" x="483" y="-99.8" font-family="Times,serif" font-size="14.00">PasswdService</text>
175175
</g>
176176
<!-- PasswdService&#45;&gt;PasswdModule -->
177177
<g id="edge4" class="edge">
178178
<title>PasswdService&#45;&gt;PasswdModule</title>
179-
<path fill="none" stroke="black" d="M93,-122.11C93,-141.34 93,-169 93,-169 93,-169 240.38,-169 240.38,-169"/>
180-
<polygon fill="black" stroke="black" points="240.38,-172.5 250.38,-169 240.38,-165.5 240.38,-172.5"/>
179+
<path fill="none" stroke="black" d="M483,-122.11C483,-141.34 483,-169 483,-169 483,-169 327.64,-169 327.64,-169"/>
180+
<polygon fill="black" stroke="black" points="327.64,-165.5 317.64,-169 327.64,-172.5 327.64,-165.5"/>
181181
</g>
182182
</g>
183183
</svg>

modules/PasswdModule/dependencies.svg

Lines changed: 23 additions & 23 deletions
Loading

properties.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
</ol>
103103
<ul class="properties-list">
104104
<li>
105-
<b>Version</b> : 1.2.31</li>
105+
<b>Version</b> : 1.2.32</li>
106106
<li>
107107
<b>Description</b> : Synchronisation d'Identités Multi-sources</li>
108108
<li>

0 commit comments

Comments
 (0)