1
0
Fork 0

added an compiletime test to ensure that SAML is an AuthenticationHandler

Dieser Commit ist enthalten in:
Sebastian Tobie 2022-11-06 10:58:13 +01:00
Ursprung 93c1b7a8b0
Commit 440d23f463
1 geänderte Dateien mit 9 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -14,12 +14,15 @@ import (
"go.sebtobie.de/httpserver/constants"
)
var defaccount = &account{
var (
defaccount = &account{
data: map[constants.AccountConstant]any{
constants.AccountID: uuid.Nil,
constants.AccountAnon: true,
},
}
}
_ auth.AuthenticationHandler = &SAML{}
)
func maptoarray(m map[string]any) (output []any) {
for k, v := range m {