Skip to content
Snippets Groups Projects
Commit 601c5b3c authored by Carmelo Magnafico's avatar Carmelo Magnafico
Browse files

update readme file

parent 3503a1a6
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,20 @@ inputs: ...@@ -29,6 +29,20 @@ inputs:
Outputs: Outputs:
none none
You can also use a credential file as shown in /test:
```
credentials = jsondecode(fileread('credentials.json'));
opts = struct("username", credentials.username, "password", credentials.password ,"maxDuration", false);
```
where the json file is so created:
```
{
"username":"ygagarin",
"password":":YG_password"
}
```
When the user will succesfully login via the login class method `MatMust_login()` a auth.json file with the authorization tocken will be wrote on your workingdirectory root. When the user will succesfully login via the login class method `MatMust_login()` a auth.json file with the authorization tocken will be wrote on your workingdirectory root.
### MatMust_logincheck ### MatMust_logincheck
......
{
"username":"ygagarin",
"password":":YG_password"
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment