mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-24 00:28:18 +00:00
17 lines
299 B
Go
17 lines
299 B
Go
package model
|
|
|
|
import (
|
|
es_models "github.com/zitadel/zitadel/internal/eventstore/v1/models"
|
|
)
|
|
|
|
type SAMLConfig struct {
|
|
es_models.ObjectRoot
|
|
AppID string
|
|
Metadata []byte
|
|
MetadataURL string
|
|
}
|
|
|
|
func (c *SAMLConfig) IsValid() bool {
|
|
return !(c.Metadata == nil && c.MetadataURL == "")
|
|
}
|