public class TokenClientImpl extends BaseTokenClient implements TokenClient
httpClient, objectMapper| Constructor and Description |
|---|
TokenClientImpl(String regionalDomain)
Creates a new Laserfiche Cloud token route API client.
|
| Modifier and Type | Method and Description |
|---|---|
GetAccessTokenResponse |
getAccessTokenFromServicePrincipal(String servicePrincipalKey,
AccessKey accessKey)
Gets an OAuth access token given a Laserfiche Cloud service principal key and an OAuth service application access key.
|
GetAccessTokenResponse |
getAccessTokenFromServicePrincipal(String servicePrincipalKey,
AccessKey accessKey,
String scope)
Gets an OAuth access token given a Laserfiche Cloud service principal key and an OAuth service application access key.
|
closeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic TokenClientImpl(String regionalDomain)
regionalDomain - Laserfiche Cloud domain associated with the access key, e.g. laserfiche.com.public GetAccessTokenResponse getAccessTokenFromServicePrincipal(String servicePrincipalKey, AccessKey accessKey)
TokenClientgetAccessTokenFromServicePrincipal in interface TokenClientservicePrincipalKey - The service principal key created for the service principal from the Laserfiche Account Administration.accessKey - The access key exported from the Laserfiche Developer Console.public GetAccessTokenResponse getAccessTokenFromServicePrincipal(String servicePrincipalKey, AccessKey accessKey, String scope)
TokenClientgetAccessTokenFromServicePrincipal in interface TokenClientservicePrincipalKey - 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 - The requested space-delimited scopes for the access token.Copyright © 2025. All rights reserved.