Package com.oracle.bmc.auth
Class CustomerKeyIdFormatter
- java.lang.Object
- 
- com.oracle.bmc.auth.CustomerKeyIdFormatter
 
- 
 public class CustomerKeyIdFormatter extends Object Formatter used to create the correct ‘keyId’ needed for signing requests.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringcreateKeyId(AuthenticationDetailsProvider provider)Creates a keyId from anAuthenticationDetailsProvider.static StringcreateKeyId(String tenantId, String userId, String fingerprint)Creates a keyId from the individual components.
 
- 
- 
- 
Method Detail- 
createKeyIdpublic static String createKeyId(String tenantId, String userId, String fingerprint) Creates a keyId from the individual components.- Parameters:
- tenantId- The tenantId
- userId- The userId
- fingerprint- The fingerprint
- Returns:
- The keyId used to sign requests
 
 - 
createKeyIdpublic static String createKeyId(@Nonnull AuthenticationDetailsProvider provider) Creates a keyId from anAuthenticationDetailsProvider.- Parameters:
- provider- The provider
- Returns:
- The keyId used to sign requests
 
 
- 
 
-