puerta/internal/constants/contstants.go

11 lines
233 B
Go
Raw Permalink Normal View History

2023-01-04 04:21:49 +00:00
// SPDX-License-Identifier: Apache-2.0
// Copyright © 2022 Roberto Hidalgo <nidito@un.rob.mx>
package constants
type AuthContext string
const (
ContextCookieName AuthContext = "_puerta"
ContextUser AuthContext = "_user"
)