1
0
Fork 0

documented the enum

Dieser Commit ist enthalten in:
Sebastian Tobie 2021-01-16 19:16:59 +01:00
Ursprung 5bf5ac8bb2
Commit 7cdf43ef30
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -1,7 +1,10 @@
package auth package auth
const ( const (
// AccountID is the ID of the session. Prefferably it should be an UUIDv4 to mitigate security errors.
AccountID string = "jti" AccountID string = "jti"
// AccountAnon is to identify Sessions as Anonymous sessions.
AccountAnon string = "anon" AccountAnon string = "anon"
// AccountUser is an attribute that identifies the user with an string that is unique for the user, for Example the username.
AccountUser string = "uid" AccountUser string = "uid"
) )