RequestAuthenticationDetails¶
- class oci.apm_synthetics.models.RequestAuthenticationDetails(**kwargs)¶
Bases:
objectDetails for request HTTP authentication.
Attributes:
A constant which can be used with the auth_request_method property of a RequestAuthenticationDetails.
A constant which can be used with the auth_request_method property of a RequestAuthenticationDetails.
A constant which can be used with the oauth_scheme property of a RequestAuthenticationDetails.
A constant which can be used with the oauth_scheme property of a RequestAuthenticationDetails.
Gets the auth_headers of this RequestAuthenticationDetails.
Gets the auth_request_method of this RequestAuthenticationDetails.
Gets the auth_request_post_body of this RequestAuthenticationDetails.
Gets the auth_token of this RequestAuthenticationDetails.
Gets the auth_url of this RequestAuthenticationDetails.
Gets the auth_user_name of this RequestAuthenticationDetails.
Gets the auth_user_password of this RequestAuthenticationDetails.
Gets the oauth_scheme of this RequestAuthenticationDetails.
Methods:
__init__(**kwargs)Initializes a new RequestAuthenticationDetails object with values from keyword arguments.
- AUTH_REQUEST_METHOD_GET = 'GET'¶
A constant which can be used with the auth_request_method property of a RequestAuthenticationDetails. This constant has a value of “GET”
- AUTH_REQUEST_METHOD_POST = 'POST'¶
A constant which can be used with the auth_request_method property of a RequestAuthenticationDetails. This constant has a value of “POST”
- OAUTH_SCHEME_BASIC = 'BASIC'¶
A constant which can be used with the oauth_scheme property of a RequestAuthenticationDetails. This constant has a value of “BASIC”
- OAUTH_SCHEME_NONE = 'NONE'¶
A constant which can be used with the oauth_scheme property of a RequestAuthenticationDetails. This constant has a value of “NONE”
- __init__(**kwargs)¶
Initializes a new RequestAuthenticationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
oauth_scheme (str) – The value to assign to the oauth_scheme property of this RequestAuthenticationDetails. Allowed values for this property are: “NONE”, “BASIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
auth_user_name (str) – The value to assign to the auth_user_name property of this RequestAuthenticationDetails.
auth_user_password (str) – The value to assign to the auth_user_password property of this RequestAuthenticationDetails.
auth_token (str) – The value to assign to the auth_token property of this RequestAuthenticationDetails.
auth_url (str) – The value to assign to the auth_url property of this RequestAuthenticationDetails.
auth_headers (list[oci.apm_synthetics.models.Header]) – The value to assign to the auth_headers property of this RequestAuthenticationDetails.
auth_request_method (str) – The value to assign to the auth_request_method property of this RequestAuthenticationDetails. Allowed values for this property are: “GET”, “POST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
auth_request_post_body (str) – The value to assign to the auth_request_post_body property of this RequestAuthenticationDetails.
- property auth_headers¶
Gets the auth_headers of this RequestAuthenticationDetails. List of authentication headers. Example: [{“headerName”: “content-type”, “headerValue”:”json”}]
- Returns
The auth_headers of this RequestAuthenticationDetails.
- Return type
- property auth_request_method¶
Gets the auth_request_method of this RequestAuthenticationDetails. Request method.
Allowed values for this property are: “GET”, “POST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The auth_request_method of this RequestAuthenticationDetails.
- Return type
str
- property auth_request_post_body¶
Gets the auth_request_post_body of this RequestAuthenticationDetails. Request post body.
- Returns
The auth_request_post_body of this RequestAuthenticationDetails.
- Return type
str
- property auth_token¶
Gets the auth_token of this RequestAuthenticationDetails. Authentication token.
- Returns
The auth_token of this RequestAuthenticationDetails.
- Return type
str
- property auth_url¶
Gets the auth_url of this RequestAuthenticationDetails. URL to get authentication token.
- Returns
The auth_url of this RequestAuthenticationDetails.
- Return type
str
- property auth_user_name¶
Gets the auth_user_name of this RequestAuthenticationDetails. User name for authentication.
- Returns
The auth_user_name of this RequestAuthenticationDetails.
- Return type
str
- property auth_user_password¶
Gets the auth_user_password of this RequestAuthenticationDetails. User password for authentication.
- Returns
The auth_user_password of this RequestAuthenticationDetails.
- Return type
str
- property oauth_scheme¶
Gets the oauth_scheme of this RequestAuthenticationDetails. Request HTTP OAuth scheme.
Allowed values for this property are: “NONE”, “BASIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The oauth_scheme of this RequestAuthenticationDetails.
- Return type
str