@@ -81,6 +81,11 @@ <h6><b>Properties</b></h6>
81
81
< tr >
82
82
< td class ="col-md-4 ">
83
83
< ul class ="index-list ">
84
+ < li >
85
+ < span class ="modifier "> Public</ span >
86
+ < span class ="modifier "> Optional</ span >
87
+ < a href ="#checkOrigin " > checkOrigin</ a >
88
+ </ li >
84
89
< li >
85
90
< span class ="modifier "> Public</ span >
86
91
< span class ="modifier "> Optional</ span >
@@ -111,6 +116,11 @@ <h6><b>Properties</b></h6>
111
116
< span class ="modifier "> Optional</ span >
112
117
< a href ="#disableAtHashCheck " > disableAtHashCheck</ a >
113
118
</ li >
119
+ < li >
120
+ < span class ="modifier "> Public</ span >
121
+ < span class ="modifier "> Optional</ span >
122
+ < a href ="#disableIdTokenTimer " > disableIdTokenTimer</ a >
123
+ </ li >
114
124
< li >
115
125
< span class ="modifier "> Public</ span >
116
126
< span class ="modifier "> Optional</ span >
@@ -345,7 +355,7 @@ <h3 id="constructor">Constructor</h3>
345
355
</ tr >
346
356
< tr >
347
357
< td class ="col-md-4 ">
348
- < div class ="io-line "> Defined in < a href ="" data-line ="264 " class ="link-to-prism "> projects/lib/src/auth.config.ts:264 </ a > </ div >
358
+ < div class ="io-line "> Defined in < a href ="" data-line ="275 " class ="link-to-prism "> projects/lib/src/auth.config.ts:275 </ a > </ div >
349
359
</ td >
350
360
</ tr >
351
361
@@ -388,6 +398,39 @@ <h3 id="constructor">Constructor</h3>
388
398
< h3 id ="inputs ">
389
399
Properties
390
400
</ h3 >
401
+ < table class ="table table-sm table-bordered ">
402
+ < tbody >
403
+ < tr >
404
+ < td class ="col-md-4 ">
405
+ < a name ="checkOrigin "> </ a >
406
+ < span class ="name ">
407
+ < span class ="modifier "> Public</ span >
408
+ < span class ="modifier "> Optional</ span >
409
+ < span > < b > checkOrigin</ b > </ span >
410
+ < a href ="#checkOrigin "> < span class ="icon ion-ios-link "> </ span > </ a >
411
+ </ span >
412
+ </ td >
413
+ </ tr >
414
+ < tr >
415
+ < td class ="col-md-4 ">
416
+ < i > Default value : </ i > < code > false</ code >
417
+ </ td >
418
+ </ tr >
419
+ < tr >
420
+ < td class ="col-md-4 ">
421
+ < div class ="io-line "> Defined in < a href ="" data-line ="275 " class ="link-to-prism "> projects/lib/src/auth.config.ts:275</ a > </ div >
422
+ </ td >
423
+ </ tr >
424
+
425
+ < tr >
426
+ < td class ="col-md-4 ">
427
+ < div class ="io-description "> < p > Blocks other origins requesting a silent refresh</ p >
428
+ </ div >
429
+ </ td >
430
+ </ tr >
431
+
432
+ </ tbody >
433
+ </ table >
391
434
< table class ="table table-sm table-bordered ">
392
435
< tbody >
393
436
< tr >
@@ -604,6 +647,40 @@ <h3 id="inputs">
604
647
an at_hash EVEN THOUGH its recommended by the OIDC specs.
605
648
Of course, when disabling these checks then we are bypassing
606
649
a security check which means we are more vulnerable.</ p >
650
+ </ div >
651
+ </ td >
652
+ </ tr >
653
+
654
+ </ tbody >
655
+ </ table >
656
+ < table class ="table table-sm table-bordered ">
657
+ < tbody >
658
+ < tr >
659
+ < td class ="col-md-4 ">
660
+ < a name ="disableIdTokenTimer "> </ a >
661
+ < span class ="name ">
662
+ < span class ="modifier "> Public</ span >
663
+ < span class ="modifier "> Optional</ span >
664
+ < span > < b > disableIdTokenTimer</ b > </ span >
665
+ < a href ="#disableIdTokenTimer "> < span class ="icon ion-ios-link "> </ span > </ a >
666
+ </ span >
667
+ </ td >
668
+ </ tr >
669
+ < tr >
670
+ < td class ="col-md-4 ">
671
+ < i > Default value : </ i > < code > false</ code >
672
+ </ td >
673
+ </ tr >
674
+ < tr >
675
+ < td class ="col-md-4 ">
676
+ < div class ="io-line "> Defined in < a href ="" data-line ="270 " class ="link-to-prism "> projects/lib/src/auth.config.ts:270</ a > </ div >
677
+ </ td >
678
+ </ tr >
679
+
680
+ < tr >
681
+ < td class ="col-md-4 ">
682
+ < div class ="io-description "> < p > Allows to disable the timer for the id_token used
683
+ for token refresh</ p >
607
684
</ div >
608
685
</ td >
609
686
</ tr >
@@ -666,7 +743,7 @@ <h3 id="inputs">
666
743
</ tr >
667
744
< tr >
668
745
< td class ="col-md-4 ">
669
- < i > Default value : </ i > < code > null </ code >
746
+ < i > Default value : </ i > < code > '' </ code >
670
747
</ td >
671
748
</ tr >
672
749
< tr >
@@ -986,7 +1063,7 @@ <h3 id="inputs">
986
1063
</ tr >
987
1064
< tr >
988
1065
< td class ="col-md-4 ">
989
- < div class ="io-line "> Defined in < a href ="" data-line ="277 " class ="link-to-prism "> projects/lib/src/auth.config.ts:277 </ a > </ div >
1066
+ < div class ="io-line "> Defined in < a href ="" data-line ="288 " class ="link-to-prism "> projects/lib/src/auth.config.ts:288 </ a > </ div >
990
1067
</ td >
991
1068
</ tr >
992
1069
@@ -2288,7 +2365,7 @@ <h3 id="inputs">
2288
2365
* it does not bring additional security and is therefore
2289
2366
* as good as using no password.
2290
2367
*/
2291
- public dummyClientSecret?: string = null ;
2368
+ public dummyClientSecret?: string = '' ;
2292
2369
2293
2370
/**
2294
2371
* Defines whether https is required.
@@ -2423,6 +2500,17 @@ <h3 id="inputs">
2423
2500
*/
2424
2501
public preserveRequestedRoute? = false;
2425
2502
2503
+ /**
2504
+ * Allows to disable the timer for the id_token used
2505
+ * for token refresh
2506
+ */
2507
+ public disableIdTokenTimer? = false;
2508
+
2509
+ /**
2510
+ * Blocks other origins requesting a silent refresh
2511
+ */
2512
+ public checkOrigin? = false;
2513
+
2426
2514
constructor(json?: Partial<AuthConfig>) {
2427
2515
if (json) {
2428
2516
Object.assign(this, json);
0 commit comments