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 (
|
||||||
data: map[constants.AccountConstant]any{
|
defaccount = &account{
|
||||||
constants.AccountID: uuid.Nil,
|
data: map[constants.AccountConstant]any{
|
||||||
constants.AccountAnon: true,
|
constants.AccountID: uuid.Nil,
|
||||||
},
|
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