diff options
| author | Glenn Smith <glenn@vector35.com> | 2026-03-17 16:15:41 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2026-04-20 12:37:02 -0400 |
| commit | 68f04aca3f4e04c1ec2c3b5d54c04ff05e9b0c58 (patch) | |
| tree | 55f9128c8bcf02e1cf43c926ebd1fd4236b8aea1 /enterprise.h | |
| parent | bfd306437f34ebc4d4170c5fb8170261585f6038 (diff) | |
Enterprise: Add AuthenticateWithToken api
For when you have a token and want to auth with it directly
Diffstat (limited to 'enterprise.h')
| -rw-r--r-- | enterprise.h | 8 |
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 |
