Skip to content

Commit ff82dd9

Browse files
committed
chore: make version 9.2 ready
1 parent ea6683d commit ff82dd9

27 files changed

+679
-331
lines changed

Diff for: README.md

+16-14
Large diffs are not rendered by default.

Diff for: contributors.md

+16-14
Large diffs are not rendered by default.

Diff for: docs/additional-documentation/silent-refresh.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050

5151
<h2 id="refreshing-when-using-implicit-flow-implicit-flow-and-code-flow">Refreshing when using Implicit Flow (Implicit Flow and Code Flow)</h2>
52-
<p><strong>Notes for Code Flow</strong>: You can also use this strategy for refreshing tokens when using code flow. However, please note, the strategy described within <a href="./refreshing-a-token.html">Token Refresh</a> is far easier in this case.</p>
52+
<p><strong>Notes for Code Flow</strong>: You can also use this strategy for refreshing tokens when using code flow. However, please note, the strategy described within <a href="./token-refresh.md">Token Refresh</a> is far easier in this case.</p>
5353
<p>To refresh your tokens when using implicit flow you can use a silent refresh. This is a well-known solution that compensates the fact that implicit flow does not allow for issuing a refresh token. It uses a hidden iframe to get another token from the auth server. When the user is there still logged in (by using a cookie) it will respond without user interaction and provide new tokens.</p>
5454
<p>To use this approach, setup a redirect uri for the silent refresh.</p>
5555
<p>For this, you can set the property silentRefreshRedirectUri in the config object:</p>

Diff for: docs/changelog.html

