AuthenticationPrincipal¶
-
class
oci.identity_data_plane.models.AuthenticationPrincipal(**kwargs)¶ Bases:
objectAuthenticationPrincipal model.
Methods
__init__(**kwargs)Initializes a new AuthenticationPrincipal object with values from keyword arguments. Attributes
tenant[Required] Gets the tenant of this AuthenticationPrincipal. user[Required] Gets the user of this AuthenticationPrincipal. -
__init__(**kwargs)¶ Initializes a new AuthenticationPrincipal object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - tenant (oci.identity_data_plane.models.Tenant) – The value to assign to the tenant property of this AuthenticationPrincipal.
- user (oci.identity_data_plane.models.User) – The value to assign to the user property of this AuthenticationPrincipal.
-
tenant¶ [Required] Gets the tenant of this AuthenticationPrincipal. The tenancy object.
Returns: The tenant of this AuthenticationPrincipal. Return type: oci.identity_data_plane.models.Tenant
-
user¶ [Required] Gets the user of this AuthenticationPrincipal. The user object.
Returns: The user of this AuthenticationPrincipal. Return type: oci.identity_data_plane.models.User
-