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

Function token

python/enterprise.py:144–153  ·  view source on GitHub ↗

Get the token of the currently authenticated user to the Enterprise Server. :return: Token, if authenticated. None, otherwise.

()

Source from the content-addressed store, hash-verified

142
143
144def token() -> Optional[str]:
145 """
146 Get the token of the currently authenticated user to the Enterprise Server.
147
148 :return: Token, if authenticated. None, otherwise.
149 """
150 value = core.BNGetEnterpriseServerToken()
151 if value is None:
152 raise RuntimeError(last_error())
153 return value
154
155
156def server_url() -> str:

Callers

nothing calls this directly

Calls 1

last_errorFunction · 0.85

Tested by

no test coverage detected