zitadel/pkg/auth/auth.go

19 lines
416 B
Go
Raw Permalink Normal View History

2020-03-18 15:46:41 +01:00
package auth
import (
"context"
2020-03-25 07:58:58 +01:00
"github.com/caos/zitadel/internal/api/auth"
app "github.com/caos/zitadel/internal/auth"
2020-04-23 10:43:39 +02:00
sd "github.com/caos/zitadel/internal/config/systemdefaults"
2020-03-25 07:58:58 +01:00
"github.com/caos/zitadel/pkg/auth/api"
2020-03-18 15:46:41 +01:00
)
type Config struct {
2020-03-30 07:23:43 +02:00
App app.Config
API api.Config
2020-03-18 15:46:41 +01:00
}
2020-04-23 10:43:39 +02:00
func Start(ctx context.Context, config Config, authZ auth.Config, systemDefaults sd.SystemDefaults) {
api.Start(ctx, config.API)
2020-03-18 15:46:41 +01:00
}