<commit_before>Twilio SMS Authentication Script

This is a two step authentication workflow. The first step is standard username password authentication
against the local Gluu Server LDAP. The second step requires the person to enter a code that is sent via 
SMS to the person's mobile number. 

This script uses the Twilio service to send the message. You'll need to sign-up with Twilio to 
get an account to acquire credentials to call the API. You'll also need to download the
latest Twilio Java helper jar file with dependencies http://search.maven.org/#search%7Cga%7C1%7Ccom.twilio.sdk 
and install it in /var/webapps/gluu/oxauth/libs directory and restart Tomcat using the below command.

service tomcat stop
service tomcat start

There are three required custom properties:
    twilio_sid     Your account id at Twilio
    twilio_token   The API secret provided by Twilio
    from_number    The number you are using E.164 number formatting, see
                   https://www.twilio.com/help/faq/phone-numbers/how-do-i-format-phone-numbers-to-work-internationally 
<commit_msg>Update README.txt<commit_after>Twilio SMS Authentication Script

This is a two step authentication workflow. The first step is standard username password authentication
against the local Gluu Server LDAP. The second step requires the person to enter a code that is sent via 
SMS to the person's mobile number. 

This script uses the Twilio service to send the message. You'll need to sign-up with Twilio to 
get an account to acquire credentials to call the API. You'll also need to download the
latest Twilio Java helper jar file with dependencies http://search.maven.org/#search%7Cga%7C1%7Ccom.twilio.sdk 
and install it in /var/webapps/gluu/oxauth/libs directory and restart Tomcat using the below command.

service tomcat stop
service tomcat start


> **Note**: Indent and tabbing may change while copy, paste of the sample code, check for the tab before executing the sample code.

There are three required custom properties:
    twilio_sid     Your account id at Twilio
    twilio_token   The API secret provided by Twilio
    from_number    The number you are using E.164 number formatting, see
                   https://www.twilio.com/help/faq/phone-numbers/how-do-i-format-phone-numbers-to-work-internationally 

{'fraction_non_alphanumeric': 0.04856895056374675, 'fraction_numerical': 0.006071118820468344, 'mean_word_length': 3.8773784355179703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4810187', 'n_tokens_mistral': 635, 'n_tokens_neox': 599, 'n_words': 295}