OnBehalfOfRequest¶
- class oci.identity_data_plane.models.OnBehalfOfRequest(**kwargs)¶
Bases:
objectOnBehalfOfRequest model.
Methods:
__init__(**kwargs)Initializes a new OnBehalfOfRequest object with values from keyword arguments.
Attributes:
Gets the expiration of this OnBehalfOfRequest.
Gets the obo_token of this OnBehalfOfRequest.
[Required] Gets the request_headers of this OnBehalfOfRequest.
[Required] Gets the target_service_name of this OnBehalfOfRequest.
- __init__(**kwargs)¶
Initializes a new OnBehalfOfRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
request_headers (dict(str, list[str])) – The value to assign to the request_headers property of this OnBehalfOfRequest.
target_service_name (str) – The value to assign to the target_service_name property of this OnBehalfOfRequest.
obo_token (str) – The value to assign to the obo_token property of this OnBehalfOfRequest.
expiration (str) – The value to assign to the expiration property of this OnBehalfOfRequest.
- property expiration¶
Gets the expiration of this OnBehalfOfRequest. A duration for which the obo token is requested to be valid.
- Returns
The expiration of this OnBehalfOfRequest.
- Return type
str
- property obo_token¶
Gets the obo_token of this OnBehalfOfRequest. If you have an obo token already, exchange that for a new obo token.
- Returns
The obo_token of this OnBehalfOfRequest.
- Return type
str
- property request_headers¶
[Required] Gets the request_headers of this OnBehalfOfRequest. The signed headers of the customer call.
- Returns
The request_headers of this OnBehalfOfRequest.
- Return type
dict(str, list[str])
- property target_service_name¶
[Required] Gets the target_service_name of this OnBehalfOfRequest. The name of the target service.
- Returns
The target_service_name of this OnBehalfOfRequest.
- Return type
str