Show / Hide Table of Contents

Class ConnectionFromOAuth2

The connection details for a OAuth connection.

Inheritance
object
Connection
ConnectionFromOAuth2
Inherited Members
Connection.Key
Connection.ModelVersion
Connection.ParentRef
Connection.Name
Connection.Description
Connection.ObjectVersion
Connection.ObjectStatus
Connection.Identifier
Connection.PrimarySchema
Connection.ConnectionProperties
Connection.IsDefault
Connection.Metadata
Connection.KeyMap
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 ConnectionFromOAuth2 : Connection

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(ResponseEnumConverter))]
public ConnectionFromOAuth2.GrantTypeEnum? GrantType { get; set; }
Property Value
Type Description
ConnectionFromOAuth2.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