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
@@ -1111,6 +1112,7 @@ Defines the mechanism used to authenticate users and workflows attempting to acc
1111
1112
| certificate | [`certificateAuthentication`](#certificate-authentication) | `no` | The `certificate` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1112
1113
| digest | [`digestAuthentication`](#digest-authentication) | `no` | The `digest` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1113
1114
| oauth2 | [`oauth2`](#oauth2-authentication) | `no` | The `oauth2` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1115
+
| oidc | [`oidc`](#openidconnect-authentication) | `no` | The `oidc` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1114
1116
1115
1117
##### Examples
1116
1118
@@ -1209,19 +1211,59 @@ do:
1209
1211
1210
1212
#### Digest Authentication
1211
1213
1214
+
Defines the fundamentals of a 'digest' authentication.
1215
+
1216
+
##### Properties
1217
+
1218
+
| Property | Type | Required | Description |
1219
+
|----------|:----:|:--------:|-------------|
1220
+
| username | `string` | `yes` | The username to use. |
1221
+
| password | `string` | `yes` | The password to use. |
1222
+
1223
+
##### Examples
1224
+
1225
+
```yaml
1226
+
document:
1227
+
dsl: '1.0.0-alpha1'
1228
+
namespace: test
1229
+
name: digest-authentication-example
1230
+
version: '0.1.0'
1231
+
use:
1232
+
authentications:
1233
+
sampleDigest:
1234
+
digest:
1235
+
username: admin
1236
+
password: password123
1237
+
do:
1238
+
- sampleTask:
1239
+
call: http
1240
+
with:
1241
+
method: get
1242
+
endpoint:
1243
+
uri: https://secured.fake.com/sample
1244
+
authentication:
1245
+
use: sampleDigest
1246
+
```
1212
1247
1213
1248
#### OAUTH2 Authentication
1214
1249
1215
-
Defines the fundamentals of an 'oauth2' authentication
1250
+
Defines the fundamentals of an 'oauth2' authentication.
1216
1251
1217
1252
##### Properties
1218
1253
1219
-
| Property | Type | Required | Description |
1220
-
|----------|:----:|:--------:|-------------|
1221
-
| authority | [`uri-template`](#uri-template) | `yes` | The URI that references the OAuth2 authority to use. |
1222
-
| grant | `string` | `yes` | The grant type to use. |
1223
-
| client.id | `string` | `yes` | The client id to use. |
1254
+
| Name | Type | Required | Description |
1255
+
|:-----|:----:|:--------:|:------------|
1256
+
| authority | `uri-template` | `yes` | The URI that references the authority to use when making OAuth2 calls. |
1257
+
| endpoints.token | `uri-template` | `no` | The relative path to the endpoint for OAuth2 token requests.<br>Defaults to `/oauth2/token`. |
1258
+
| endpoints.revocation | `uri-template` | `no` | The relative path to the endpoint used to invalidate tokens.<br>Defaults to `/oauth2/revoke`. |
1259
+
| 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`. |
1260
+
| 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`. |
1261
+
| client.id | `string` | `no` | The client id to use.<br>Required if the `client.authentication` method has **not** been set to `none`. |
1224
1262
| client.secret | `string` | `no` | The client secret to use, if any. |
1263
+
| 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`. |
1264
+
| 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`. |
1265
+
| 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. |
1266
+
| issuers | `uri-template[]` | `no` | A list that contains that contains valid issuers that will be used to check against the issuer of generated tokens. |
1225
1267
| scopes | `string[]` | `no` | The scopes, if any, to request the token for. |
1226
1268
| audiences | `string[]` | `no` | The audiences, if any, to request the token for. |
1227
1269
| username | `string` | `no` | The username to use. Used only if the grant type is `Password`. |
@@ -1266,6 +1310,55 @@ Represents the definition of an OAUTH2 token
1266
1310
| token | `string` | `yes` | The security token to use to use. |
1267
1311
| type | `string` | `yes` | The type of security token to use. |
1268
1312
1313
+
#### OpenIdConnect Authentication
1314
+
1315
+
Defines the fundamentals of an 'oidc' authentication.
1316
+
1317
+
##### Properties
1318
+
1319
+
| Name | Type | Required | Description |
1320
+
|:-----|:----:|:--------:|:------------|
1321
+
| authority | `uri-template` | `yes` | The URI that references the authority to use when making OpenIdConnect calls. |
1322
+
| 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`. |
1323
+
| client.id | `string` | `no` | The client id to use.<br>Required if the `client.authentication` method has **not** been set to `none`. |
1324
+
| client.secret | `string` | `no` | The client secret to use, if any. |
1325
+
| 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`. |
1326
+
| 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`. |
1327
+
| 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. |
1328
+
| issuers | `uri-template[]` | `no` | A list that contains that contains valid issuers that will be used to check against the issuer of generated tokens. |
1329
+
| scopes | `string[]` | `no` | The scopes, if any, to request the token for. |
1330
+
| audiences | `string[]` | `no` | The audiences, if any, to request the token for. |
1331
+
| username | `string` | `no` | The username to use. Used only if the grant type is `Password`. |
1332
+
| password | `string` | `no` | The password to use. Used only if the grant type is `Password`. |
1333
+
| subject | [`oauth2Token`](#oauth2-token) | `no` | The security token that represents the identity of the party on behalf of whom the request is being made. |
1334
+
| actor | [`oauth2Token`](#oauth2-token) | `no` | The security token that represents the identity of the acting party. |
0 commit comments