goweb-oidc/provider.go
2020-05-20 10:43:12 +02:00

12 lines
233 B
Go

package oidc
import "gitlab.com/wpetit/goweb/service"
func ServiceProvider(opts ...OptionFunc) service.Provider {
client := NewClient(opts...)
return func(ctn *service.Container) (interface{}, error) {
return client, nil
}
}