Skip to content

Commit fb8adbe

Browse files
authored
Update sign-in-out.md
small improvements
1 parent 9f42a46 commit fb8adbe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/sign-in-out.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ with server.auth.sign_in(tableau_auth):
1515
# Do awesome things here!
1616
```
1717

18-
The `SERVER_URL` is the URL of the Tableau server without subpaths. For local Tableau servers, in the form of: `https://www.MY_SERVER.com`. For Tableau Online, `https://10ax.online..tableau.com/`.
18+
`SERVER_URL` is the URL of your Tableau server without subpaths. For local Tableau servers, an example would be: `https://www.MY_SERVER.com`. For Tableau Online, an example would be: `https://10ax.online.tableau.com/`.
1919

20-
`SITENAME` is same as the `contentURL`, or site subpath, of your full site URL. This parameter can be omitted when signing in to the Default site of a locally installed Tableau server.
20+
`SITENAME` is the subpath of your site of your full site URL (also called `contentURL` in the REST API). `MYSITE` would be the site name of `https://10ax.online.tableau.com/MYSITE`. This parameter can be omitted when signing in to the Default site of a locally installed Tableau server.
2121

22-
Optionally, you can override the Tableau API version by adding `server.version = '<VERSION_NUMBER>'` before the `auth.signin` call.
22+
Optionally, you can override the version of Tableau API you are authorizing against by adding `server.version = '<VERSION_NUMBER>'` before the `auth.signin` call.
2323

2424
The TSC library signs you out of Tableau Server when you exit out of the `with` block.
2525

@@ -28,7 +28,7 @@ The TSC library signs you out of Tableau Server when you exit out of the `with`
2828
credentials token is limited by the maximum session length set on your Tableau Server (2 hours by default).
2929
</div>
3030

31-
An option to using a `with` block is to call the `Auth.sign_in` and `Auth.sign_out` functions explicitly.
31+
An alternative to using a `with` block is to call the `Auth.sign_in` and `Auth.sign_out` functions explicitly.
3232

3333
```py
3434
import tableauserverclient as TSC

0 commit comments

Comments
 (0)