No commit message authored by Martin Straka's avatar Martin Straka
No commit message
......@@ -65,18 +65,16 @@ The following options (services) are related to actions that should be performed
**--login**
* *username* - Username. Length is 6 characters. [Mandatory]
* *method* - Login method. Values: {user,cert,totp,hotp}. Note: totp = sms code; hotp = security code; Default is user. [Mandatory]
* *type* - Account type. Values: {test,std}. Default is std. [Mandatory]
* *password* - Password. Maximal length is 50 characters. [Mandatory]
* *password* - Password. Maximal length is 50 characters. [Optional]
* *certificate* - Path to certificate file (DER, PEM). [Optional]
* *otpcode* - Certificate password | Hardware/SMS security code. [Optional]
* *otpcode* - Certificate password | Hardware security code. **WARNING: SMS security code not supported now!** [Optional]
Return [status]
Example:
```
datovka --login "username='xxxxxx',method='certificate',type='std',password='yyyyyyyy',certificate='C:\temp\certificate.pem'"
datovka --login "username='xxxxxx',password='yyyyyyyy',certificate='C:\temp\certificate.pem',otpcode='zzzzzzz'"
```
**--get-msg-list**
......
......