13 lines
319 B
Go
13 lines
319 B
Go
|
package oidc
|
||
|
|
||
|
import (
|
||
|
"forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/authn"
|
||
|
"forge.cadoles.com/cadoles/bouncer/internal/store"
|
||
|
)
|
||
|
|
||
|
const LayerType store.LayerType = "authn-oidc"
|
||
|
|
||
|
func NewLayer(adapter authn.StoreAdapter) *authn.Layer {
|
||
|
return authn.NewLayer(LayerType, &Authenticator{}, adapter)
|
||
|
}
|