Skip to content

Commit

Permalink
correct variable names in README.md examples
Browse files Browse the repository at this point in the history
These methods are on the AWSSRP class, not a user class
  • Loading branch information
NodeJSmith authored Jan 3, 2025
1 parent 559462a commit a20e1a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ The method returns two values, `response` and `device_password`. `device_passwor
the Cognito user pool.

```python
response, device_password = user.confirm_device(tokens=tokens)
response, device_password = aws.confirm_device(tokens=tokens)
```

### Updating Device Status
Expand All @@ -718,7 +718,7 @@ three inputs, `is_remembered`, `access_token` and `device_key`. `is_remembered`
provided by the `authenticate_user` method.

```python
response = user.update_device_status(False, tokens["AuthenticationResult"]["AccessToken"], device_key)
response = aws.update_device_status(False, tokens["AuthenticationResult"]["AccessToken"], device_key)
```

### Authenticating your Device
Expand Down

0 comments on commit a20e1a7

Please sign in to comment.