mirror of
https://github.com/lightninglabs/aperture.git
synced 2026-02-07 02:24:28 +01:00
auth: add auth level constant
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user