From f1d3c38bdc77b37a21df2e63f8cbe40eadfc6152 Mon Sep 17 00:00:00 2001 From: Manfred Steyer Date: Sat, 16 Dec 2023 19:55:22 +0100 Subject: [PATCH] prepare v16 --- .vscode/settings.json | 11 +- CHANGELOG.md | 10 - README.md | 4 +- .../adapt-id_token-validation.html | 27 +- .../authorization-servers.html | 25 +- .../authorization-servers/auth0.html | 33 +- .../azure-ad-(active-directory).html | 25 +- .../using-identity-server.html | 25 +- .../authorization-servers/using-keycloak.html | 25 +- .../callback-after-login.html | 25 +- .../configure-custom-oauthstorage.html | 29 +- ...licit-flow-without-discovery-document.html | 25 +- .../custom-query-parameters.html | 25 +- docs/additional-documentation/events.html | 25 +- .../getting-started.html | 25 +- .../manually-skipping-login-form.html | 25 +- .../original-config-api.html | 25 +- .../popup-based-login.html | 25 +- ...erving-state-(like-the-requested-url).html | 25 +- .../refreshing-a-token.html | 27 +- .../routing-with-the-hashstrategy.html | 25 +- .../server-side-rendering.html | 25 +- .../session-checks.html | 31 +- .../silent-refresh.html | 27 +- .../token-refresh.html | 27 +- ...t-fails-discovery-document-validation.html | 25 +- .../using-implicit-flow.html | 27 +- .../using-password-flow.html | 33 +- .../using-systemjs.html | 25 +- .../working-with-httpinterceptors.html | 27 +- docs/changelog.html | 65 +- docs/classes/AbstractValidationHandler.html | 65 +- docs/classes/AuthConfig.html | 53 +- docs/classes/DateTimeProvider.html | 49 +- docs/classes/HMAC.html | 69 +- docs/classes/Hash.html | 77 ++- docs/classes/HashHandler.html | 64 +- docs/classes/JwksValidationHandler.html | 53 +- docs/classes/LoginOptions.html | 49 +- docs/classes/NullValidationHandler.html | 51 +- docs/classes/OAuthErrorEvent.html | 47 +- docs/classes/OAuthEvent.html | 47 +- docs/classes/OAuthInfoEvent.html | 47 +- docs/classes/OAuthLogger.html | 54 +- docs/classes/OAuthModuleConfig.html | 49 +- .../OAuthNoopResourceServerErrorHandler.html | 50 +- docs/classes/OAuthResourceServerConfig.html | 49 +- .../OAuthResourceServerErrorHandler.html | 50 +- docs/classes/OAuthStorage.html | 52 +- docs/classes/OAuthSuccessEvent.html | 47 +- docs/classes/ReceivedTokens.html | 49 +- docs/classes/ValidationHandler.html | 63 +- docs/classes/WebHttpUrlEncodingCodec.html | 55 +- docs/dependencies.html | 45 +- docs/graph/dependencies.svg | 22 +- docs/index.html | 72 ++- docs/injectables/DefaultHashHandler.html | 78 ++- docs/injectables/MemoryStorage.html | 52 +- docs/injectables/OAuthService.html | 594 ++++++++++-------- docs/injectables/SystemDateTimeProvider.html | 49 +- docs/injectables/UrlHelperService.html | 55 +- .../interceptors/DefaultOAuthInterceptor.html | 60 +- docs/interfaces/OidcDiscoveryDoc.html | 49 +- docs/interfaces/ParsedIdToken.html | 49 +- docs/interfaces/TokenResponse.html | 49 +- docs/interfaces/UserInfo.html | 51 +- docs/interfaces/ValidationParams.html | 61 +- docs/js/libs/bootstrap-native.js | 3 +- docs/js/libs/prism.js | 86 +-- docs/js/libs/svg-pan-zoom.min.js | 4 +- docs/js/libs/tablesort.min.js | 6 +- docs/js/libs/vis.min.js | 13 +- docs/js/menu-wc.js | 40 +- docs/js/menu-wc_es5.js | 6 +- docs/js/menu.js | 74 ++- docs/js/routes.js | 355 ++++++----- docs/js/search/search_index.js | 4 +- docs/license.html | 23 +- docs/miscellaneous/functions.html | 153 ++++- docs/miscellaneous/typealiases.html | 31 +- docs/miscellaneous/variables.html | 35 +- docs/modules.html | 27 +- docs/modules/OAuthModule.html | 50 +- docs/overview.html | 47 +- docs/properties.html | 121 ++++ docs/styles/bootstrap.min.css | 12 +- docs/styles/compodoc.css | 121 +++- docs/styles/dark.css | 74 ++- docs/styles/laravel.css | 68 +- docs/styles/material.css | 32 +- docs/styles/original.css | 6 +- docs/styles/postmark.css | 26 +- docs/styles/readthedocs.css | 14 +- docs/styles/reset.css | 149 ++++- docs/styles/stripe.css | 68 +- docs/styles/vagrant.css | 54 +- .../angular-oauth2-oidc-jwks/package.json | 2 +- .../tsconfig.lib.json | 2 +- projects/lib/package.json | 2 +- tsconfig.json | 2 +- 100 files changed, 3279 insertions(+), 1709 deletions(-) create mode 100644 docs/properties.html diff --git a/.vscode/settings.json b/.vscode/settings.json index 2d463ecb..9764f51c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -32,5 +32,14 @@ "latex", "plaintext", "markdown" - ] + ], + "files.exclude": { + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "**/Thumbs.db": true + }, + "hide-files.files": [] } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d86ee1a..20e816db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,7 @@ # Changelog -All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. - -## [16.1.0](https://github.com/manfredsteyer/angular-oauth2-oidc/compare/v10.0.3...v16.1.0) (2023-12-16) - - ### Features -* introduce DateTimeProvider ([0c0a4a7](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/0c0a4a7a2574c8c134fa839f7ccdee06273a0676)) -* **logout:** postLogoutRedirectUri should not default to redirectUri ([ff7d1d9](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/ff7d1d915aa19f87bcb1c2d18ac3eb280db78d3b)) -* provide standalone api ([e38c99c](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/e38c99c5f70f23fad892328e2a6f01f1e813af4c)) -* support JWT response on userinfo endpoint ([da16494](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/da1649499376863b0ebf884748176f3b38d91899)) -* update for angular 13 ([d95d7da](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/d95d7da788e2c1390346c66de62dc31f10d2b852)) * update project to Angular 16 ([b999024](https://github.com/manfredsteyer/angular-oauth2-oidc/commit/b999024b1bb7fdb40f07810a75add60f47fe5f08)) diff --git a/README.md b/README.md index 3d5dcd7d..32c5364c 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,9 @@ For using this library with **Azure Active Directory** (**Azure AD**), we recomm Also, the Okta community created some guidelines on how to use this lib with Okta. See the links at the end of this page for more information. -**Angular 15 & 16**: Use 15.x versions of this library (**should also work with older Angular versions!**). +**Angular 16**: Use 16.x versions of this library (**should also work with older Angular versions!**). + +**Angular 15**: Use 15.x versions of this library (**should also work with older Angular versions!**). **Angular 14**: Use 14.x versions of this library (**should also work with older Angular versions!**). diff --git a/docs/additional-documentation/adapt-id_token-validation.html b/docs/additional-documentation/adapt-id_token-validation.html index 35eb57d5..87e77f21 100644 --- a/docs/additional-documentation/adapt-id_token-validation.html +++ b/docs/additional-documentation/adapt-id_token-validation.html @@ -9,11 +9,11 @@ - + -

