Class: DocuSign_WebForms::AuthenticationMethod
- Inherits:
-
Object
- Object
- DocuSign_WebForms::AuthenticationMethod
- Defined in:
- lib/docusign_webforms/models/authentication_method.rb
Constant Summary collapse
- BIOMETRIC =
'Biometric'.freeze
- EMAIL =
'Email'.freeze
- HTTP_BASIC_AUTH =
'HTTPBasicAuth'.freeze
- KERBEROS =
'Kerberos'.freeze
- KNOWLEDGE_BASED_AUTH =
'KnowledgeBasedAuth'.freeze
- NONE =
'None'.freeze
- PAPER_DOCUMENTS =
'PaperDocuments'.freeze
- PASSWORD =
'Password'.freeze
- RSA_SECURE_ID =
'RSASecureID'.freeze
- SINGLE_SIGN_ON_CA_SITEMINDER =
'SingleSignOn_CASiteminder'.freeze
- SINGLE_SIGN_ON_INFO_CARD =
'SingleSignOn_InfoCard'.freeze
- SINGLE_SIGN_ON_MICROSOFT_ACTIVE_DIRECTORY =
'SingleSignOn_MicrosoftActiveDirectory'.freeze
- SINGLE_SIGN_ON_OTHER =
'SingleSignOn_Other'.freeze
- SINGLE_SIGN_ON_PASSPORT =
'SingleSignOn_Passport'.freeze
- SINGLE_SIGN_ON_SAML =
'SingleSignOn_SAML'.freeze
- SMARTCARD =
'Smartcard'.freeze
- SSL_MUTUAL_AUTH =
'SSLMutualAuth'.freeze
- X509_CERTIFICATE =
'X509Certificate'.freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
39 40 41 42 43 |
# File 'lib/docusign_webforms/models/authentication_method.rb', line 39 def build_from_hash(value) constantValues = AuthenticationMethod.constants.select { |c| AuthenticationMethod::const_get(c) == value } raise "Invalid ENUM value #{value} for class #AuthenticationMethod" if constantValues.empty? value end |