summaryrefslogtreecommitdiff
path: root/enterprise.h
diff options
context:
space:
mode:
Diffstat (limited to 'enterprise.h')
-rw-r--r--enterprise.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/enterprise.h b/enterprise.h
index cf76edb0..e4a5695e 100644
--- a/enterprise.h
+++ b/enterprise.h
@@ -53,6 +53,14 @@ namespace BinaryNinja
bool Initialize();
/*!
+ Authenticate to the server with an access token
+ \param token Token of auth session
+ \param remember Remember token in keychain
+ \return True if successful
+ */
+ bool AuthenticateWithToken(const std::string& token, bool remember);
+
+ /*!
Authenticate to the Enterprise server with username and password
\param username Username to authenticate with
\param password Password to authenticate with