shield icon indicating copy to clipboard operation
shield copied to clipboard

Where is data stored?

Open notramo opened this issue 2 years ago • 1 comments

What kind of data does this shard store, and where is it stored?

notramo avatar May 08 '23 13:05 notramo

Shield stores all data in the database. All secrets/tokens are stored as salted SHA-256 digests in the database. Generally, Shield stores users, passwords (bcrypt digests), emails, bearer tokens, password reset tokens, login tokens, email confirmation tokens, OAuth grants and clients. Check src/shield/models/ for all models created by Shield.

See the docs/ directory of this repository for more information.

akadusei avatar May 08 '23 20:05 akadusei