MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / authenticate_with_credentials

Function authenticate_with_credentials

python/enterprise.py:57–68  ·  view source on GitHub ↗

Authenticate to the Enterprise Server with username/password credentials. :param str username: Username to use. :param str password: Password to use. :param bool remember: Remember token in keychain

(username: str, password: str, remember: bool = True)

Source from the content-addressed store, hash-verified

55
56
57def authenticate_with_credentials(username: str, password: str, remember: bool = True):
58 """
59 Authenticate to the Enterprise Server with username/password credentials.
60
61 :param str username: Username to use.
62 :param str password: Password to use.
63 :param bool remember: Remember token in keychain
64 """
65 if not is_connected():
66 connect()
67 if not core.BNAuthenticateEnterpriseServerWithCredentials(username, password, remember):
68 raise RuntimeError(last_error())
69
70
71def authenticate_with_method(method: str, remember: bool = True):

Callers 1

acquireMethod · 0.85

Calls 3

is_connectedFunction · 0.85
connectFunction · 0.85
last_errorFunction · 0.85

Tested by

no test coverage detected