Class HttpEndpointIdcsAuthScopeConfig
Specifies authentication using Oracle Identity Cloud Service (IDCS), leveraging OAuth 2.0 Client Credentials grant type.
- Only supported with
authScope = AGENT
.
Inherited Members
Namespace: Oci.GenerativeaiagentService.Models
Assembly: OCI.DotNetSDK.Generativeaiagent.dll
Syntax
public class HttpEndpointIdcsAuthScopeConfig : HttpEndpointAuthScopeConfig
Properties
ClientId
Declaration
[Required(ErrorMessage = "ClientId is required.")]
[JsonProperty(PropertyName = "clientId")]
public string ClientId { get; set; }
Property Value
Type | Description |
---|---|
string | IDCS client ID. |
Remarks
Required
IdcsUrl
Declaration
[Required(ErrorMessage = "IdcsUrl is required.")]
[JsonProperty(PropertyName = "idcsUrl")]
public string IdcsUrl { get; set; }
Property Value
Type | Description |
---|---|
string | IDCS OpenID discovery endpoint. |
Remarks
Required
ScopeUrl
Declaration
[Required(ErrorMessage = "ScopeUrl is required.")]
[JsonProperty(PropertyName = "scopeUrl")]
public string ScopeUrl { get; set; }
Property Value
Type | Description |
---|---|
string | OAuth2 scopes for token generation. |
Remarks
Required
VaultSecretId
Declaration
[Required(ErrorMessage = "VaultSecretId is required.")]
[JsonProperty(PropertyName = "vaultSecretId")]
public string VaultSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | Vault secret OCID containing the client secret. |
Remarks
Required