From 68f04aca3f4e04c1ec2c3b5d54c04ff05e9b0c58 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 17 Mar 2026 16:15:41 -0400 Subject: Enterprise: Add AuthenticateWithToken api For when you have a token and want to auth with it directly --- enterprise.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'enterprise.h') diff --git a/enterprise.h b/enterprise.h index cf76edb0..e4a5695e 100644 --- a/enterprise.h +++ b/enterprise.h @@ -52,6 +52,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 -- cgit v1.3.1