Skip to content

Commit a45a359

Browse files
Merge pull request #615 from vdveer/master
Allow clockSkewInSec to be different from 600
2 parents 3e4bb57 + 13313cd commit a45a359

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

docs/classes/AuthConfig.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,12 @@ <h3 id="inputs">
444444
</span>
445445
</td>
446446
</tr>
447+
<tr>
448+
<td class="col-md-4">
449+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
450+
451+
</td>
452+
</tr>
447453
<tr>
448454
<td class="col-md-4">
449455
<div class="io-line">Defined in <a href="" data-line="222" class="link-to-prism">projects/lib/src/auth.config.ts:222</a></div>
@@ -2161,7 +2167,7 @@ <h3 id="inputs">
21612167
/**
21622168
* The window of time (in seconds) to allow the current time to deviate when validating id_token&#x27;s iat and exp values.
21632169
*/
2164-
public clockSkewInSec?: 600;
2170+
public clockSkewInSec?: number;
21652171

21662172
/**
21672173
* Code Flow is by defauld used together with PKCI which is also higly recommented.

docs/injectables/OAuthService.html

+6
Original file line numberDiff line numberDiff line change
@@ -6176,6 +6176,12 @@ <h3 id="inputs">
61766176
</span>
61776177
</td>
61786178
</tr>
6179+
<tr>
6180+
<td class="col-md-4">
6181+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
6182+
6183+
</td>
6184+
</tr>
61796185
<tr>
61806186
<td class="col-md-4">
61816187
<div class="io-line">Inherited from <code><a href="../classes/AuthConfig.html" target="_self" >AuthConfig</a></code>

projects/lib/src/auth.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export class AuthConfig {
219219
/**
220220
* The window of time (in seconds) to allow the current time to deviate when validating id_token's iat and exp values.
221221
*/
222-
public clockSkewInSec?: 600;
222+
public clockSkewInSec?: number;
223223

224224
/**
225225
* Code Flow is by defauld used together with PKCI which is also higly recommented.

0 commit comments

Comments
 (0)