Section author: Alice Jacques <alice.jacques@noirlab.edu>, Adam Scott <adam.scott@noirlab.edu>
Version: 20210105
1.6.1. Authorization ManagerΒΆ
The Authorization service provides per-user security access to Data Lab through AuthClient. It allows users to handle the services provided by Data Lab such as querying a dataset (QueryClient) and storing files to VOSpace and tables to MyDB (StorageClient).
Much of the functionality of Data Lab can be accessed without explicitly logging in (the service then uses an anonymous login). But some capacities, for instance saving the results of your queries to your virtual storage space, require a login (i.e. you will need a registered user account).
> from dl import authClient as ac
> ac.login(input('Enter user name (+ENTER): '),getpass('Enter password (+ENTER): '))
> ac.whoAmI()
'demo00'