mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 20:38:00 +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 == "")
|
||
|
}
|