added an compiletime test to ensure that SAML is an AuthenticationHandler
Dieser Commit ist enthalten in:
Ursprung
93c1b7a8b0
Commit
440d23f463
|
@ -14,12 +14,15 @@ import (
|
||||||
"go.sebtobie.de/httpserver/constants"
|
"go.sebtobie.de/httpserver/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
var defaccount = &account{
|
var (
|
||||||
|
defaccount = &account{
|
||||||
data: map[constants.AccountConstant]any{
|
data: map[constants.AccountConstant]any{
|
||||||
constants.AccountID: uuid.Nil,
|
constants.AccountID: uuid.Nil,
|
||||||
constants.AccountAnon: true,
|
constants.AccountAnon: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
_ auth.AuthenticationHandler = &SAML{}
|
||||||
|
)
|
||||||
|
|
||||||
func maptoarray(m map[string]any) (output []any) {
|
func maptoarray(m map[string]any) (output []any) {
|
||||||
for k, v := range m {
|
for k, v := range m {
|
||||||
|
|
Laden…
In neuem Issue referenzieren