Set the headers which will be sent with each request.
Static
createCreate a Laserfiche repository client that will use Laserfiche Cloud OAuth client credentials to get access tokens.
The service principal key created for the service principal from the Laserfiche Account Administration.
The access key exported from the Laserfiche Developer Console.
Optional
scope: string(optional) The requested space-delimited scopes for the access token.
Optional
baseUrlDebug: string(optional) override for the Laserfiche repository API base url.
Static
createCreate a Laserfiche repository client.
A function that will be used to retrieve the current Laserfiche API access token.
Optional
baseUrlDebug: string(optional) override for the Laserfiche repository API base url.
Static
createCreate a Laserfiche repository client.
The http request handler for the Laserfiche repository client.
Optional
baseUrlDebug: string(optional) override for the Laserfiche repository API base url.
Static
createCreate a Laserfiche repository client that will use username and password to get access tokens for Laserfiche API. Password credentials grant type is implemented by the Laserfiche Self-Hosted API server. Not available in cloud.
The repository ID
The username
The password
API server base URL e.g., https://{APIServerName}/LFRepositoryAPI
Get the headers which will be sent with each request.