Skip to content

Commit

Permalink
Merge pull request #615 from vdveer/master
Browse files Browse the repository at this point in the history
Allow clockSkewInSec to be different from 600
  • Loading branch information
manfredsteyer authored Mar 2, 2020
2 parents 3e4bb57 + 13313cd commit a45a359
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/classes/AuthConfig.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,12 @@ <h3 id="inputs">
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>

</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="222" class="link-to-prism">projects/lib/src/auth.config.ts:222</a></div>
Expand Down Expand Up @@ -2161,7 +2167,7 @@ <h3 id="inputs">
/**
* The window of time (in seconds) to allow the current time to deviate when validating id_token&#x27;s iat and exp values.
*/
public clockSkewInSec?: 600;
public clockSkewInSec?: number;

/**
* Code Flow is by defauld used together with PKCI which is also higly recommented.
Expand Down
6 changes: 6 additions & 0 deletions docs/injectables/OAuthService.html
Original file line number Diff line number Diff line change
Expand Up @@ -6176,6 +6176,12 @@ <h3 id="inputs">
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>

</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Inherited from <code><a href="../classes/AuthConfig.html" target="_self" >AuthConfig</a></code>
Expand Down
2 changes: 1 addition & 1 deletion projects/lib/src/auth.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class AuthConfig {
/**
* The window of time (in seconds) to allow the current time to deviate when validating id_token's iat and exp values.
*/
public clockSkewInSec?: 600;
public clockSkewInSec?: number;

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

0 comments on commit a45a359

Please sign in to comment.