Skip to content

Commit

Permalink
Fix typo in README.md (?) (SAML-Toolkits#400)
Browse files Browse the repository at this point in the history
It looked like I typo with a trailing semicolon that does not look like it was intended
  • Loading branch information
montao authored Feb 26, 2024
1 parent a1211a8 commit dab5813
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 @@ -772,7 +772,7 @@ Notice that we saved the user data in the session before the redirection to have
In order to retrieve attributes we use:

```python
attributes = auth.get_attributes();
attributes = auth.get_attributes()
```

With this method we get a dict with all the user data provided by the IdP in the assertion of the SAML response.
Expand All @@ -793,7 +793,7 @@ Each attribute name can be used as a key to obtain the value. Every attribute is
The following code is equivalent:

```python
attributes = auth.get_attributes();
attributes = auth.get_attributes()
print(attributes['cn'])

print(auth.get_attribute('cn'))
Expand Down

0 comments on commit dab5813

Please sign in to comment.