authelia/internal/session/const.go
James Elliott 6276883f04
refactor(configuration): utilize time duration decode hook (#2938)
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-_!#$%^*"
)