Skip to content

Commit

Permalink
Added django-requirements.txt to the .travis.yml and updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
bjinwright committed Apr 11, 2017
1 parent 721aa71 commit a53cb08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ python:
# command to install dependencies
install: "pip install nose coverage"
install: "pip install -r requirements.txt"
install: "pip install -r django-requirements.txt"
# command to run tests
script: nosetests
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ u = Cognito('your-user-pool-id','your-client-id')

u.register('username','password',email='you@you.com',some_random_attr='random value') #**kwargs are the other attributes that should be set ex. email, given_name, family_name
```
##### Arguments

- **username:** User Pool username
- **password:** User Pool password
- **attr_map:** Attribute map to Cognito's attributes
- **kwargs:** Additional User Pool attributes ex. **{'email':'you@you.com'}


#### Authenticate ####

Expand Down Expand Up @@ -219,6 +226,9 @@ u = Cognito('your-user-pool-id','your-client-id',

u.check_token()
```
##### Arguments

No arguments for check_token

#### Logout ####

Expand Down

0 comments on commit a53cb08

Please sign in to comment.