Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dotnet45 encryption/decryption support #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The module must be initialized with configuration that corresponds to your .NET
- `defaultTTL` (integer): (default 24hrs) if provided is used as milliseconds from `issueDate` to expire generated tickets
- `defaultPersistent` (bool): (default `false`) if provided is used as default `isPersistent` value for generated tickets
- `defaultCookiePath` (string): (default "/") if provided is used as default `cookiePath` for generated tickets

- `mode` (string): (default "dotnet45") if provided, it will try to decode as .net 4.5 compatible ticket, else specify "legacy"

```js
// Configure
Expand Down Expand Up @@ -48,3 +48,13 @@ var authTicket = aspxauth.decrypt( req.cookies[ ".ASPXAUTH" ] );
### Supported decryption methods

- aes

### Supported encryption modes

- legacy
- dotnet45

### Supported decryption modes

- legacy
- dotnet45
Loading