Files
zitadel/backend/v3/domain/oidc_configuration_update.go
T
Marco A.andGitHub 96bbd6a65c chore: management console naming inconsistency (#11390)
# Which Problems Are Solved

The following terms have all been renamed to management console:

- Customer Portal (when used to mean the console)
- Console
- Admin Console

# How the Problems Are Solved

- Search & Replace smartly
- Use Copilot for translation files

Changes done to: backend + frontend codebase, docs, translations and
protobufs (descriptions only)

# Additional Context

- Partially Closes #11279
2026-01-26 14:52:15 +00:00

67 lines
1.7 KiB
Go

package domain
import (
"context"
"github.com/zitadel/zitadel/internal/eventstore"
)
// TODO(IAM-Marco): Finish implementation
type OIDCConfigurationUpdate struct {
instanceDomainName string
projectID string
managementConsoleAppID string
// oidcConfigChanges []OIDConfigChange
// appID string
}
// RequiresTransaction implements [Transactional].
func (o *OIDCConfigurationUpdate) RequiresTransaction() {}
func NewOIDCConfigurationUpdate(instanceDomainName, projectID, managementConsoleAppID string) *OIDCConfigurationUpdate {
return &OIDCConfigurationUpdate{
instanceDomainName: instanceDomainName,
projectID: projectID,
managementConsoleAppID: managementConsoleAppID,
}
}
// Events implements [Commander].
func (o *OIDCConfigurationUpdate) Events(ctx context.Context, opts *InvokeOpts) ([]eventstore.Command, error) {
// oidcConfigChangedEvent, err := project.NewOIDCConfigChangedEvent(
// ctx,
// &project.NewAggregate(o.appID, o.projectID).Aggregate,
// o.appID,
// changes,
// o.oidcConfigChanges,
// )
// if err != nil {
// return nil, err
// }
// return []eventstore.Command{
// oidcConfigChangedEvent,
// }, nil
return nil, nil
}
// Execute implements [Commander].
func (o *OIDCConfigurationUpdate) Execute(ctx context.Context, opts *InvokeOpts) (err error) {
return nil
}
// String implements [Commander].
func (o *OIDCConfigurationUpdate) String() string {
return "OIDCConfigurationUpdate"
}
// Validate implements [Commander].
func (o *OIDCConfigurationUpdate) Validate(ctx context.Context, opts *InvokeOpts) (err error) {
return nil
}
var (
_ (Commander) = (*OIDCConfigurationUpdate)(nil)
_ (Transactional) = (*OIDCConfigurationUpdate)(nil)
)