Package | Description |
---|---|
com.laserfiche.api.client.httphandlers |
Provides classes to modify HTTP requests and handle HTTP responses.
|
com.laserfiche.api.client.model |
Provides model classes used by other packages.
|
com.laserfiche.api.client.oauth |
Provides classes to get access tokens for Laserfiche Cloud.
|
com.laserfiche.api.client.tokenclients |
Provides classes common to all token clients.
|
Constructor and Description |
---|
OAuthClientCredentialsHandler(String servicePrincipalKey,
AccessKey accessKey)
Creates a new Laserfiche Cloud OAuth client credentials HTTP handler.
|
OAuthClientCredentialsHandler(String servicePrincipalKey,
AccessKey accessKey,
String scope)
Creates a new Laserfiche Cloud OAuth client credentials HTTP handler.
|
Modifier and Type | Method and Description |
---|---|
static AccessKey |
AccessKey.createFromBase64EncodedAccessKey(String base64EncodedAccessKey)
Creates an AccessKey given a base-64 encoded access key.
|
Modifier and Type | Method and Description |
---|---|
GetAccessTokenResponse |
TokenClientImpl.getAccessTokenFromServicePrincipal(String servicePrincipalKey,
AccessKey accessKey) |
GetAccessTokenResponse |
TokenClient.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 |
TokenClientImpl.getAccessTokenFromServicePrincipal(String servicePrincipalKey,
AccessKey accessKey,
String scope) |
GetAccessTokenResponse |
TokenClient.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.
|
Modifier and Type | Method and Description |
---|---|
static String |
TokenClientUtils.createBearer(String servicePrincipalKey,
AccessKey accessKey)
Given a service principal key and an access key, return a string representation of the Bearer header.
|
Copyright © 2024. All rights reserved.