OnBehalfOfRequest

class oci.identity_data_plane.models.OnBehalfOfRequest(**kwargs)

Bases: object

OnBehalfOfRequest model.

Methods

__init__(**kwargs) Initializes a new OnBehalfOfRequest object with values from keyword arguments.

Attributes

expiration Gets the expiration of this OnBehalfOfRequest.
obo_token Gets the obo_token of this OnBehalfOfRequest.
request_headers [Required] Gets the request_headers of this OnBehalfOfRequest.
target_service_name [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.
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
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
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])
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