Top Description Constructors Methods
com.oracle.bmc.auth

public Class CustomerKeyIdFormatter

extends Object
Class Inheritance
Imports
jakarta.annotation.Nonnull

Formatter used to create the correct 'keyId' needed for signing requests.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

The keyId used to sign requests
createKeyId
(String
The tenantId
tenantId
,
String
The userId
userId
,
String
The fingerprint
fingerprint
)

Creates a keyId from the individual components.

public static String

Returns:

The keyId used to sign requests
createKeyId
(AuthenticationDetailsProvider
The provider
provider
)

Creates a keyId from an AuthenticationDetailsProvider.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CustomerKeyIdFormatterback to summary
private CustomerKeyIdFormatter()

Method Detail

createKeyIdback to summary
public static String createKeyId(String tenantId, String userId, String fingerprint)

Creates a keyId from the individual components.

Parameters
tenantId:String

The tenantId

userId:String

The userId

fingerprint:String

The fingerprint

Returns:String

The keyId used to sign requests

createKeyIdback to summary
public static String createKeyId(AuthenticationDetailsProvider provider)

Creates a keyId from an AuthenticationDetailsProvider.

Parameters
provider:AuthenticationDetailsProvider

The provider

Returns:String

The keyId used to sign requests