CustomClientAppDetails

class oci.apigateway.models.CustomClientAppDetails(**kwargs)

Bases: oci.apigateway.models.client_app_details.ClientAppDetails

Client App Credentials to be provided again.

Attributes

TYPE_CUSTOM str(object=’’) -> str
TYPE_VALIDATION_BLOCK str(object=’’) -> str
client_id [Required] Gets the client_id of this CustomClientAppDetails.
client_secret_id [Required] Gets the client_secret_id of this CustomClientAppDetails.
client_secret_version_number [Required] Gets the client_secret_version_number of this CustomClientAppDetails.
type [Required] Gets the type of this ClientAppDetails.

Methods

__init__(**kwargs) Initializes a new CustomClientAppDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_CUSTOM = 'CUSTOM'
TYPE_VALIDATION_BLOCK = 'VALIDATION_BLOCK'
__init__(**kwargs)

Initializes a new CustomClientAppDetails object with values from keyword arguments. The default value of the type attribute of this class is CUSTOM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this CustomClientAppDetails. Allowed values for this property are: “VALIDATION_BLOCK”, “CUSTOM”
  • client_id (str) – The value to assign to the client_id property of this CustomClientAppDetails.
  • client_secret_id (str) – The value to assign to the client_secret_id property of this CustomClientAppDetails.
  • client_secret_version_number (int) – The value to assign to the client_secret_version_number property of this CustomClientAppDetails.
client_id

[Required] Gets the client_id of this CustomClientAppDetails. Client ID for the OAuth2/OIDC app.

Returns:The client_id of this CustomClientAppDetails.
Return type:str
client_secret_id

[Required] Gets the client_secret_id of this CustomClientAppDetails. The OCID of the Oracle Vault Service secret resource.

Returns:The client_secret_id of this CustomClientAppDetails.
Return type:str
client_secret_version_number

[Required] Gets the client_secret_version_number of this CustomClientAppDetails. The version number of the client secret to use.

Returns:The client_secret_version_number of this CustomClientAppDetails.
Return type:int
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

type

[Required] Gets the type of this ClientAppDetails. To specify where the Client App details should be taken from.

Allowed values for this property are: “VALIDATION_BLOCK”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this ClientAppDetails.
Return type:str