class DocuSign_WebForms::AuthenticationMethod

Constants

BIOMETRIC
EMAIL
HTTP_BASIC_AUTH
KERBEROS
KNOWLEDGE_BASED_AUTH
NONE
PAPER_DOCUMENTS
PASSWORD
RSA_SECURE_ID
SINGLE_SIGN_ON_CA_SITEMINDER
SINGLE_SIGN_ON_INFO_CARD
SINGLE_SIGN_ON_MICROSOFT_ACTIVE_DIRECTORY
SINGLE_SIGN_ON_OTHER
SINGLE_SIGN_ON_PASSPORT
SINGLE_SIGN_ON_SAML
SMARTCARD
SSL_MUTUAL_AUTH
X509_CERTIFICATE

Public Instance Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# 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