public class TokenClientImpl extends BaseTokenClient implements TokenClient
httpClient, objectMapper
Constructor and Description |
---|
TokenClientImpl(String baseUrl)
Creates a new Laserfiche Self-Hosted token route API client.
|
Modifier and Type | Method and Description |
---|---|
SessionKeyInfo |
createAccessToken(String repositoryId,
CreateConnectionRequest body)
Gets a Laserfiche Self-Hosted access token.
|
close
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public TokenClientImpl(String baseUrl)
baseUrl
- APIServer Base Url e.g. https://{APIServerName}/LFRepositoryAPI.public SessionKeyInfo createAccessToken(String repositoryId, CreateConnectionRequest body)
TokenClient
createAccessToken
in interface TokenClient
repositoryId
- Repository ID.body
- Request body used to get a Laserfiche Self-Hosted access token.SessionKeyInfo
object that contains an access token.Copyright © 2024. All rights reserved.