fix: race condition in auth request unmarshalling (#1993)

This commit is contained in:
Livio Amstutz
2021-07-08 18:38:34 +02:00
committed by GitHub
parent c950d6d272
commit f93337e99b
2 changed files with 4 additions and 10 deletions

View File

@@ -15,12 +15,6 @@ type Request interface {
type AuthRequestType int32
var (
authRequestTypeMapping = map[AuthRequestType]Request{
AuthRequestTypeOIDC: &AuthRequestOIDC{},
}
)
const (
AuthRequestTypeOIDC AuthRequestType = iota
AuthRequestTypeSAML