Skip to content
Snippets Groups Projects
Verified Commit b82d42cb authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'f-one-time-tokens' of gitlab.com:caosdb/caosdb-pylib into f-one-time-tokens

parents d480c8b0 34419ede
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ class Unauthenticated(AbstractAuthenticator):
raise LoginFailedException("This caosdb client is configured to stay "
"unauthenticated. Change your "
"`password_method` and provide an "
"`auth_token` or credentials if your want "
"`auth_token` or credentials if you want "
"to authenticate this client.")
def logout(self):
......
......@@ -337,7 +337,7 @@ def configure_connection(**kwargs):
auth_token : str (optional)
An authentication token which has been issued by the CaosDB Server.
Implies `password_method="auth_token"` if set.
Implies `password_method="auth_token"` if set. An example token string would be `["O","OneTimeAuthenticationToken","anonymous",["administration"],[],1592995200000,604800000,"3ZZ4WKRB-5I7DG2Q6-ZZE6T64P-VQ","197d0d081615c52dc18fb323c300d7be077beaad4020773bb58920b55023fa6ee49355e35754a4277b9ac525c882bcd3a22e7227ba36dfcbbdbf8f15f19d1ee9",1,30000]`.
implementation : CaosDBServerConnection
The class which implements the connection. (Default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment