Show / Hide Table of Contents

Class CreateConnectionFromOAuth2

The details to create a OAuth2 connection

Inheritance
object
CreateConnectionDetails
CreateConnectionFromOAuth2
Inherited Members
CreateConnectionDetails.Key
CreateConnectionDetails.ModelVersion
CreateConnectionDetails.ParentRef
CreateConnectionDetails.Name
CreateConnectionDetails.Description
CreateConnectionDetails.ObjectStatus
CreateConnectionDetails.Identifier
CreateConnectionDetails.ConnectionProperties
CreateConnectionDetails.RegistryMetadata
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

In this article
Back to top