Class: Zitadel::Client::Models::IdentityProviderServiceIDPType
- Inherits:
-
Object
- Object
- Zitadel::Client::Models::IdentityProviderServiceIDPType
- Defined in:
- lib/zitadel/client/models/identity_provider_service_i_d_p_type.rb
Constant Summary collapse
- IDP_TYPE_UNSPECIFIED =
"IDP_TYPE_UNSPECIFIED".freeze
- IDP_TYPE_OIDC =
"IDP_TYPE_OIDC".freeze
- IDP_TYPE_JWT =
"IDP_TYPE_JWT".freeze
- IDP_TYPE_LDAP =
"IDP_TYPE_LDAP".freeze
- IDP_TYPE_OAUTH =
"IDP_TYPE_OAUTH".freeze
- IDP_TYPE_AZURE_AD =
"IDP_TYPE_AZURE_AD".freeze
- IDP_TYPE_GITHUB =
"IDP_TYPE_GITHUB".freeze
- IDP_TYPE_GITHUB_ES =
"IDP_TYPE_GITHUB_ES".freeze
- IDP_TYPE_GITLAB =
"IDP_TYPE_GITLAB".freeze
- IDP_TYPE_GITLAB_SELF_HOSTED =
"IDP_TYPE_GITLAB_SELF_HOSTED".freeze
- IDP_TYPE_GOOGLE =
"IDP_TYPE_GOOGLE".freeze
- IDP_TYPE_APPLE =
"IDP_TYPE_APPLE".freeze
- IDP_TYPE_SAML =
"IDP_TYPE_SAML".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
32 33 34 |
# File 'lib/zitadel/client/models/identity_provider_service_i_d_p_type.rb', line 32 def self.all_vars @all_vars ||= [IDP_TYPE_UNSPECIFIED, IDP_TYPE_OIDC, IDP_TYPE_JWT, IDP_TYPE_LDAP, IDP_TYPE_OAUTH, IDP_TYPE_AZURE_AD, IDP_TYPE_GITHUB, IDP_TYPE_GITHUB_ES, IDP_TYPE_GITLAB, IDP_TYPE_GITLAB_SELF_HOSTED, IDP_TYPE_GOOGLE, IDP_TYPE_APPLE, IDP_TYPE_SAML].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
39 40 41 |
# File 'lib/zitadel/client/models/identity_provider_service_i_d_p_type.rb', line 39 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
46 47 48 49 |
# File 'lib/zitadel/client/models/identity_provider_service_i_d_p_type.rb', line 46 def build_from_hash(value) return value if IdentityProviderServiceIDPType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #Zitadel::Client::Models::IdentityProviderServiceIDPType" end |