zitadel/pkg/auth/auth.go

18 lines
321 B
Go
Raw Normal View History

2020-03-18 14:46:41 +00:00
package auth
import (
"context"
2020-03-25 06:58:58 +00:00
"github.com/caos/zitadel/internal/api/auth"
app "github.com/caos/zitadel/internal/auth"
"github.com/caos/zitadel/pkg/auth/api"
2020-03-18 14:46:41 +00:00
)
type Config struct {
2020-03-30 05:23:43 +00:00
App app.Config
API api.Config
2020-03-18 14:46:41 +00:00
}
func Start(ctx context.Context, config Config, authZ auth.Config) {
api.Start(ctx, config.API)
2020-03-18 14:46:41 +00:00
}