pytan3.auth_methods.
Credentials
(http_client, username, password, domain='', secondary='', login_timeout=5, logout_timeout=5, expires_after=295, ver_check=True, lvl='info')[source]¶Bases: pytan3.auth_methods.CommonMixin
, pytan3.auth_methods.AuthMethod
Method that uses credentials to interact with the ‘/auth’ API.
__init__
(http_client, username, password, domain='', secondary='', login_timeout=5, logout_timeout=5, expires_after=295, ver_check=True, lvl='info')[source]¶Constructor.
Parameters: |
|
---|
get_version_req
()[source]¶Get the min, max, and eq version requirements of this class.
Notes
Dict can specify keys: “vmin”, “vmax”, “veq”.
This class method gets called by
pytan3.utils.versions.version_check_obj_req()
to perform version
checks.
Returns: | dict |
---|
get_args_required
()[source]¶Get all arguments used by this class that are required.
Returns: | list |
---|
get_args_secure
()[source]¶Get all arguments used by this class that need their prompt input hidden.
Returns: | list |
---|
_abc_impl
= <_abc_data object>¶