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

This commit is contained in:
Livio Amstutz
2021-07-08 16:38:34 +00:00
committed by GitHub
parent c950d6d272
commit f93337e99b
2 changed files with 4 additions and 10 deletions
-6
View File
@@ -15,12 +15,6 @@ type Request interface {
type AuthRequestType int32
var (
authRequestTypeMapping = map[AuthRequestType]Request{
AuthRequestTypeOIDC: &AuthRequestOIDC{},
}
)
const (
AuthRequestTypeOIDC AuthRequestType = iota
AuthRequestTypeSAML