Skip to content

Instantly share code, notes, and snippets.

@nosvalds
Created October 18, 2020 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nosvalds/24357c9cab02f8ee9bbcd8b15f04c592 to your computer and use it in GitHub Desktop.
Save nosvalds/24357c9cab02f8ee9bbcd8b15f04c592 to your computer and use it in GitHub Desktop.
JSON representation of a user record with password reset tokens in DynamoDB
{
"email": "<email>",
"password": "<password hash>",
"password_reset_tokens": {
"f7cfb2dbda77e093baf2a078f2ceb8c65965b7382109f23bb4710a9f83ad9c59": {
"expiration": "2020-06-30T00:00:00.00Z",
"used": true,
"created": "2020-06-29T23:00:00.00Z",
"updated": "2020-06-29T23:00:00.00Z"
},
"g7cfb2dbda77e093baf2a078f2ceb8c65965b7382109f23bb4710a9f83ad9c59": {
"expiration": "2020-06-30T00:00:00.00Z",
"used": false,
"created": "2020-06-29T23:00:00.00Z",
"updated": "2020-06-29T23:00:00.00Z"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment