Implements

Properties

attributesClient: IAttributesClient
auditReasonsClient: IAuditReasonsClient
entriesClient: IEntriesClient
fieldDefinitionsClient: IFieldDefinitionsClient
linkDefinitionsClient: ILinkDefinitionsClient
repositoriesClient: IRepositoriesClient
searchesClient: ISearchesClient
simpleSearchesClient: ISimpleSearchesClient
tagDefinitionsClient: ITagDefinitionsClient
tasksClient: ITasksClient
templateDefinitionsClient: ITemplateDefinitionsClient

Accessors

Methods

  • Create a Laserfiche repository client that will use Laserfiche Cloud OAuth client credentials to get access tokens.

    Parameters

    • servicePrincipalKey: string

      The service principal key created for the service principal from the Laserfiche Account Administration.

    • accessKey: AccessKey

      The access key exported from the Laserfiche Developer Console.

    • Optionalscope: string

      (optional) The requested space-delimited scopes for the access token.

    • OptionalbaseUrlDebug: string

      (optional) override for the Laserfiche repository API base url.

    Returns RepositoryApiClient

  • Create 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.

    Parameters

    • repositoryId: string

      The repository ID

    • username: string

      The username

    • password: string

      The password

    • baseUrl: string

      API server base URL e.g., https://{APIServerName}/LFRepositoryAPI

    Returns RepositoryApiClient