Skip to content

Commit 06cd0dd

Browse files
committed
Merge branch 'develop'
2 parents a8b7ff5 + 27aefc0 commit 06cd0dd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
GAuthify-Python
22
===============
3-
This is the python API Client for [GAuthify](http://www.gauthify.com). The GAuthify REST api helps websites quickly add multi-factor authentication through Google Authenticator, SMS, and Email. This package is a simple wrapper around that api.
3+
[Direct link to library](https://github.com/GAuthify/GAuthify-Python)
4+
This is the python API Client for [GAuthify](https://www.gauthify.com). The GAuthify REST api helps websites quickly add multi-factor authentication through Google Authenticator, SMS, and Email. This package is a simple wrapper around that api.
45

56

67
Installation
@@ -46,13 +47,14 @@ The user hash returned will have paramaters outlined on the GAuthify.com dashboa
4647

4748
####Update User:####
4849

49-
auth_instance.update_user(<unique_id>, <email> *optional, <phone_number> *optional, <meta> *optional)
50+
auth_instance.update_user(<unique_id>, email=None, phone_number=None, meta=None, reset_key=None)
5051

5152
* unique_id: An id to identify user. Could be the PK used for the user in your db.
5253
* display_name: Name that will be displayed on the library
5354
* phone_number: A valid mobile phone number for sms (Currently US only!)
5455
* email: A valid email
5556
* meta: A dictionary of key/value pairs to be added to meta data
57+
* reset_key: If set to any in ['true' ,'t', '1'] the Google Authenticator secret key will be reset to a new one.
5658
* Returns: The updated user hash or raises Error
5759

5860

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup
22

33
setup(name='gauthify',
4-
version='1.22',
4+
version='1.25',
55
description='API library for GAuthify.com (Google Authenticator, SMS, email multi factor authentication).',
66
url='https://www.gauthify.com',
77
author='GAuthify',

0 commit comments

Comments
 (0)