mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-24 16:47:47 +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 == "")
|
||
|
}
|