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: artifacts/camara-cloudevents/event-subscription-template.yaml
+27-5
Original file line number
Diff line number
Diff line change
@@ -346,7 +346,9 @@ components:
346
346
- PLAIN
347
347
- ACCESSTOKEN
348
348
- REFRESHTOKEN
349
-
description: "The type of the credential."
349
+
description: |
350
+
The type of the credential.
351
+
Note: Type of the credential - MUST be set to ACCESSTOKEN for now
350
352
discriminator:
351
353
propertyName: credentialType
352
354
mapping:
@@ -384,7 +386,13 @@ components:
384
386
accessTokenExpiresUtc:
385
387
type: string
386
388
format: date-time
387
-
description: REQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired. In the case of an ACCESS_TOKEN_EXPIRED termination reason, implementation should notify the client before the expiration date.
389
+
description: |
390
+
REQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired.
391
+
In the case of an ACCESS_TOKEN_EXPIRED termination reason, implementation should notify the client before the expiration date.
392
+
If the access token is a JWT and registered "exp" (Expiration Time) claim is present, the two expiry times should match.
393
+
It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone.
394
+
Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
395
+
example: "2023-07-03T12:27:08.312Z"
388
396
accessTokenType:
389
397
description: REQUIRED. Type of the access token (See [OAuth 2.0](https://tools.ietf.org/html/rfc6749#section-7.1)).
390
398
type: string
@@ -407,7 +415,13 @@ components:
407
415
accessTokenExpiresUtc:
408
416
type: string
409
417
format: date-time
410
-
description: REQUIRED. An absolute UTC instant at which the token shall be considered expired.
418
+
description: |
419
+
REQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired.
420
+
In the case of an ACCESS_TOKEN_EXPIRED termination reason, implementation should notify the client before the expiration date.
421
+
If the access token is a JWT and registered "exp" (Expiration Time) claim is present, the two expiry times should match.
422
+
It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone.
423
+
Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
424
+
example: "2023-07-03T12:27:08.312Z"
411
425
accessTokenType:
412
426
description: REQUIRED. Type of the access token (See [OAuth 2.0](https://tools.ietf.org/html/rfc6749#section-7.1)).
413
427
type: string
@@ -484,11 +498,19 @@ components:
484
498
startsAt:
485
499
type: string
486
500
format: date-time
487
-
description: Date when the event subscription will begin/began
501
+
description: |
502
+
Date when the event subscription will begin/began
503
+
It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone.
504
+
Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
505
+
example: "2023-07-03T12:27:08.312Z"
488
506
expiresAt:
489
507
type: string
490
508
format: date-time
491
-
description: Date when the event subscription will expire. Only provided when `subscriptionExpireTime` is indicated by API client or Telco Operator has specific policy about that.
509
+
description: |
510
+
Date when the event subscription will expire. Only provided when `subscriptionExpireTime` is indicated by API client or Telco Operator has specific policy about that.
511
+
It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone.
512
+
Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
0 commit comments