Principal¶
-
class
oci.identity_data_plane.models.
Principal
(**kwargs)¶ Bases:
object
Principal model.
Methods
__init__
(**kwargs)Initializes a new Principal object with values from keyword arguments. Attributes
claims
[Required] Gets the claims of this Principal. subject_id
[Required] Gets the subject_id of this Principal. tenant_id
[Required] Gets the tenant_id of this Principal. -
__init__
(**kwargs)¶ Initializes a new Principal object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - subject_id (str) – The value to assign to the subject_id property of this Principal.
- tenant_id (str) – The value to assign to the tenant_id property of this Principal.
- claims (list[oci.identity_data_plane.models.Claim]) – The value to assign to the claims property of this Principal.
-
claims
¶ [Required] Gets the claims of this Principal. The set of claims for this principal.
Returns: The claims of this Principal. Return type: list[oci.identity_data_plane.models.Claim]
-
subject_id
¶ [Required] Gets the subject_id of this Principal. The user’s OCID.
Returns: The subject_id of this Principal. Return type: str
-
tenant_id
¶ [Required] Gets the tenant_id of this Principal. The tenancy OCID.
Returns: The tenant_id of this Principal. Return type: str
-