![]() |
Laserfiche.Repository.Api.Client.V2
1.0.2
|
The Laserfiche Repository API client. More...
Static Public Member Functions | |
| static IRepositoryApiClient | CreateFromAccessKey (string servicePrincipalKey, AccessKey accessKey, string scope=null, string baseUrlDebug=null) |
| Create a Laserfiche repository client that will use Laserfiche Cloud OAuth client credentials to get access tokens. More... | |
| static IRepositoryApiClient | CreateFromHttpRequestHandler (IHttpRequestHandler httpRequestHandler, string baseUrlDebug=null) |
| Create a Laserfiche repository client. More... | |
| static IRepositoryApiClient | CreateFromUsernamePassword (string repositoryId, string username, string password, string baseUrl) |
| 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. More... | |
The Laserfiche Repository API client.
|
inlinestatic |
Create a Laserfiche repository client that will use Laserfiche Cloud OAuth client credentials to get access tokens.
| servicePrincipalKey | The service principal key created for the service principal from the Laserfiche Account Administration. |
| accessKey | The access key exported from the Laserfiche Developer Console. |
| scope | (optional) The requested space-delimited scopes for the access token. |
| baseUrlDebug | (optional) Override for the Laserfiche repository API base url. |
|
inlinestatic |
Create a Laserfiche repository client.
| httpRequestHandler | The http request handler for the Laserfiche APIs. |
| baseUrlDebug | (optional) Override for the Laserfiche repository API base url. |
|
inlinestatic |
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.
| repositoryId | The repository ID. |
| username | The username. |
| password | The password. |
| baseUrl | API server base URL e.g., https://{APIServerName}/LFRepositoryAPI. |