AuthorizationRequest¶
-
class
oci.identity_data_plane.models.
AuthorizationRequest
(**kwargs)¶ Bases:
object
AuthorizationRequest model.
Methods
__init__
(**kwargs)Initializes a new AuthorizationRequest object with values from keyword arguments. Attributes
context
[Required] Gets the context of this AuthorizationRequest. policy_hash
[Required] Gets the policy_hash of this AuthorizationRequest. request_id
[Required] Gets the request_id of this AuthorizationRequest. service_name
[Required] Gets the service_name of this AuthorizationRequest. svc_principal
[Required] Gets the svc_principal of this AuthorizationRequest. user_principal
[Required] Gets the user_principal of this AuthorizationRequest. -
__init__
(**kwargs)¶ Initializes a new AuthorizationRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - request_id (str) – The value to assign to the request_id property of this AuthorizationRequest.
- user_principal (oci.identity_data_plane.models.Principal) – The value to assign to the user_principal property of this AuthorizationRequest.
- svc_principal (oci.identity_data_plane.models.Principal) – The value to assign to the svc_principal property of this AuthorizationRequest.
- service_name (str) – The value to assign to the service_name property of this AuthorizationRequest.
- context (list[oci.identity_data_plane.models.PermissionContext]) – The value to assign to the context property of this AuthorizationRequest.
- policy_hash (str) – The value to assign to the policy_hash property of this AuthorizationRequest.
-
context
¶ [Required] Gets the context of this AuthorizationRequest. A set of permission contexts
Returns: The context of this AuthorizationRequest. Return type: list[oci.identity_data_plane.models.PermissionContext]
-
policy_hash
¶ [Required] Gets the policy_hash of this AuthorizationRequest. The hash of cached policy on the caller service side. If this is different than what Identity has, it will send the most recent policy statements.
Returns: The policy_hash of this AuthorizationRequest. Return type: str
-
request_id
¶ [Required] Gets the request_id of this AuthorizationRequest. The id of this request. It is a GUID.
Returns: The request_id of this AuthorizationRequest. Return type: str
-
service_name
¶ [Required] Gets the service_name of this AuthorizationRequest. The name of the service that is making this authorization request
Returns: The service_name of this AuthorizationRequest. Return type: str
-
svc_principal
¶ [Required] Gets the svc_principal of this AuthorizationRequest. The service principal object for service to service calls.
Returns: The svc_principal of this AuthorizationRequest. Return type: oci.identity_data_plane.models.Principal
-
user_principal
¶ [Required] Gets the user_principal of this AuthorizationRequest. The user principal object
Returns: The user_principal of this AuthorizationRequest. Return type: oci.identity_data_plane.models.Principal
-