Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DataFactory]Add support OAuth2ClientCredential auth in RestSevice #19247

Merged
merged 5 commits into from
Jun 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2909,7 +2909,8 @@
"Anonymous",
"Basic",
"AadServicePrincipal",
"ManagedServiceIdentity"
"ManagedServiceIdentity",
"OAuth2ClientCredential"
],
"x-ms-enum": {
"name": "RestServiceAuthenticationType",
Expand Down Expand Up @@ -2955,6 +2956,26 @@
"credential": {
"$ref": "../datafactory.json#/definitions/CredentialReference",
"description": "The credential reference containing authentication information."
},
"clientId": {
"type": "object",
"description": "The client ID associated with your application. Type: string (or Expression with resultType string)."
},
"clientSecret": {
"description": "The client secret associated with your application.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"tokenEndpoint": {
"type": "object",
"description": "The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string)."
},
"resource": {
"type": "object",
"description": "The target service or resource to which the access will be requested. Type: string (or Expression with resultType string)."
},
"scope": {
"type": "object",
"description": "The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string)."
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2729,7 +2729,8 @@
"Anonymous",
"Basic",
"AadServicePrincipal",
"ManagedServiceIdentity"
"ManagedServiceIdentity",
"OAuth2ClientCredential"
],
"x-ms-enum": {
"name": "RestServiceAuthenticationType",
Expand Down Expand Up @@ -2767,6 +2768,26 @@
"encryptedCredential": {
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
},
"clientId": {
"type": "object",
"description": "The client ID associated with your application. Type: string (or Expression with resultType string)."
},
"clientSecret": {
"description": "The client secret associated with your application.",
"$ref": "../artifacts.json#/definitions/SecretBase"
},
"tokenEndpoint": {
"type": "object",
"description": "The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string)."
},
"resource": {
"type": "object",
"description": "The target service or resource to which the access will be requested. Type: string (or Expression with resultType string)."
},
"scope": {
"type": "object",
"description": "The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string)."
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2729,7 +2729,8 @@
"Anonymous",
"Basic",
"AadServicePrincipal",
"ManagedServiceIdentity"
"ManagedServiceIdentity",
"OAuth2ClientCredential"
],
"x-ms-enum": {
"name": "RestServiceAuthenticationType",
Expand Down Expand Up @@ -2767,6 +2768,26 @@
"encryptedCredential": {
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
},
"clientId": {
"type": "object",
"description": "The client ID associated with your application. Type: string (or Expression with resultType string)."
},
"clientSecret": {
"description": "The client secret associated with your application.",
"$ref": "../artifacts.json#/definitions/SecretBase"
},
"tokenEndpoint": {
"type": "object",
"description": "The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string)."
},
"resource": {
"type": "object",
"description": "The target service or resource to which the access will be requested. Type: string (or Expression with resultType string)."
},
"scope": {
"type": "object",
"description": "The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string)."
}
},
"required": [
Expand Down