You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dsl-reference.md
+100-7Lines changed: 100 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@
37
37
-[Certificate](#certificate-authentication)
38
38
-[Digest](#digest-authentication)
39
39
-[OAUTH2](#oauth2-authentication)
40
+
-[OpenIdConnect](#openidconnect-authentication)
40
41
+[Extension](#extension)
41
42
+[Error](#error)
42
43
-[Standard Error Types](#standard-error-types)
@@ -1107,6 +1108,7 @@ Defines the mechanism used to authenticate users and workflows attempting to acc
1107
1108
| certificate | [`certificateAuthentication`](#certificate-authentication) | `no` | The `certificate` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1108
1109
| digest | [`digestAuthentication`](#digest-authentication) | `no` | The `digest` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1109
1110
| oauth2 | [`oauth2`](#oauth2-authentication) | `no` | The `oauth2` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1111
+
| oidc | [`oidc`](#openidconnect-authentication) | `no` | The `oidc` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1110
1112
1111
1113
##### Examples
1112
1114
@@ -1205,19 +1207,59 @@ do:
1205
1207
1206
1208
#### Digest Authentication
1207
1209
1210
+
Defines the fundamentals of a 'digest' authentication.
1211
+
1212
+
##### Properties
1213
+
1214
+
| Property | Type | Required | Description |
1215
+
|----------|:----:|:--------:|-------------|
1216
+
| username | `string` | `yes` | The username to use. |
1217
+
| password | `string` | `yes` | The password to use. |
1218
+
1219
+
##### Examples
1220
+
1221
+
```yaml
1222
+
document:
1223
+
dsl: '1.0.0-alpha1'
1224
+
namespace: test
1225
+
name: digest-authentication-example
1226
+
version: '0.1.0'
1227
+
use:
1228
+
authentications:
1229
+
sampleDigest:
1230
+
digest:
1231
+
username: admin
1232
+
password: password123
1233
+
do:
1234
+
- sampleTask:
1235
+
call: http
1236
+
with:
1237
+
method: get
1238
+
endpoint:
1239
+
uri: https://secured.fake.com/sample
1240
+
authentication:
1241
+
use: sampleDigest
1242
+
```
1208
1243
1209
1244
#### OAUTH2 Authentication
1210
1245
1211
-
Defines the fundamentals of an 'oauth2' authentication
1246
+
Defines the fundamentals of an 'oauth2' authentication.
1212
1247
1213
1248
##### Properties
1214
1249
1215
-
| Property | Type | Required | Description |
1216
-
|----------|:----:|:--------:|-------------|
1217
-
| authority | [`uri-template`](#uri-template) | `yes` | The URI that references the OAuth2 authority to use. |
1218
-
| grant | `string` | `yes` | The grant type to use. |
1219
-
| client.id | `string` | `yes` | The client id to use. |
1250
+
| Name | Type | Required | Description |
1251
+
|:-----|:----:|:--------:|:------------|
1252
+
| authority | `uri-template` | `yes` | The URI that references the authority to use when making OAUTH2 calls. |
1253
+
| endpoints.token | `uri-template` | `no` | The relative path to the endpoint for OAUTH2 token requests.<br>Defaults to `/oauth2/token`. |
1254
+
| endpoints.revocation | `uri-template` | `no` | The relative path to the endpoint used to invalidate tokens.<br>Defaults to `/oauth2/revoke`. |
1255
+
| endpoints.introspection | `uri-template` | `no` | The relative path to the endpoint used to validate and obtain information about a token, typically to check its validity and associated metadata.<br>Defaults to `/oauth2/introspect`. |
1256
+
| grant | `string` | `yes` | The grant type to use.<br>Supported values are `authorization_code`, `client_credentials`, `password`, `refresh_token` and `urn:ietf:params:oauth:grant-type:token-exchange`. |
1257
+
| client.id | `string` | `no` | The client id to use.<br>Required if the `client.authentication` method has **not** been set to `none`. |
1220
1258
| client.secret | `string` | `no` | The client secret to use, if any. |
1259
+
| client.assertion | `string` | `no` | A JWT containing a signed assertion with your application credentials.<br>Required when `client.authentication` has been set to `private_key_jwt`. |
1260
+
| client.authentication | `string` | `no` | The client authentication method to use.<br>Supported values are `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt` or `none`.<br>Defaults to `client_secret_post`. |
1261
+
| request.encoding | `string` | `no` | The encoding of the token request.<br>Supported values are `application/x-www-form-urlencoded` and `application/json`.<br>Defaults to application/x-www-form-urlencoded. |
1262
+
| issuers | `uri-template[]` | `no` | A list that contains that contains valid issuers that will be used to check against the issuer of generated tokens. |
1221
1263
| scopes | `string[]` | `no` | The scopes, if any, to request the token for. |
1222
1264
| audiences | `string[]` | `no` | The audiences, if any, to request the token for. |
1223
1265
| username | `string` | `no` | The username to use. Used only if the grant type is `Password`. |
@@ -1262,6 +1306,55 @@ Represents the definition of an OAUTH2 token
1262
1306
| token | `string` | `yes` | The security token to use to use. |
1263
1307
| type | `string` | `yes` | The type of security token to use. |
1264
1308
1309
+
#### OpenIdConnect Authentication
1310
+
1311
+
Defines the fundamentals of an 'oidc' authentication.
1312
+
1313
+
##### Properties
1314
+
1315
+
| Name | Type | Required | Description |
1316
+
|:-----|:----:|:--------:|:------------|
1317
+
| authority | `uri-template` | `yes` | The URI that references the authority to use when making OpenIdConnect calls. |
1318
+
| grant | `string` | `yes` | The grant type to use.<br>Supported values are `authorization_code`, `client_credentials`, `password`, `refresh_token` and `urn:ietf:params:oauth:grant-type:token-exchange`. |
1319
+
| client.id | `string` | `no` | The client id to use.<br>Required if the `client.authentication` method has **not** been set to `none`. |
1320
+
| client.secret | `string` | `no` | The client secret to use, if any. |
1321
+
| client.assertion | `string` | `no` | A JWT containing a signed assertion with your application credentials.<br>Required when `client.authentication` has been set to `private_key_jwt`. |
1322
+
| client.authentication | `string` | `no` | The client authentication method to use.<br>Supported values are `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt` or `none`.<br>Defaults to `client_secret_post`. |
1323
+
| request.encoding | `string` | `no` | The encoding of the token request.<br>Supported values are `application/x-www-form-urlencoded` and `application/json`.<br>Defaults to application/x-www-form-urlencoded. |
1324
+
| issuers | `uri-template[]` | `no` | A list that contains that contains valid issuers that will be used to check against the issuer of generated tokens. |
1325
+
| scopes | `string[]` | `no` | The scopes, if any, to request the token for. |
1326
+
| audiences | `string[]` | `no` | The audiences, if any, to request the token for. |
1327
+
| username | `string` | `no` | The username to use. Used only if the grant type is `Password`. |
1328
+
| password | `string` | `no` | The password to use. Used only if the grant type is `Password`. |
1329
+
| subject | [`oauth2Token`](#oauth2-token) | `no` | The security token that represents the identity of the party on behalf of whom the request is being made. |
1330
+
| actor | [`oauth2Token`](#oauth2-token) | `no` | The security token that represents the identity of the acting party. |
0 commit comments