mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
15 lines
255 B
Go
15 lines
255 B
Go
|
package domain
|
||
|
|
||
|
type IdentityProviderType int8
|
||
|
|
||
|
const (
|
||
|
IdentityProviderTypeSystem IdentityProviderType = iota
|
||
|
IdentityProviderTypeOrg
|
||
|
|
||
|
identityProviderCount
|
||
|
)
|
||
|
|
||
|
func (f IdentityProviderType) Valid() bool {
|
||
|
return f >= 0 && f < identityProviderCount
|
||
|
}
|