lf-api-client-core-dotnet  1.3.7
Loading...
Searching...
No Matches
ITokenClient Interface Reference

The API client for the Laserfiche Self-Hosted token route. More...

Inheritance diagram for ITokenClient:
TokenClient

Public Member Functions

Task< SessionKeyInfoTokenAsync (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.
 

Detailed Description

The API client for the Laserfiche Self-Hosted token route.

Member Function Documentation

◆ TokenAsync()

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.

Parameters
cancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
repoIdThe requested repository ID.
Returns
Create an access token successfuly.
Exceptions
ApiExceptionA server side error occurred.

Implemented in TokenClient.


The documentation for this interface was generated from the following file: