Make login optional
Open
@tianhao64 is already working on this.
Since Dec 29, 2015.
enhancement
help wanted
sample request
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
We're trying to develop an extension using pyvmomi, and extensions don't log in using username and password, but use the LoginExtensionByCertificate API. However, when we call Connect or SmartConnect, we must provide a username and password for log in...
It would be great if the __Login function was called from Connect only if user and pwd were provided, so that it would be optional instead of mandatory.
This way we can create a Connection class and then call the API on our own: service_instance.content.sessionManager.LoginExtensionByCertificate
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.