Skip to content

Commit bbbb63f

Browse files
committed
docs: remove trailing semicolons from Python examples, fix loginHint to login_hint
1 parent af32ea9 commit bbbb63f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/RetrievingData.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The SDK's `get_user()` can be used to retrieve the current logged-in user:
66

77
```python
8-
user = await serverClient.get_user();
8+
user = await serverClient.get_user()
99
```
1010

1111
### Passing Store Options
@@ -27,7 +27,7 @@ Read more above in [Configuring the Store](./ConfigureStore.md).
2727
The SDK's `get_session()` can be used to retrieve the current session data:
2828

2929
```python
30-
session = await serverClient.get_session();
30+
session = await serverClient.get_session()
3131
```
3232

3333
### Passing Store Options
@@ -185,7 +185,7 @@ access_token_for_google = await server_client.get_access_token_for_connection(co
185185
```
186186

187187
- `connection`: The connection for which an access token should be retrieved, e.g. `google-oauth2` for Google.
188-
- `loginHint`: Optional login hint to inform which connection account to use, can be useful when multiple accounts for the connection exist for the same user.
188+
- `login_hint`: Optional login hint to inform which connection account to use, can be useful when multiple accounts for the connection exist for the same user.
189189

190190
The SDK will cache the token internally, and return it from the cache when not expired. When no token is found in the cache, or the token is expired, calling `get_access_token_for_connection()` will call Auth0 to retrieve a new token and update the cache.
191191

0 commit comments

Comments
 (0)