chore: add comment about consent csrf

This commit is contained in:
Nya Candy 2023-01-25 11:06:14 +08:00
parent 77354aec52
commit f785e4b0b8
No known key found for this signature in database
GPG Key ID: 8B1BE5E86F2E66AE
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
package consts
const (
REDIS_KEY_LOGIN_SESSION = "misso:login:%s" // Username, token as value
REDIS_KEY_CONSENT_CSRF = "misso:consent:%s"
REDIS_KEY_SHARE_CONTEXT = "misso:share:%s" // Subject, context as value
REDIS_KEY_LOGIN_SESSION = "misso:login:%s" // Username, token as value
REDIS_KEY_CONSENT_CSRF = "misso:consent:%s" // Random string, consent challenge as value
REDIS_KEY_SHARE_CONTEXT = "misso:share:%s" // Subject, context as value
)