forked from authts/oidc-client-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request authts#116 from authts/reduce-any
reduce any
- Loading branch information
Showing
9 changed files
with
63 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
## oidc-client v1.11.5 to oidc-client-ts v2.0.0 | ||
|
||
Ported library from JavaScript to TypeScript. | ||
|
||
**OidcClientSettings:** | ||
- required is now authority | ||
- required is now client_id | ||
- required is now redirect_uri | ||
- renamed clockSkew to clockSkewInSeconds | ||
- renamed staleStateAge to staleStateAgeInSeconds | ||
- removed ResponseValidatorCtor and MetadataServiceCtor, if needed OidcClient/UserManager class must be extended | ||
- default of response_type changed from "id_token" to "code" | ||
|
||
**UserManagerSettings:** | ||
- renamed accessTokenExpiringNotificationTime to accessTokenExpiringNotificationTimeInSeconds | ||
- changed silentRequestTimeout (milliseconds) to silentRequestTimeoutInSeconds | ||
- changed checkSessionInterval (milliseconds) to checkSessionIntervalInSeconds | ||
- default of automaticSilentRenew changed from false to true | ||
- default of validateSubOnSilentRenew changed from false to true | ||
- default of includeIdTokenInSilentRenew changed from true to false | ||
- default of monitorSession changed from true to false | ||
|
||
**UserManager:** | ||
- signoutPopupCallback to pass optionaly keepOpen as true, second argument must be used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import { UserManager, settings } from "./sample-settings"; | ||
|
||
void new UserManager(settings).signoutPopupCallback(true); | ||
void new UserManager(settings).signoutPopupCallback(undefined, true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters