public class StaticCredentialsProvider extends Object implements FXCredentialsProvider
Constructor and Description |
---|
StaticCredentialsProvider(String apiKey,
String apiSecret) |
Modifier and Type | Method and Description |
---|---|
String |
getApiKey() |
String |
getApiSecret() |
FXCredentials |
getCredentials()
Returns FXCredentials which the caller can use to authorize an ImpossibleFX request.
|
StaticCredentialsProvider |
withApiKey(String apiKey) |
StaticCredentialsProvider |
withApiSecret(String apiSecret) |
public String getApiKey()
public StaticCredentialsProvider withApiKey(String apiKey)
public String getApiSecret()
public StaticCredentialsProvider withApiSecret(String apiSecret)
public FXCredentials getCredentials()
FXCredentialsProvider
getCredentials
in interface FXCredentialsProvider