1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00
authelia/internal/session/const.go
James Elliott 6276883f04
refactor(configuration): utilize time duration decode hook ()
This enhances the existing time.Duration parser to allow multiple units, and implements a decode hook which can be used by koanf to decode string/integers into time.Durations as applicable.
2022-03-02 17:40:26 +11:00

18 lines
316 B
Go

package session
import (
"time"
)
const (
testDomain = "example.com"
testExpiration = time.Second * 40
testName = "my_session"
testUsername = "john"
)
const (
userSessionStorerKey = "UserSession"
randomSessionChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_!#$%^*"
)