![]() |
lf-api-client-core-dotnet
1.3.7
|
The API client for the Laserfiche Self-Hosted token route. More...
Public Member Functions | |
| virtual async Task< SessionKeyInfo > | TokenAsync (string repoId, CreateConnectionRequest body=null, CancellationToken cancellationToken=default(CancellationToken)) |
| Request for an access token. - Creates an access token for use with the Laserfiche API. - Provides credentials and uses the access token returned with subsequent API calls as a means of authorization. - For authentication with password, username and password are required and grant_type must be 'password'. - Only available in Laserfiche Self-hosted. | |
| TokenClient (HttpClient httpClient) | |
Properties | |
| bool | ReadResponseAsString [get, set] |
The API client for the Laserfiche Self-Hosted token route.
|
inlinevirtual |
Request for an access token.
- Creates an access token for use with the Laserfiche API.
- Provides credentials and uses the access token returned with subsequent API calls as a means of authorization.
- For authentication with password, username and password are required and grant_type must be 'password'.
- Only available in Laserfiche Self-hosted.
| cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| repoId | The requested repository ID. |
| ApiException | A server side error occurred. |
Implements ITokenClient.