In cases where no ValidationHandler is defined, you receive a warning on the console. This means that the library wants you to explicitly decide on this.

-

Dependency Injection

+

Dependency Injection

You can also setup a ValidationHandler by leveraging dependency injection:

[...]
 providers: [
@@ -70,7 +72,7 @@ 

Dependency Injection

[...]
-

result-matching ""

+

results matching ""

    @@ -82,6 +84,15 @@

    No results matching "

    + + - - + + diff --git a/docs/additional-documentation/authorization-servers.html b/docs/additional-documentation/authorization-servers.html index 84bcedea..87990d73 100644 --- a/docs/additional-documentation/authorization-servers.html +++ b/docs/additional-documentation/authorization-servers.html @@ -9,11 +9,11 @@ - + -
    -

    result-matching ""

    +

    results matching ""

      @@ -67,6 +69,15 @@

      No results matching "

      + + - - + + diff --git a/docs/additional-documentation/authorization-servers/auth0.html b/docs/additional-documentation/authorization-servers/auth0.html index 5921a79d..3a07bb39 100644 --- a/docs/additional-documentation/authorization-servers/auth0.html +++ b/docs/additional-documentation/authorization-servers/auth0.html @@ -9,11 +9,11 @@ - + -

      Getting, Using, and Refreshing a Token

      This should work as shown in the other examples in this documentation and in the readme file.

      -

      Logging out

      +

      Logging out

      Auth0's logout endpoint expects the parameters client_id and returnTo:

      this.oauthService.revokeTokenAndLogout({
         client_id: this.oauthService.clientId,
         returnTo: this.oauthService.redirectUri
       }, true);

      The optional 2nd parameter set to true ignores CORS issues with the logout endpoint.

      -

      Example

      +

      Example

      Please find a demo for using Auth0 with angular-oauth2-oidc here.

      -

      result-matching ""

      +

      results matching ""

        @@ -103,6 +105,15 @@

        No results matching "

        + + - - + + diff --git a/docs/additional-documentation/authorization-servers/azure-ad-(active-directory).html b/docs/additional-documentation/authorization-servers/azure-ad-(active-directory).html index c9b1982c..49e3fbe8 100644 --- a/docs/additional-documentation/authorization-servers/azure-ad-(active-directory).html +++ b/docs/additional-documentation/authorization-servers/azure-ad-(active-directory).html @@ -9,11 +9,11 @@ - + -
        -

        result-matching ""

        +

        results matching ""

          @@ -66,6 +68,15 @@

          No results matching "

          + + - - + + diff --git a/docs/additional-documentation/authorization-servers/using-identity-server.html b/docs/additional-documentation/authorization-servers/using-identity-server.html index dd6b87e0..5a724fd0 100644 --- a/docs/additional-documentation/authorization-servers/using-identity-server.html +++ b/docs/additional-documentation/authorization-servers/using-identity-server.html @@ -9,11 +9,11 @@ - + -
          -

          result-matching ""

          +

          results matching ""

            @@ -66,6 +68,15 @@

            No results matching "

            + + - - + + diff --git a/docs/additional-documentation/authorization-servers/using-keycloak.html b/docs/additional-documentation/authorization-servers/using-keycloak.html index c1074602..7753a1e1 100644 --- a/docs/additional-documentation/authorization-servers/using-keycloak.html +++ b/docs/additional-documentation/authorization-servers/using-keycloak.html @@ -9,11 +9,11 @@ - + -
            -

            result-matching ""

            +

            results matching ""

              @@ -66,6 +68,15 @@

              No results matching "

              + + - - + + diff --git a/docs/additional-documentation/callback-after-login.html b/docs/additional-documentation/callback-after-login.html index ac5cfba7..77c4e47a 100644 --- a/docs/additional-documentation/callback-after-login.html +++ b/docs/additional-documentation/callback-after-login.html @@ -9,11 +9,11 @@ - + -
              -

              result-matching ""

              +

              results matching ""

                @@ -76,6 +78,15 @@

                No results matching "

                + + - - + + diff --git a/docs/additional-documentation/configure-custom-oauthstorage.html b/docs/additional-documentation/configure-custom-oauthstorage.html index 4cb9bc6f..86f3ef7a 100644 --- a/docs/additional-documentation/configure-custom-oauthstorage.html +++ b/docs/additional-documentation/configure-custom-oauthstorage.html @@ -9,11 +9,11 @@ - + -

                Custom storage solution

                If you want to use a custom storage solution, you can extend the OAuthStorage class. Documentation can be found here. Then add it as a provider, just like in the localStorage example above.

                -

                result-matching ""

                +

                results matching ""

                  @@ -98,6 +100,15 @@

                  No results matching "

                  + + - - + + diff --git a/docs/additional-documentation/configure-library-for-implicit-flow-without-discovery-document.html b/docs/additional-documentation/configure-library-for-implicit-flow-without-discovery-document.html index 95647d90..c86c8047 100644 --- a/docs/additional-documentation/configure-library-for-implicit-flow-without-discovery-document.html +++ b/docs/additional-documentation/configure-library-for-implicit-flow-without-discovery-document.html @@ -9,11 +9,11 @@ - + -
                  -

                  result-matching ""

                  +

                  results matching ""

                    @@ -99,6 +101,15 @@

                    No results matching "

                    + + - - + + diff --git a/docs/additional-documentation/custom-query-parameters.html b/docs/additional-documentation/custom-query-parameters.html index 23e59d95..2c0c851c 100644 --- a/docs/additional-documentation/custom-query-parameters.html +++ b/docs/additional-documentation/custom-query-parameters.html @@ -9,11 +9,11 @@ - + -
                    -

                    result-matching ""

                    +

                    results matching ""

                      @@ -69,6 +71,15 @@

                      No results matching "

                      + + - - + + diff --git a/docs/additional-documentation/events.html b/docs/additional-documentation/events.html index 50bfd087..c3952c99 100644 --- a/docs/additional-documentation/events.html +++ b/docs/additional-documentation/events.html @@ -9,11 +9,11 @@ - + -
                      -

                      result-matching ""

                      +

                      results matching ""

                        @@ -91,6 +93,15 @@

                        No results matching "

                        + + - - + + diff --git a/docs/additional-documentation/getting-started.html b/docs/additional-documentation/getting-started.html index fe246c0c..16a8fc01 100644 --- a/docs/additional-documentation/getting-started.html +++ b/docs/additional-documentation/getting-started.html @@ -9,11 +9,11 @@ - + -
                        -

                        result-matching ""

                        +

                        results matching ""

                          @@ -66,6 +68,15 @@

                          No results matching "

                          + + - - + + diff --git a/docs/additional-documentation/manually-skipping-login-form.html b/docs/additional-documentation/manually-skipping-login-form.html index bee73fff..416714cb 100644 --- a/docs/additional-documentation/manually-skipping-login-form.html +++ b/docs/additional-documentation/manually-skipping-login-form.html @@ -9,11 +9,11 @@ - + -
                          -

                          result-matching ""

                          +

                          results matching ""

                            @@ -95,6 +97,15 @@

                            No results matching "

                            + + - - + + diff --git a/docs/additional-documentation/original-config-api.html b/docs/additional-documentation/original-config-api.html index 40382909..b4777bea 100644 --- a/docs/additional-documentation/original-config-api.html +++ b/docs/additional-documentation/original-config-api.html @@ -9,11 +9,11 @@ - + -
                            -

                            result-matching ""

                            +

                            results matching ""

                              @@ -101,6 +103,15 @@

                              No results matching "

                              + + - - + + diff --git a/docs/additional-documentation/popup-based-login.html b/docs/additional-documentation/popup-based-login.html index 051b4887..f12a86e1 100644 --- a/docs/additional-documentation/popup-based-login.html +++ b/docs/additional-documentation/popup-based-login.html @@ -9,11 +9,11 @@ - + -
                              -

                              result-matching ""

                              +

                              results matching ""

                                @@ -74,6 +76,15 @@

                                No results matching "

                                + + - - + + diff --git a/docs/additional-documentation/preserving-state-(like-the-requested-url).html b/docs/additional-documentation/preserving-state-(like-the-requested-url).html index 496048c1..6e6fa324 100644 --- a/docs/additional-documentation/preserving-state-(like-the-requested-url).html +++ b/docs/additional-documentation/preserving-state-(like-the-requested-url).html @@ -9,11 +9,11 @@ - + -
                                -

                                result-matching ""

                                +

                                results matching ""

                                  @@ -71,6 +73,15 @@

                                  No results matching "

                                  + + - - + + diff --git a/docs/additional-documentation/refreshing-a-token.html b/docs/additional-documentation/refreshing-a-token.html index f71b43a5..e0bb1f36 100644 --- a/docs/additional-documentation/refreshing-a-token.html +++ b/docs/additional-documentation/refreshing-a-token.html @@ -9,11 +9,11 @@ - + -
                                  -

                                  result-matching ""

                                  +

                                  results matching ""

                                    @@ -71,6 +73,15 @@

                                    No results matching "

                                    + + - - + + diff --git a/docs/additional-documentation/routing-with-the-hashstrategy.html b/docs/additional-documentation/routing-with-the-hashstrategy.html index 5c861e73..801887db 100644 --- a/docs/additional-documentation/routing-with-the-hashstrategy.html +++ b/docs/additional-documentation/routing-with-the-hashstrategy.html @@ -9,11 +9,11 @@ - + -