2021-01-09 20:39:05 +00:00
|
|
|
package auth
|
|
|
|
|
|
|
|
const (
|
2021-01-16 18:16:59 +00:00
|
|
|
// AccountID is the ID of the session. Prefferably it should be an UUIDv4 to mitigate security errors.
|
|
|
|
AccountID string = "jti"
|
|
|
|
// AccountAnon is to identify Sessions as Anonymous sessions.
|
2021-01-09 20:39:05 +00:00
|
|
|
AccountAnon string = "anon"
|
2021-01-16 18:16:59 +00:00
|
|
|
// AccountUser is an attribute that identifies the user with an string that is unique for the user, for Example the username.
|
2021-01-09 20:39:05 +00:00
|
|
|
AccountUser string = "uid"
|
|
|
|
)
|