2023-02-15 08:14:59 +00:00
|
|
|
package command
|
|
|
|
|
|
|
|
import "github.com/zitadel/zitadel/internal/repository/idp"
|
|
|
|
|
2023-02-24 14:16:06 +00:00
|
|
|
type GenericOAuthProvider struct {
|
|
|
|
Name string
|
|
|
|
ClientID string
|
|
|
|
ClientSecret string
|
|
|
|
AuthorizationEndpoint string
|
|
|
|
TokenEndpoint string
|
|
|
|
UserEndpoint string
|
|
|
|
Scopes []string
|
|
|
|
IDPOptions idp.Options
|
|
|
|
}
|
|
|
|
|
2023-02-21 17:18:28 +00:00
|
|
|
type GoogleProvider struct {
|
|
|
|
Name string
|
|
|
|
ClientID string
|
|
|
|
ClientSecret string
|
|
|
|
Scopes []string
|
|
|
|
IDPOptions idp.Options
|
|
|
|
}
|
|
|
|
|
2023-02-15 08:14:59 +00:00
|
|
|
type LDAPProvider struct {
|
|
|
|
Name string
|
|
|
|
Host string
|
|
|
|
Port string
|
|
|
|
TLS bool
|
|
|
|
BaseDN string
|
|
|
|
UserObjectClass string
|
|
|
|
UserUniqueAttribute string
|
|
|
|
Admin string
|
|
|
|
Password string
|
|
|
|
LDAPAttributes idp.LDAPAttributes
|
|
|
|
IDPOptions idp.Options
|
|
|
|
}
|