Package oracle.nosql.driver.iam

# Class SignatureProvider.ResourcePrincipalClaimKeys

java.lang.Object
oracle.nosql.driver.iam.SignatureProvider.ResourcePrincipalClaimKeys

Enclosing class:
  SignatureProvider

public static class SignatureProvider.ResourcePrincipalClaimKeys extends Object
Claim keys in the resource principal session token(RPST).

They can be used to retrieve resource principal metadata such as its compartment and tenancy OCID.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `COMPARTMENT_ID_CLAIM_KEY`
  The claim name that the RPST holds for the resource compartment.
  `static final String`
  `TENANT_ID_CLAIM_KEY`
  The claim name that the RPST holds for the resource tenancy.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResourcePrincipalClaimKeys()`

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### COMPARTMENT_ID_CLAIM_KEY

    public static final String COMPARTMENT_ID_CLAIM_KEY
    The claim name that the RPST holds for the resource compartment. This can be passed to `SignatureProvider.getResourcePrincipalClaim(String)` to retrieve the resource's compartment OCID.
    See Also:
      - Constant Field Values

  - ### TENANT_ID_CLAIM_KEY

    public static final String TENANT_ID_CLAIM_KEY
    The claim name that the RPST holds for the resource tenancy. This can be passed to `SignatureProvider.getResourcePrincipalClaim(String)` to retrieve the resource's tenancy OCID.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### ResourcePrincipalClaimKeys

    public ResourcePrincipalClaimKeys()