-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Make the redis cache fully adapter agnostic
- Loading branch information
Showing
17 changed files
with
193 additions
and
554 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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,47 @@ | ||
<h2 align="center">π¦ Enhanced caching adapter for Auth.js, by using Redis</h2> | ||
|
||
<div align="center"> | ||
This project is an adapter for Auth.js that allows you to use Redis as a caching system, and any other database behind, as a storage system. | ||
</div> | ||
<br> | ||
<div align="center">π¦ The project is ready to use, but is still in development, so if you encounter any bugs or have any feature requests, please open an issue or a discussion.</div> | ||
<br> | ||
|
||
<div align="center"> | ||
<a href="https://github.com/boul2gom/adapter-redis-cache/issues/new?assignees=&labels=bug&template=BUG_REPORT.md&title=bug%3A+">Report a Bug</a> | ||
Β· | ||
<a href="https://github.com/boul2gom/adapter-redis-cache/discussions/new?assignees=&labels=enhancement&title=feat%3A+">Request a Feature</a> | ||
Β· | ||
<a href="https://github.com/boul2gom/adapter-redis-cache/discussions/new?assignees=&labels=help%20wanted&title=ask%3A+">Ask a Question</a> | ||
</div> | ||
|
||
--- | ||
|
||
<p align="center"> | ||
<a href="https://github.com/boul2gom/adapter-redis-cache/blob/develop/LICENSE.md"> | ||
<img src="https://img.shields.io/github/license/boul2gom/adapter-redis-cache?label=License&logo=Github" alt="License"> | ||
</a> | ||
<a href="https://github.com/boul2gom/adapter-redis-cache/stargazers"> | ||
<img src="https://img.shields.io/github/stars/boul2gom/adapter-redis-cache?label=Stars&logo=Github" alt="Stars"> | ||
</a> | ||
<a href="https://github.com/boul2gom/adapter-redis-cache/fork"> | ||
<img src="https://img.shields.io/github/forks/boul2gom/adapter-redis-cache?label=Forks&logo=Github" alt="Forks"> | ||
</a> | ||
</p> | ||
<p align="center"> | ||
<a href="https://github.com/boul2gom/adapter-redis-cache/discussions"> | ||
<img src="https://img.shields.io/github/discussions/boul2gom/adapter-redis-cache?label=Discussions&logo=Github" alt="Discussions"> | ||
</a> | ||
<a href="https://github.com/boul2gom/adapter-redis-cache/issues"> | ||
<img src="https://img.shields.io/github/issues-raw/boul2gom/adapter-redis-cache?label=Issues&logo=Github" alt="Issues"> | ||
</a> | ||
<a href="https://github.com/boul2gom/adapter-redis-cache/pulls"> | ||
<img src="https://img.shields.io/github/issues-pr-raw/boul2gom/adapter-redis-cache?label=Pull requests&logo=Github" alt="Pull requests"> | ||
</a> | ||
</p> | ||
|
||
--- | ||
|
||
## π Documentation | ||
|
||
You may refer to the documentation available [here](https://authjs.dev/getting-started/adapters/). |
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,47 @@ | ||
{ | ||
"name": "@auth/redis-cache-adapter", | ||
"version": "1.0.0", | ||
"description": "Enhanced caching adapter for Auth.js, by using Redis", | ||
"homepage": "https://authjs.dev/", | ||
"author": "boul2gom <[email protected]>", | ||
"repository": "https://github.com/boul2gom/adapter-redis-cache", | ||
"bugs": { | ||
"url": "https://github.com/boul2gom/adapter-redis-cache" | ||
}, | ||
"type": "module", | ||
"types": "./index.d.ts", | ||
"files": [ | ||
"*.js", | ||
"*.d.ts*", | ||
"src" | ||
], | ||
"exports": { | ||
".": { | ||
"types": "./index.d.ts", | ||
"import": "./index.js", | ||
"default": "./index.js" | ||
} | ||
}, | ||
"license": "ISC", | ||
"keywords": [ | ||
"next-auth", | ||
"next.js", | ||
"auth.js", | ||
"redis", | ||
"cache" | ||
], | ||
"private": false, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"dependencies": { | ||
"@auth/core": "workspace:*" | ||
}, | ||
"peerDependencies": { | ||
"@redis/client": "^1.6.0" | ||
}, | ||
"devDependencies": { | ||
"@redis/client": "^1.6.0", | ||
"typescript": "^5.7.3" | ||
} | ||
} |
Oops, something went wrong.