IdcsAuthConfig¶
- class oci.generative_ai.models.IdcsAuthConfig(**kwargs)¶
Bases:
objectOracle Identity Cloud Service (IDCS) configuration used when inboundAuthConfigType is set to IDCS_AUTH_CONFIG or IDCS_SESSION_AUTH_CONFIG. This object must be specified when inboundAuthConfigType is IDCS_AUTH_CONFIG or IDCS_SESSION_AUTH_CONFIG. This object must be omitted when inboundAuthConfigType is NO_AUTH_CONFIG. When inboundAuthConfigType is IDCS_SESSION_AUTH_CONFIG, this configuration supports OAuth 2.1 Authorization Code flow with PKCE.
Methods:
__init__(**kwargs)Initializes a new IdcsAuthConfig object with values from keyword arguments.
Attributes:
Gets the audience of this IdcsAuthConfig.
Gets the client_id of this IdcsAuthConfig.
Gets the client_secret_vault_id of this IdcsAuthConfig.
[Required] Gets the domain_url of this IdcsAuthConfig.
[Required] Gets the scope of this IdcsAuthConfig.
- __init__(**kwargs)¶
Initializes a new IdcsAuthConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
domain_url (str) – The value to assign to the domain_url property of this IdcsAuthConfig.
scope (str) – The value to assign to the scope property of this IdcsAuthConfig.
audience (str) – The value to assign to the audience property of this IdcsAuthConfig.
client_id (str) – The value to assign to the client_id property of this IdcsAuthConfig.
client_secret_vault_id (str) – The value to assign to the client_secret_vault_id property of this IdcsAuthConfig.
- property audience¶
Gets the audience of this IdcsAuthConfig. Audience for IDCS.
- Returns
The audience of this IdcsAuthConfig.
- Return type
str
- property client_id¶
Gets the client_id of this IdcsAuthConfig. Optional OAuth client ID for the IDCS application. Applicable only when inboundAuthConfigType is IDCS_SESSION_AUTH_CONFIG.
- Returns
The client_id of this IdcsAuthConfig.
- Return type
str
- property client_secret_vault_id¶
Gets the client_secret_vault_id of this IdcsAuthConfig. Optional OCI Vault secret OCID containing the OAuth client secret. Applicable only when inboundAuthConfigType is IDCS_SESSION_AUTH_CONFIG.
- Returns
The client_secret_vault_id of this IdcsAuthConfig.
- Return type
str
- property domain_url¶
[Required] Gets the domain_url of this IdcsAuthConfig. Domain URL for IDCS.
- Returns
The domain_url of this IdcsAuthConfig.
- Return type
str
- property scope¶
[Required] Gets the scope of this IdcsAuthConfig. Scope for IDCS.
- Returns
The scope of this IdcsAuthConfig.
- Return type
str