William Petit
de70fa89f7
Some checks are pending
Cadoles/bouncer/pipeline/pr-develop Build started...
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})
|
|
}
|