William Petit
22fda4ed54
All checks were successful
Cadoles/bouncer/pipeline/pr-develop This commit looks good
14 lines
347 B
Go
14 lines
347 B
Go
package oidc
|
|
|
|
import (
|
|
"forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/authn"
|
|
"forge.cadoles.com/cadoles/bouncer/internal/store"
|
|
"github.com/gorilla/sessions"
|
|
)
|
|
|
|
const LayerType store.LayerType = "authn-oidc"
|
|
|
|
func NewLayer(store sessions.Store) *authn.Layer {
|
|
return authn.NewLayer(LayerType, &Authenticator{store: store})
|
|
}
|