box-langchain
package offers some flexibility to authentication. The
most basic authentication method is by using a developer token. This can be
found in the Box developer console
on the configuration screen. This token is purposely short-lived (1 hour) and is
intended for development. With this token, you can add it to your environment as
BOX_DEVELOPER_TOKEN
, you can pass it directly to the loader, or you can use the
BoxAuth
authentication helper class.
We will cover passing it directly to the loader in the section below.
BoxAuth
supports the following authentication methods:
BoxAuth
helper class.BoxAuthType.TOKEN
with the token you have acquired.