+12-5
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@ <h1 id="changelog">Changelog</h1>
3434
<h2 id="910-2020-03-23">9.1.0 (2020-03-23)</h2>
3535
<h3 id="features">Features</h3>
3636
<ul>
37-
<li>remove jsrsasign dependancy (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/77cb37abfd08762a59b221257ed8d5d5b7c795d4">77cb37a</a>)</li>
38-
<li>Upgrade to angular 8 (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/31c6273b388af7e796a9ad663e346f1e33ff331c">31c6273</a>)</li>
3937
<li><strong>automatic silent refresh:</strong> stopAutomaticRefresh stops all timers. (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/8ab853bf38dd162060d7b6cbd18f7b4fd5a84f18">8ab853b</a>)</li>
40-
<li><strong>code-flow:</strong> allow using implicit flow by setting useSilentRefresh to true (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/93902a5808bb9b75a41d4bde44c6ab763bcfa9f6">93902a5</a>)</li>
41-
<li><strong>sample:</strong> also use new idsvr 4 for implicit flow demo to prevent issues with same site cookies (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/58c63541bc7d83d72c30577da2b68ac2d1dc35b7">58c6354</a>)</li>
42-
<li><strong>session checks:</strong> Session checks work now for code flow too. Pls see Docs for details. (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/4bf89014d8cc5d50ed716500e3f3ad265b4ae2db">4bf8901</a>)</li>
38+
<li><strong>code-flow:</strong> allow using silent refresh by setting useSilentRefresh to true (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/93902a5808bb9b75a41d4bde44c6ab763bcfa9f6">93902a5</a>)</li>
39+
<li><strong>sample:</strong> Also use new Identity Server 4 for implicit flow demo to prevent issues with same site cookies (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/58c63541bc7d83d72c30577da2b68ac2d1dc35b7">58c6354</a>)</li>
40+
<li><strong>session checks:</strong> Session checks work now for code flow too. Please see docs for details. (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/4bf89014d8cc5d50ed716500e3f3ad265b4ae2db">4bf8901</a>)</li>
4341
</ul>
4442
<h3 id="bug-fixes">Bug Fixes</h3>
4543
<ul>
@@ -52,6 +50,15 @@ <h3 id="bug-fixes">Bug Fixes</h3>
5250
<li>run tokensetup outside ngzone (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/07bb62d06abb84ef2da010977d07bfd2a3805b16">07bb62d</a>)</li>
5351
<li>typo (<a href="https://github.com/manfredsteyer/angular-oauth2-oidc/commit/3d331f2166340db43f0aaca42ce8abc4913cd027">3d331f2</a>)</li>
5452
</ul>
53+
<h3 id="pull-requests">Pull Requests</h3>
54+
<ul>
55+
<li>Update sample app and silent-refresh.html script #755, linjie997</li>
56+
<li>Add optional state parameter for logout, pmccloghrylaing</li>
57+
<li>fix customHashFragment usage in tryLoginCodeFlow, roblabat</li>
58+
<li>replace document with injectionToken #741, d-moos</li>
59+
<li>Support predefined custom parameters extraction from the TokenResponse, vdveer</li>
60+
<li>Fixed not working silent refresh when using &#39;code&#39; #735, ErazerBrecht</li>
61+
</ul>
5562
<h3 id="thanks">Thanks</h3>
5663
<p>Big Thanks to all contributers: Brecht Carlier, Daniel Moos, Jie Lin, Manfred Steyer, Phil McCloghry-Laing, robin labat, vdveer</p>
5764
<p>Also, big thanks to jeroenheijmans for doing an awesome job with moderating and analyzing the issues!</p>

Diff for: docs/classes/AuthConfig.html

+82-32
Large diffs are not rendered by default.

Diff for: docs/classes/LoginOptions.html

+1
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ <h3 id="inputs">
593593
claims_parameter_supported: boolean;
594594
service_documentation: string;
595595
ui_locales_supported: string[];
596+
revocation_endpoint: string;
596597
}
597598
</code></pre>
598599
</div>

Diff for: docs/classes/OAuthErrorEvent.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h3 id="constructor">Constructor</h3>
8585
</tr>
8686
<tr>
8787
<td class="col-md-4">
88-
<div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">projects/lib/src/events.ts:42</a></div>
88+
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">projects/lib/src/events.ts:43</a></div>
8989
</td>
9090
</tr>
9191

@@ -181,7 +181,8 @@ <h3 id="constructor">Constructor</h3>
181181
| &#x27;session_terminated&#x27;
182182
| &#x27;logout&#x27;
183183
| &#x27;popup_closed&#x27;
184-
| &#x27;popup_blocked&#x27;;
184+
| &#x27;popup_blocked&#x27;
185+
| &#x27;token_revoke_error&#x27;;
185186

186187
export abstract class OAuthEvent {
187188
constructor(readonly type: EventType) {}

Diff for: docs/classes/OAuthEvent.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3 id="constructor">Constructor</h3>
7979
</tr>
8080
<tr>
8181
<td class="col-md-4">
82-
<div class="io-line">Defined in <a href="" data-line="26" class="link-to-prism">projects/lib/src/events.ts:26</a></div>
82+
<div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">projects/lib/src/events.ts:27</a></div>
8383
</td>
8484
</tr>
8585

@@ -151,7 +151,8 @@ <h3 id="constructor">Constructor</h3>
151151
| &#x27;session_terminated&#x27;
152152
| &#x27;logout&#x27;
153153
| &#x27;popup_closed&#x27;
154-
| &#x27;popup_blocked&#x27;;
154+
| &#x27;popup_blocked&#x27;
155+
| &#x27;token_revoke_error&#x27;;
155156

156157
export abstract class OAuthEvent {
157158
constructor(readonly type: EventType) {}

Diff for: docs/classes/OAuthInfoEvent.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h3 id="constructor">Constructor</h3>
8585
</tr>
8686
<tr>
8787
<td class="col-md-4">
88-
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">projects/lib/src/events.ts:36</a></div>
88+
<div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">projects/lib/src/events.ts:37</a></div>
8989
</td>
9090
</tr>
9191

@@ -169,7 +169,8 @@ <h3 id="constructor">Constructor</h3>
169169
| &#x27;session_terminated&#x27;
170170
| &#x27;logout&#x27;
171171
| &#x27;popup_closed&#x27;
172-
| &#x27;popup_blocked&#x27;;
172+
| &#x27;popup_blocked&#x27;
173+
| &#x27;token_revoke_error&#x27;;
173174

174175
export abstract class OAuthEvent {
175176
constructor(readonly type: EventType) {}

Diff for: docs/classes/OAuthLogger.html

+1
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ <h3 id="methods">
748748
claims_parameter_supported: boolean;
749749
service_documentation: string;
750750
ui_locales_supported: string[];
751+
revocation_endpoint: string;
751752
}
752753
</code></pre>
753754
</div>

Diff for: docs/classes/OAuthStorage.html

+1
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ <h3 id="methods">
548548
claims_parameter_supported: boolean;
549549
service_documentation: string;
550550
ui_locales_supported: string[];
551+
revocation_endpoint: string;
551552
}
552553
</code></pre>
553554
</div>

Diff for: docs/classes/OAuthSuccessEvent.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h3 id="constructor">Constructor</h3>
8585
</tr>
8686
<tr>
8787
<td class="col-md-4">
88-
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">projects/lib/src/events.ts:30</a></div>
88+
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">projects/lib/src/events.ts:31</a></div>
8989
</td>
9090
</tr>
9191

@@ -169,7 +169,8 @@ <h3 id="constructor">Constructor</h3>
169169
| &#x27;session_terminated&#x27;
170170
| &#x27;logout&#x27;
171171
| &#x27;popup_closed&#x27;
172-
| &#x27;popup_blocked&#x27;;
172+
| &#x27;popup_blocked&#x27;
173+
| &#x27;token_revoke_error&#x27;;
173174

174175
export abstract class OAuthEvent {
175176
constructor(readonly type: EventType) {}

Diff for: docs/classes/ReceivedTokens.html

+1
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ <h3 id="inputs">
431431
claims_parameter_supported: boolean;
432432
service_documentation: string;
433433
ui_locales_supported: string[];
434+
revocation_endpoint: string;
434435
}
435436
</code></pre>
436437
</div>

0 commit comments

Comments
 (0)