This repository has been archived by the owner on Mar 5, 2022. It is now read-only.
generated from vvo/javascript-library-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(password): accept array of password objects for rotation
This adds a way to provide array of passwords like this: ```js import ironStore from "iron-store"; const store = await ironStore({ password: [ { id: 2, password: "generated_complex_password_at_least_32_characters_long", }, { id: 1, password: "generated_complex_password_at_least_32_characters_long", }, ], }); store.set("user", { id: 80, admin: true }); const seal = await store.seal(); ``` Required for vvo/iron-session#69
- Loading branch information
Showing
4 changed files
with
253 additions
and
51 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 @@ | ||
dist/ |
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