public class AuthleteSimpleConfiguration extends Object implements AuthleteConfiguration
AuthleteConfiguration.| Constructor and Description |
|---|
AuthleteSimpleConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUrl()
Get the base URL.
|
String |
getClientCertificate()
Get the certificate used for MTLS bound
access tokens in PEM format.
|
String |
getDpopKey()
Get the public/private keypair used for DPoP
signatures in JWK format.
|
String |
getServiceAccessToken()
Get the service API access token
|
String |
getServiceApiKey()
Get the service API key.
|
String |
getServiceApiSecret()
Get the service API secret.
|
String |
getServiceOwnerAccessToken()
Get the service owner API access token
|
String |
getServiceOwnerApiKey()
Get the service owner API key.
|
String |
getServiceOwnerApiSecret()
Get the service owner API secret.
|
AuthleteSimpleConfiguration |
setBaseUrl(String baseUrl)
Set the base URL.
|
AuthleteSimpleConfiguration |
setClientCertificate(String clientCertificate)
Set the client's MTLS certificate in PEM format.
|
AuthleteSimpleConfiguration |
setDpopKey(String dpopKey)
Set the DPoP access public and private key pair
in serialized JWK format.
|
AuthleteSimpleConfiguration |
setServiceAccessToken(String accessToken)
Set the access token of the service.
|
AuthleteSimpleConfiguration |
setServiceApiKey(String apiKey)
Set the API key of the service.
|
AuthleteSimpleConfiguration |
setServiceApiSecret(String apiSecret)
Set the API secret of the service.
|
AuthleteSimpleConfiguration |
setServiceOwnerAccessToken(String accessToken)
Set the access token of the service owner.
|
AuthleteSimpleConfiguration |
setServiceOwnerApiKey(String apiKey)
Set the API key of the service owner.
|
AuthleteSimpleConfiguration |
setServiceOwnerApiSecret(String apiSecret)
Set the API secret of the service owner.
|
public String getBaseUrl()
AuthleteConfigurationgetBaseUrl in interface AuthleteConfigurationpublic AuthleteSimpleConfiguration setBaseUrl(String baseUrl)
baseUrl - The base URL.this object.public String getServiceOwnerApiKey()
AuthleteConfigurationgetServiceOwnerApiKey in interface AuthleteConfigurationpublic AuthleteSimpleConfiguration setServiceOwnerApiKey(String apiKey)
apiKey - The API key of the service owner.this object.public String getServiceOwnerApiSecret()
AuthleteConfigurationgetServiceOwnerApiSecret in interface AuthleteConfigurationpublic AuthleteSimpleConfiguration setServiceOwnerApiSecret(String apiSecret)
apiSecret - The API secret of the service owner.this object.public String getServiceOwnerAccessToken()
AuthleteConfigurationgetServiceOwnerAccessToken in interface AuthleteConfigurationpublic AuthleteSimpleConfiguration setServiceOwnerAccessToken(String accessToken)
accessToken - The access token of the service owner.this object.public String getServiceApiKey()
AuthleteConfigurationgetServiceApiKey in interface AuthleteConfigurationpublic AuthleteSimpleConfiguration setServiceApiKey(String apiKey)
apiKey - The API key of the service.this object.public String getServiceApiSecret()
AuthleteConfigurationgetServiceApiSecret in interface AuthleteConfigurationpublic AuthleteSimpleConfiguration setServiceApiSecret(String apiSecret)
apiSecret - The API secret of the service.this object.public String getServiceAccessToken()
AuthleteConfigurationgetServiceAccessToken in interface AuthleteConfigurationpublic AuthleteSimpleConfiguration setServiceAccessToken(String accessToken)
accessToken - The access token of the service.this object.public String getDpopKey()
AuthleteConfigurationgetDpopKey in interface AuthleteConfigurationpublic AuthleteSimpleConfiguration setDpopKey(String dpopKey)
public String getClientCertificate()
AuthleteConfigurationgetClientCertificate in interface AuthleteConfigurationpublic AuthleteSimpleConfiguration setClientCertificate(String clientCertificate)
Copyright © 2021. All rights reserved.