zitadel/internal/v2/repository/idp/oidc/added_event.go

16 lines
584 B
Go
Raw Normal View History

2020-11-17 12:44:37 +00:00
package oidc
2020-11-18 20:22:15 +00:00
import "github.com/caos/zitadel/internal/crypto"
type AddedEvent struct {
eventstore.BaseEvent
IDPConfigID string `json:"idpConfigId"`
ClientID string `json:"clientId"`
Secret *crypto.CryptoValue `json:"clientSecret"`
Issuer string `json:"issuer"`
Scopes []string `json:"scpoes"`
IDPDisplayNameMapping int32 `json:"idpDisplayNameMapping,omitempty"`
UsernameMapping int32 `json:"usernameMapping,omitempty"`
}