Class CreateConnectionFromOAuth2
The details to create a OAuth2 connection
Inherited Members
Namespace: Oci.DataintegrationService.Models
Assembly: OCI.DotNetSDK.Dataintegration.dll
Syntax
public class CreateConnectionFromOAuth2 : CreateConnectionDetails
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 CreateConnectionFromOAuth2.GrantTypeEnum? GrantType { get; set; }
Property Value
Type | Description |
---|---|
CreateConnectionFromOAuth2.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. |