Class UpdateConnectionFromOAuth2
The details to update a OAuth connection.
Inherited Members
Namespace: Oci.DataintegrationService.Models
Assembly: OCI.DotNetSDK.Dataintegration.dll
Syntax
public class UpdateConnectionFromOAuth2 : UpdateConnectionDetails
Properties
AccessTokenUrl
Declaration
[Required(ErrorMessage = "AccessTokenUrl is required.")]
[JsonProperty(PropertyName = "accessTokenUrl")]
public string AccessTokenUrl { get; set; }
Property Value
Type | Description |
---|---|
string | Specifies the endpoint used to exchange authentication credentials for access tokens |
Remarks
Required
ClientId
Declaration
[JsonProperty(PropertyName = "clientId")]
public string ClientId { get; set; }
Property Value
Type | Description |
---|---|
string | Specifies the client ID key for specific application |
ClientSecret
Declaration
[JsonProperty(PropertyName = "clientSecret")]
public SensitiveAttribute ClientSecret { get; set; }
Property Value
Type | Description |
---|---|
SensitiveAttribute |
GrantType
Declaration
[JsonProperty(PropertyName = "grantType")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateConnectionFromOAuth2.GrantTypeEnum? GrantType { get; set; }
Property Value
Type | Description |
---|---|
UpdateConnectionFromOAuth2.GrantTypeEnum? | Specifies the OAuth2 grant mechanism. Example CLIENT_CREDENTIALS, Implicit Flow etc. |
Scope
Declaration
[JsonProperty(PropertyName = "scope")]
public string Scope { get; set; }
Property Value
Type | Description |
---|---|
string | Specifies the OAuth scopes that limit the permissions granted by an access token. |