auth: add auth level constant

This commit is contained in:
Oliver Gugger
2019-11-29 17:12:53 +01:00
parent d58c70588d
commit 3e2d486f75

View File

@@ -8,6 +8,11 @@ import (
"github.com/lightninglabs/kirin/freebie"
)
const (
// LevelOff is the default level where no authentication is required.
LevelOff Level = "off"
)
type Level string
func (l Level) lower() string {