public interface IBMOAuthIdentity extends Identity
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IBMOAuthIdentity.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiKey()
Retrieve the IBM api key
|
static IBMOAuthIdentity.Builder |
builder() |
static IBMOAuthIdentity |
create(String apikey,
String serviceInstanceId)
Constructs a new credentials object, with the specified IAM api key and service Instance ID.
|
String |
getIAMToken() |
String |
serviceInstanceId()
Retrieve the IBM service instance id.
|
void |
setIAMToken(String token)
Retrieve the IAM Token used to authenticate request
|
expirationTime, providerNameString apiKey()
String serviceInstanceId()
void setIAMToken(String token)
static IBMOAuthIdentity.Builder builder()
String getIAMToken()
static IBMOAuthIdentity create(String apikey, String serviceInstanceId)
apikey - serviceInstanceId - Copyright © 2026. All rights reserved.