Open a connection with Mica and returns a Mica object. When the two-factor authentication mechanism is enabled, the user will be prompt for one-time password input.
Arguments
- username
User name in mica. Can be provided by "mica.username" option.
- password
User password in mica. Can be provided by "mica.password" option.
- url
Mica url or list of mica urls. Can be provided by "mica.url" option. Secure http (https) connection is required.
- opts
Curl options. Can be provided by "mica.opts" option.