InboundAuthConfig

class oci.generative_ai.models.InboundAuthConfig(**kwargs)

Bases: object

The inbound authentication configuration for the Hosted Application. Specify the authentication type when creating an application. Omitting this object from an update leaves the current authentication configuration unchanged. Set inboundAuthConfigType to NO_AUTH_CONFIG to explicitly disable platform-managed caller authentication for this application. This mode requires no separate tenancy enrollment. The application is responsible for authenticating and authorizing its callers. TLS, the configured public or private endpoint, service limits, and IAM authorization for management operations still apply. Omit idcsConfig when selecting NO_AUTH_CONFIG.

Attributes:

INBOUND_AUTH_CONFIG_TYPE_IDCS_AUTH_CONFIG

A constant which can be used with the inbound_auth_config_type property of a InboundAuthConfig.

INBOUND_AUTH_CONFIG_TYPE_IDCS_SESSION_AUTH_CONFIG

A constant which can be used with the inbound_auth_config_type property of a InboundAuthConfig.

INBOUND_AUTH_CONFIG_TYPE_NO_AUTH_CONFIG

A constant which can be used with the inbound_auth_config_type property of a InboundAuthConfig.

idcs_config

Gets the idcs_config of this InboundAuthConfig.

inbound_auth_config_type

[Required] Gets the inbound_auth_config_type of this InboundAuthConfig.

Methods:

__init__(**kwargs)

Initializes a new InboundAuthConfig object with values from keyword arguments.

INBOUND_AUTH_CONFIG_TYPE_IDCS_AUTH_CONFIG = 'IDCS_AUTH_CONFIG'

A constant which can be used with the inbound_auth_config_type property of a InboundAuthConfig. This constant has a value of “IDCS_AUTH_CONFIG”

INBOUND_AUTH_CONFIG_TYPE_IDCS_SESSION_AUTH_CONFIG = 'IDCS_SESSION_AUTH_CONFIG'

A constant which can be used with the inbound_auth_config_type property of a InboundAuthConfig. This constant has a value of “IDCS_SESSION_AUTH_CONFIG”

INBOUND_AUTH_CONFIG_TYPE_NO_AUTH_CONFIG = 'NO_AUTH_CONFIG'

A constant which can be used with the inbound_auth_config_type property of a InboundAuthConfig. This constant has a value of “NO_AUTH_CONFIG”

__init__(**kwargs)

Initializes a new InboundAuthConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • inbound_auth_config_type (str) – The value to assign to the inbound_auth_config_type property of this InboundAuthConfig. Allowed values for this property are: “IDCS_AUTH_CONFIG”, “IDCS_SESSION_AUTH_CONFIG”, “NO_AUTH_CONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • idcs_config (oci.generative_ai.models.IdcsAuthConfig) – The value to assign to the idcs_config property of this InboundAuthConfig.

property idcs_config

Gets the idcs_config of this InboundAuthConfig.

Returns

The idcs_config of this InboundAuthConfig.

Return type

oci.generative_ai.models.IdcsAuthConfig

property inbound_auth_config_type

[Required] Gets the inbound_auth_config_type of this InboundAuthConfig. The inbound authentication configuration type for the Hosted Application.

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

Returns

The inbound_auth_config_type of this InboundAuthConfig.

Return type

str