Skip to content

Commit

Permalink
Merge pull request #51 from MaxTuecke/login_fix
Browse files Browse the repository at this point in the history
Removed login method from documentation
  • Loading branch information
WardLT committed Mar 5, 2019
2 parents 7f7404b + 049a14c commit 441298d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ identities to each of our users.
Before creating the DLHubClient, you must log in to Globus::

from dlhub_sdk.client import DLHubClient
client = DLHubClient.login()
client = DLHubClient()

The ``login`` class method stores your credentials in your home directory
(``~/.globus.cfg``) so that you will only need to log in to Globus once when
using the client or the DLHub CLI.
The ``DLHubClient`` class stores your credentials in your home directory
(``~/.dlhub/credentials/DLHub_Client_tokens.json``) so that you will only
need to log in to Globus once when using the client or the DLHub CLI.


Call the ``logout`` function to remove access to DLHub from your system::
Expand Down

0 comments on commit 441298d

Please sign in to comment.